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