#[repr(u8)]pub enum Csmodeselect {
Noreload = 0,
Lastxfer = 1,
Systematically = 2,
}
Expand description
Chip Select Mode
Value on reset: 0
Variants§
Noreload = 0
0: The chip select is deasserted if TD has not been reloaded before the end of the current transfer.
Lastxfer = 1
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
2: The chip select is deasserted systematically after each transfer.
Trait Implementations§
Source§impl Clone for Csmodeselect
impl Clone for Csmodeselect
Source§fn clone(&self) -> Csmodeselect
fn clone(&self) -> Csmodeselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Csmodeselect
impl Debug for Csmodeselect
Source§impl From<Csmodeselect> for u8
impl From<Csmodeselect> for u8
Source§fn from(variant: Csmodeselect) -> Self
fn from(variant: Csmodeselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Csmodeselect
impl PartialEq for Csmodeselect
impl Copy for Csmodeselect
impl Eq for Csmodeselect
impl IsEnum for Csmodeselect
impl StructuralPartialEq for Csmodeselect
Auto Trait Implementations§
impl Freeze for Csmodeselect
impl RefUnwindSafe for Csmodeselect
impl Send for Csmodeselect
impl Sync for Csmodeselect
impl Unpin for Csmodeselect
impl UnwindSafe for Csmodeselect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more