Struct stm32_metapac::dsihost::regs::Tccr4
#[repr(transparent)]pub struct Tccr4(pub u32);
Expand description
DSI Host timeout counter configuration register 4.
Tuple Fields§
§0: u32
Implementations§
§impl Tccr4
impl Tccr4
pub const fn lpwr_tocnt(&self) -> u16
pub const fn lpwr_tocnt(&self) -> u16
Low-power write timeout counter This field sets a period for which the DSI Host keeps the link still, after sending a low-power write operation. This period is measured in cycles of lanebyteclk. The counting starts when the D-PHY enters the Stop state and causes no interrupts.
pub fn set_lpwr_tocnt(&mut self, val: u16)
pub fn set_lpwr_tocnt(&mut self, val: u16)
Low-power write timeout counter This field sets a period for which the DSI Host keeps the link still, after sending a low-power write operation. This period is measured in cycles of lanebyteclk. The counting starts when the D-PHY enters the Stop state and causes no interrupts.
Trait Implementations§
impl Copy for Tccr4
impl Eq for Tccr4
impl StructuralPartialEq for Tccr4
Auto Trait Implementations§
impl Freeze for Tccr4
impl RefUnwindSafe for Tccr4
impl Send for Tccr4
impl Sync for Tccr4
impl Unpin for Tccr4
impl UnwindSafe for Tccr4
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
)