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.