Struct stm32_metapac::dsihost::regs::Pcr
#[repr(transparent)]pub struct Pcr(pub u32);
Expand description
DSI Host protocol configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Pcr
impl Pcr
pub fn set_ettxe(&mut self, val: bool)
pub fn set_ettxe(&mut self, val: bool)
EoTp transmission enable This bit enables the EoTP transmission.
pub const fn btae(&self) -> bool
pub const fn btae(&self) -> bool
Bus-turn-around enable This bit enables the bus-turn-around (BTA) request.
pub fn set_btae(&mut self, val: bool)
pub fn set_btae(&mut self, val: bool)
Bus-turn-around enable This bit enables the bus-turn-around (BTA) request.
pub const fn eccrxe(&self) -> bool
pub const fn eccrxe(&self) -> bool
ECC reception enable This bit enables the ECC reception, error correction and reporting.
pub fn set_eccrxe(&mut self, val: bool)
pub fn set_eccrxe(&mut self, val: bool)
ECC reception enable This bit enables the ECC reception, error correction and reporting.
pub const fn crcrxe(&self) -> bool
pub const fn crcrxe(&self) -> bool
CRC reception enable This bit enables the CRC reception and error reporting.
pub fn set_crcrxe(&mut self, val: bool)
pub fn set_crcrxe(&mut self, val: bool)
CRC reception enable This bit enables the CRC reception and error reporting.
pub const fn ettxlpe(&self) -> bool
pub const fn ettxlpe(&self) -> bool
EoTp transmission in low-power enable This bit enables the EoTP transmission in low-power.
pub fn set_ettxlpe(&mut self, val: bool)
pub fn set_ettxlpe(&mut self, val: bool)
EoTp transmission in low-power enable This bit enables the EoTP transmission in low-power.
Trait Implementations§
impl Copy for Pcr
impl Eq for Pcr
impl StructuralPartialEq for Pcr
Auto Trait Implementations§
impl Freeze for Pcr
impl RefUnwindSafe for Pcr
impl Send for Pcr
impl Sync for Pcr
impl Unpin for Pcr
impl UnwindSafe for Pcr
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
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)
clone_to_uninit
)