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 teare(&self) -> bool
pub const fn teare(&self) -> bool
Tearing effect acknowledge request enable This bit enables the tearing effect acknowledge request:.
pub const fn set_teare(&mut self, val: bool)
pub const fn set_teare(&mut self, val: bool)
Tearing effect acknowledge request enable This bit enables the tearing effect acknowledge request:.
pub const fn are(&self) -> bool
pub const fn are(&self) -> bool
Acknowledge request enable This bit enables the acknowledge request after each packet transmission:.
pub const fn set_are(&mut self, val: bool)
pub const fn set_are(&mut self, val: bool)
Acknowledge request enable This bit enables the acknowledge request after each packet transmission:.
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 glwtx(&self) -> bool
pub const fn glwtx(&self) -> bool
Generic long write transmission This bit configures the generic long write packet command transmission type :.
pub const fn set_glwtx(&mut self, val: bool)
pub const fn set_glwtx(&mut self, val: bool)
Generic long write transmission This bit configures the generic long write packet command transmission type :.
pub const fn dsw0tx(&self) -> bool
pub const fn dsw0tx(&self) -> bool
DCS short write zero parameter transmission This bit configures the DCS short write packet with zero parameter command transmission type:.
pub const fn set_dsw0tx(&mut self, val: bool)
pub const fn set_dsw0tx(&mut self, val: bool)
DCS short write zero parameter transmission This bit configures the DCS short write packet with zero parameter command transmission type:.
pub const fn dsw1tx(&self) -> bool
pub const fn dsw1tx(&self) -> bool
DCS short write one parameter transmission This bit configures the DCS short write packet with one parameter command transmission type:.
pub const fn set_dsw1tx(&mut self, val: bool)
pub const fn set_dsw1tx(&mut self, val: bool)
DCS short write one parameter transmission This bit configures the DCS short write packet with one parameter command transmission type:.
pub const fn dsr0tx(&self) -> bool
pub const fn dsr0tx(&self) -> bool
DCS short read zero parameter transmission This bit configures the DCS short read packet with zero parameter command transmission type:.
pub const fn set_dsr0tx(&mut self, val: bool)
pub const fn set_dsr0tx(&mut self, val: bool)
DCS short read zero parameter transmission This bit configures the DCS short read packet with zero parameter command transmission type:.
pub const fn dlwtx(&self) -> bool
pub const fn dlwtx(&self) -> bool
DCS long write transmission This bit configures the DCS long write packet command transmission type:.
pub const fn set_dlwtx(&mut self, val: bool)
pub const fn set_dlwtx(&mut self, val: bool)
DCS long write transmission This bit configures the DCS long write packet command transmission type:.