#[repr(u8)]
pub enum MODE_A {
USART_EXT_CLK,
USART_INT_CLK,
SPI_SLAVE,
SPI_MASTER,
I2C_SLAVE,
I2C_MASTER,
}
Expand description
Operating Mode
Value on reset: 0
Variants
USART_EXT_CLK
0: USART mode with external clock
USART_INT_CLK
1: USART mode with internal clock
SPI_SLAVE
2: SPI mode with external clock
SPI_MASTER
3: SPI mode with internal clock
I2C_SLAVE
4: I2C mode with external clock
I2C_MASTER
5: I2C mode with internal clock
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more