Struct stm32_metapac::octospi::regs::Hlcr
#[repr(transparent)]pub struct Hlcr(pub u32);
Expand description
OCTOSPI HyperBus latency configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Hlcr
impl Hlcr
pub const fn lm(&self) -> LatencyMode
pub const fn lm(&self) -> LatencyMode
Latency mode. This bit selects the Latency mode.
pub fn set_lm(&mut self, val: LatencyMode)
pub fn set_lm(&mut self, val: LatencyMode)
Latency mode. This bit selects the Latency mode.
pub const fn wzl(&self) -> bool
pub const fn wzl(&self) -> bool
Write zero latency. This bit enables zero latency on write operations.
pub fn set_wzl(&mut self, val: bool)
pub fn set_wzl(&mut self, val: bool)
Write zero latency. This bit enables zero latency on write operations.
pub const fn tacc(&self) -> u8
pub const fn tacc(&self) -> u8
7: 0]: Access time. Device access time expressed in number of communication clock cycles
pub fn set_tacc(&mut self, val: u8)
pub fn set_tacc(&mut self, val: u8)
7: 0]: Access time. Device access time expressed in number of communication clock cycles
Trait Implementations§
impl Copy for Hlcr
impl Eq for Hlcr
impl StructuralPartialEq for Hlcr
Auto Trait Implementations§
impl Freeze for Hlcr
impl RefUnwindSafe for Hlcr
impl Send for Hlcr
impl Sync for Hlcr
impl Unpin for Hlcr
impl UnwindSafe for Hlcr
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
)