Struct stm32_metapac::dsihost::regs::Vnpcr
#[repr(transparent)]pub struct Vnpcr(pub u32);
Expand description
DSI Host video null packet configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Vnpcr
impl Vnpcr
pub const fn npsize(&self) -> u16
pub const fn npsize(&self) -> u16
Null packet size This field configures the number of bytes inside a null packet. Setting to 0 disables the null packets.
pub fn set_npsize(&mut self, val: u16)
pub fn set_npsize(&mut self, val: u16)
Null packet size This field configures the number of bytes inside a null packet. Setting to 0 disables the null packets.
Trait Implementations§
impl Copy for Vnpcr
impl Eq for Vnpcr
impl StructuralPartialEq for Vnpcr
Auto Trait Implementations§
impl Freeze for Vnpcr
impl RefUnwindSafe for Vnpcr
impl Send for Vnpcr
impl Sync for Vnpcr
impl Unpin for Vnpcr
impl UnwindSafe for Vnpcr
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
)