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.