Struct stm32_metapac::dsihost::regs::Pconfr
#[repr(transparent)]pub struct Pconfr(pub u32);
Expand description
DSI Host PHY configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Pconfr
impl Pconfr
pub const fn nl(&self) -> u8
pub const fn nl(&self) -> u8
Number of lanes This field configures the number of active data lanes: Others: Reserved.
pub fn set_nl(&mut self, val: u8)
pub fn set_nl(&mut self, val: u8)
Number of lanes This field configures the number of active data lanes: Others: Reserved.
pub const fn sw_time(&self) -> u8
pub const fn sw_time(&self) -> u8
Stop wait time This field configures the minimum wait period to request a high-speed transmission after the Stop state.
pub fn set_sw_time(&mut self, val: u8)
pub fn set_sw_time(&mut self, val: u8)
Stop wait time This field configures the minimum wait period to request a high-speed transmission after the Stop state.
Trait Implementations§
impl Copy for Pconfr
impl Eq for Pconfr
impl StructuralPartialEq for Pconfr
Auto Trait Implementations§
impl Freeze for Pconfr
impl RefUnwindSafe for Pconfr
impl Send for Pconfr
impl Sync for Pconfr
impl Unpin for Pconfr
impl UnwindSafe for Pconfr
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
)