#[repr(u8)]pub enum DataSize {
Show 13 variants
D4 = 3,
D5 = 4,
D6 = 5,
D7 = 6,
D8 = 7,
D9 = 8,
D10 = 9,
D11 = 10,
D12 = 11,
D13 = 12,
D14 = 13,
D15 = 14,
D16 = 15,
}
Expand description
These bits configure the data length for SPI transfers. Sets SPI_CR2
register, DS
field.
Variants§
D4 = 3
D5 = 4
D6 = 5
D7 = 6
D8 = 7
D9 = 8
D10 = 9
D11 = 10
D12 = 11
D13 = 12
D14 = 13
D15 = 14
D16 = 15
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSize
impl RefUnwindSafe for DataSize
impl Send for DataSize
impl Sync for DataSize
impl Unpin for DataSize
impl UnwindSafe for DataSize
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