#[repr(u8)]
pub enum CSMODE_A {
NORELOAD,
LASTXFER,
SYSTEMATICALLY,
}
Expand description
Chip Select Mode
Value on reset: 0
Variants
NORELOAD
0: The chip select is deasserted if TD has not been reloaded before the end of the current transfer.
LASTXFER
1: The chip select is deasserted when the bit LASTXFER is written at 1 and the character written in TD has been transferred.
SYSTEMATICALLY
2: The chip select is deasserted systematically after each transfer.
Trait Implementations
impl Copy for CSMODE_A
impl StructuralPartialEq for CSMODE_A
Auto Trait Implementations
impl RefUnwindSafe for CSMODE_A
impl Send for CSMODE_A
impl Sync for CSMODE_A
impl Unpin for CSMODE_A
impl UnwindSafe for CSMODE_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