#[repr(transparent)]pub struct Ctrlr0(pub u32);
Expand description
Control register 0
Tuple Fields§
§0: u32
Implementations§
source§impl Ctrlr0
impl Ctrlr0
sourcepub fn set_slv_oe(&mut self, val: bool)
pub fn set_slv_oe(&mut self, val: bool)
Slave output enable
sourcepub const fn dfs_32(&self) -> u8
pub const fn dfs_32(&self) -> u8
Data frame size in 32b transfer mode Value of n -> n+1 clocks per frame.
sourcepub fn set_dfs_32(&mut self, val: u8)
pub fn set_dfs_32(&mut self, val: u8)
Data frame size in 32b transfer mode Value of n -> n+1 clocks per frame.
sourcepub fn set_spi_frf(&mut self, val: SpiFrf)
pub fn set_spi_frf(&mut self, val: SpiFrf)
SPI frame format
Trait Implementations§
impl Copy for Ctrlr0
impl Eq for Ctrlr0
impl StructuralPartialEq for Ctrlr0
Auto Trait Implementations§
impl Freeze for Ctrlr0
impl RefUnwindSafe for Ctrlr0
impl Send for Ctrlr0
impl Sync for Ctrlr0
impl Unpin for Ctrlr0
impl UnwindSafe for Ctrlr0
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)