#[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 with external clock
USART_INT_CLK
1: USART with internal clock
SPI_SLAVE
2: SPI in slave operation
SPI_MASTER
3: SPI in master operation
I2C_SLAVE
4: I2C slave operation
I2C_MASTER
5: I2C master operation
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