Struct stm32_metapac::dsihost::regs::Vccr
#[repr(transparent)]pub struct Vccr(pub u32);
Expand description
DSI Host video chunks configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Vccr
impl Vccr
pub const fn numc(&self) -> u16
pub const fn numc(&self) -> u16
Number of chunks This register configures the number of chunks to be transmitted during a line period (a chunk consists of a video packet and a null packet). If set to 0 or 1, the video line is transmitted in a single packet. If set to 1, the packet is part of a chunk, so a null packet follows it if NPSIZE > 0. Otherwise, multiple chunks are used to transmit each video line.
pub fn set_numc(&mut self, val: u16)
pub fn set_numc(&mut self, val: u16)
Number of chunks This register configures the number of chunks to be transmitted during a line period (a chunk consists of a video packet and a null packet). If set to 0 or 1, the video line is transmitted in a single packet. If set to 1, the packet is part of a chunk, so a null packet follows it if NPSIZE > 0. Otherwise, multiple chunks are used to transmit each video line.
Trait Implementations§
impl Copy for Vccr
impl Eq for Vccr
impl StructuralPartialEq for Vccr
Auto Trait Implementations§
impl Freeze for Vccr
impl RefUnwindSafe for Vccr
impl Send for Vccr
impl Sync for Vccr
impl Unpin for Vccr
impl UnwindSafe for Vccr
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
)