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 fn set_gsw0tx(&mut self, val: bool)
pub fn set_gsw0tx(&mut self, val: bool)
Generic Short Write Zero parameters Transmission.
pub fn set_gsw1tx(&mut self, val: bool)
pub fn set_gsw1tx(&mut self, val: bool)
Generic Short Write One parameters Transmission.
pub fn set_gsw2tx(&mut self, val: bool)
pub fn set_gsw2tx(&mut self, val: bool)
Generic Short Write Two parameters Transmission.
pub fn set_gsr0tx(&mut self, val: bool)
pub fn set_gsr0tx(&mut self, val: bool)
Generic Short Read Zero parameters Transmission.
pub fn set_gsr1tx(&mut self, val: bool)
pub fn set_gsr1tx(&mut self, val: bool)
Generic Short Read One parameters Transmission.
pub fn set_gsr2tx(&mut self, val: bool)
pub fn set_gsr2tx(&mut self, val: bool)
Generic Short Read Two parameters Transmission.
pub fn set_dsw0tx(&mut self, val: bool)
pub fn set_dsw0tx(&mut self, val: bool)
DCS Short Write Zero parameter Transmission.
pub fn set_dsw1tx(&mut self, val: bool)
pub fn set_dsw1tx(&mut self, val: bool)
DCS Short Read One parameter Transmission.
pub fn set_dsr0tx(&mut self, val: bool)
pub fn set_dsr0tx(&mut self, val: bool)
DCS Short Read Zero parameter Transmission.
Trait Implementations§
impl Copy for Cmcr
impl Eq for Cmcr
impl StructuralPartialEq for Cmcr
Auto Trait Implementations§
impl Freeze for Cmcr
impl RefUnwindSafe for Cmcr
impl Send for Cmcr
impl Sync for Cmcr
impl Unpin for Cmcr
impl UnwindSafe for Cmcr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)