Struct stm32_metapac::dsihost::regs::Cmcr
#[repr(transparent)]pub struct Cmcr(pub u32);
Expand description
DSI Host command mode configuration register.
Tuple Fields§
§0: u32
Implementations§
§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 fn set_teare(&mut self, val: bool)
pub 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 fn set_are(&mut self, val: bool)
pub fn set_are(&mut self, val: bool)
Acknowledge request enable This bit enables the acknowledge request after each packet transmission:.
pub const fn gsw0tx(&self) -> bool
pub const fn gsw0tx(&self) -> bool
Generic short write zero parameters transmission This bit configures the generic short write packet with zero parameters command transmission type:.
pub fn set_gsw0tx(&mut self, val: bool)
pub fn set_gsw0tx(&mut self, val: bool)
Generic short write zero parameters transmission This bit configures the generic short write packet with zero parameters command transmission type:.
pub const fn gsw1tx(&self) -> bool
pub const fn gsw1tx(&self) -> bool
Generic short write one parameters transmission This bit configures the generic short write packet with one parameters command transmission type:.
pub fn set_gsw1tx(&mut self, val: bool)
pub fn set_gsw1tx(&mut self, val: bool)
Generic short write one parameters transmission This bit configures the generic short write packet with one parameters command transmission type:.
pub const fn gsw2tx(&self) -> bool
pub const fn gsw2tx(&self) -> bool
Generic short write two parameters transmission This bit configures the generic short write packet with two parameters command transmission type:.
pub fn set_gsw2tx(&mut self, val: bool)
pub fn set_gsw2tx(&mut self, val: bool)
Generic short write two parameters transmission This bit configures the generic short write packet with two parameters command transmission type:.
pub const fn gsr0tx(&self) -> bool
pub const fn gsr0tx(&self) -> bool
Generic short read zero parameters transmission This bit configures the generic short read packet with zero parameters command transmission type:.
pub fn set_gsr0tx(&mut self, val: bool)
pub fn set_gsr0tx(&mut self, val: bool)
Generic short read zero parameters transmission This bit configures the generic short read packet with zero parameters command transmission type:.
pub const fn gsr1tx(&self) -> bool
pub const fn gsr1tx(&self) -> bool
Generic short read one parameters transmission This bit configures the generic short read packet with one parameters command transmission type:.
pub fn set_gsr1tx(&mut self, val: bool)
pub fn set_gsr1tx(&mut self, val: bool)
Generic short read one parameters transmission This bit configures the generic short read packet with one parameters command transmission type:.
pub const fn gsr2tx(&self) -> bool
pub const fn gsr2tx(&self) -> bool
Generic short read two parameters transmission This bit configures the generic short read packet with two parameters command transmission type:.
pub fn set_gsr2tx(&mut self, val: bool)
pub fn set_gsr2tx(&mut self, val: bool)
Generic short read two parameters transmission This bit configures the generic short read packet with two parameters command transmission type:.
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 fn set_glwtx(&mut self, val: bool)
pub 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 fn set_dsw0tx(&mut self, val: bool)
pub 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 read one parameter transmission This bit configures the DCS short read packet with one parameter command transmission type:.
pub fn set_dsw1tx(&mut self, val: bool)
pub fn set_dsw1tx(&mut self, val: bool)
DCS short read one parameter transmission This bit configures the DCS short read 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 fn set_dsr0tx(&mut self, val: bool)
pub 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 fn set_dlwtx(&mut self, val: bool)
pub fn set_dlwtx(&mut self, val: bool)
DCS long write transmission This bit configures the DCS long write packet command transmission type:.