Struct stm32_metapac::dsihost::regs::Lpmcr
#[repr(transparent)]pub struct Lpmcr(pub u32);
Expand description
DSI Host low-power mode configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Lpmcr
impl Lpmcr
pub const fn vlpsize(&self) -> u8
pub const fn vlpsize(&self) -> u8
VACT largest packet size This field is used for the transmission of commands in low-power mode. It defines the size, in bytes, of the largest packet that can fit in a line during VACT regions.
pub fn set_vlpsize(&mut self, val: u8)
pub fn set_vlpsize(&mut self, val: u8)
VACT largest packet size This field is used for the transmission of commands in low-power mode. It defines the size, in bytes, of the largest packet that can fit in a line during VACT regions.
pub const fn lpsize(&self) -> u8
pub const fn lpsize(&self) -> u8
Largest packet size This field is used for the transmission of commands in low-power mode. It defines the size, in bytes, of the largest packet that can fit in a line during VSA, VBP and VFP regions.
pub fn set_lpsize(&mut self, val: u8)
pub fn set_lpsize(&mut self, val: u8)
Largest packet size This field is used for the transmission of commands in low-power mode. It defines the size, in bytes, of the largest packet that can fit in a line during VSA, VBP and VFP regions.
Trait Implementations§
impl Copy for Lpmcr
impl Eq for Lpmcr
impl StructuralPartialEq for Lpmcr
Auto Trait Implementations§
impl Freeze for Lpmcr
impl RefUnwindSafe for Lpmcr
impl Send for Lpmcr
impl Sync for Lpmcr
impl Unpin for Lpmcr
impl UnwindSafe for Lpmcr
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
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)
clone_to_uninit
)