Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
control register
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn muxen(&self) -> bool
pub const fn muxen(&self) -> bool
Multiplexed mode enable. This bit enables the multiplexing of the two OCTOSPIs over the same bus. Time-multiplexed mode is not supported on STM32L4R/L4S.
pub const fn set_muxen(&mut self, val: bool)
pub const fn set_muxen(&mut self, val: bool)
Multiplexed mode enable. This bit enables the multiplexing of the two OCTOSPIs over the same bus. Time-multiplexed mode is not supported on STM32L4R/L4S.
pub const fn req2ack_time(&self) -> u8
pub const fn req2ack_time(&self) -> u8
REQ to ACK time. In multiplexed mode (MUXEN = 1), this field defines the time between two transactions. The value is the number of OCTOSPI clock cycles - 1.
pub const fn set_req2ack_time(&mut self, val: u8)
pub const fn set_req2ack_time(&mut self, val: u8)
REQ to ACK time. In multiplexed mode (MUXEN = 1), this field defines the time between two transactions. The value is the number of OCTOSPI clock cycles - 1.
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnsafeUnpin for Cr
impl UnwindSafe for Cr
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