Struct stm32_metapac::dsihost::regs::Ccr
#[repr(transparent)]pub struct Ccr(pub u32);
Expand description
DSI Host clock control register.
Tuple Fields§
§0: u32
Implementations§
§impl Ccr
impl Ccr
pub const fn txeckdiv(&self) -> u8
pub const fn txeckdiv(&self) -> u8
TX escape clock division This field indicates the division factor for the TX escape clock source (lanebyteclk). The values 0 and 1 stop the TX_ESC clock generation.
pub fn set_txeckdiv(&mut self, val: u8)
pub fn set_txeckdiv(&mut self, val: u8)
TX escape clock division This field indicates the division factor for the TX escape clock source (lanebyteclk). The values 0 and 1 stop the TX_ESC clock generation.
pub const fn tockdiv(&self) -> u8
pub const fn tockdiv(&self) -> u8
Timeout clock division This field indicates the division factor for the timeout clock used as the timing unit in the configuration of HS to LP and LP to HS transition error.
pub fn set_tockdiv(&mut self, val: u8)
pub fn set_tockdiv(&mut self, val: u8)
Timeout clock division This field indicates the division factor for the timeout clock used as the timing unit in the configuration of HS to LP and LP to HS transition error.
Trait Implementations§
impl Copy for Ccr
impl Eq for Ccr
impl StructuralPartialEq for Ccr
Auto Trait Implementations§
impl Freeze for Ccr
impl RefUnwindSafe for Ccr
impl Send for Ccr
impl Sync for Ccr
impl Unpin for Ccr
impl UnwindSafe for Ccr
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
)