Struct stm32_metapac::dsihost::regs::Tccr2
#[repr(transparent)]pub struct Tccr2(pub u32);
Expand description
DSI Host timeout counter configuration register 2.
Tuple Fields§
§0: u32
Implementations§
§impl Tccr2
impl Tccr2
pub const fn lprd_tocnt(&self) -> u16
pub const fn lprd_tocnt(&self) -> u16
Low-power read timeout counter This field sets a period for which the DSI Host keeps the link still, after sending a low-power read 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_lprd_tocnt(&mut self, val: u16)
pub fn set_lprd_tocnt(&mut self, val: u16)
Low-power read timeout counter This field sets a period for which the DSI Host keeps the link still, after sending a low-power read 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 Tccr2
impl Eq for Tccr2
impl StructuralPartialEq for Tccr2
Auto Trait Implementations§
impl Freeze for Tccr2
impl RefUnwindSafe for Tccr2
impl Send for Tccr2
impl Sync for Tccr2
impl Unpin for Tccr2
impl UnwindSafe for Tccr2
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
)