Struct Cmcr
#[repr(transparent)]pub struct Cmcr(pub u32);Expand description
DSI Host Command mode Configuration Register.
Tuple Fields§
§0: u32Implementations§
§impl Cmcr
impl Cmcr
pub const fn gswtx(&self, n: usize) -> bool
pub const fn gswtx(&self, n: usize) -> bool
Generic short write x parameters transmission (x = 0, 1, 2). Configures the transmission type (0: high-speed, 1: low-power) of generic short write packets with x parameters.
pub const fn set_gswtx(&mut self, n: usize, val: bool)
pub const fn set_gswtx(&mut self, n: usize, val: bool)
Generic short write x parameters transmission (x = 0, 1, 2). Configures the transmission type (0: high-speed, 1: low-power) of generic short write packets with x parameters.
pub const fn gsrtx(&self, n: usize) -> bool
pub const fn gsrtx(&self, n: usize) -> bool
Generic short read x parameters transmission (x = 0, 1, 2). Configures the transmission type (0: high-speed, 1: low-power) of generic short read packets with x parameters.
pub const fn set_gsrtx(&mut self, n: usize, val: bool)
pub const fn set_gsrtx(&mut self, n: usize, val: bool)
Generic short read x parameters transmission (x = 0, 1, 2). Configures the transmission type (0: high-speed, 1: low-power) of generic short read packets with x parameters.
pub const fn set_dsw0tx(&mut self, val: bool)
pub const fn set_dsw0tx(&mut self, val: bool)
DCS Short Write Zero parameter Transmission.
pub const fn set_dsw1tx(&mut self, val: bool)
pub const fn set_dsw1tx(&mut self, val: bool)
DCS Short Write One parameter Transmission.
pub const fn set_dsr0tx(&mut self, val: bool)
pub const fn set_dsr0tx(&mut self, val: bool)
DCS Short Read Zero parameter Transmission.