Struct Cr3
#[repr(transparent)]pub struct Cr3(pub u32);Expand description
Control register 3
Tuple Fields§
§0: u32Implementations§
§impl Cr3
impl Cr3
pub const fn set_onebit(&mut self, val: bool)
pub const fn set_onebit(&mut self, val: bool)
One sample bit method enable (not available on LPUART)
pub const fn set_ovrdis(&mut self, val: bool)
pub const fn set_ovrdis(&mut self, val: bool)
Overrun Disable
pub const fn set_scarcnt(&mut self, val: u8)
pub const fn set_scarcnt(&mut self, val: u8)
Smartcard auto-retry count (not available on LPUART)
pub const fn wus(&self) -> Wus
pub const fn wus(&self) -> Wus
Wakeup from Stop mode interrupt flag selection (not available on STM32U3, U5, WBA)
pub const fn set_wus(&mut self, val: Wus)
pub const fn set_wus(&mut self, val: Wus)
Wakeup from Stop mode interrupt flag selection (not available on STM32U3, U5, WBA)
pub const fn wufie(&self) -> bool
pub const fn wufie(&self) -> bool
Wakeup from Stop mode interrupt enable (not available on STM32U3, U5, WBA)
pub const fn set_wufie(&mut self, val: bool)
pub const fn set_wufie(&mut self, val: bool)
Wakeup from Stop mode interrupt enable (not available on STM32U3, U5, WBA)
pub const fn set_txftie(&mut self, val: bool)
pub const fn set_txftie(&mut self, val: bool)
TXFIFO threshold interrupt enable
pub const fn tcbgtie(&self) -> bool
pub const fn tcbgtie(&self) -> bool
Transmission complete before guard time interrupt enable (not available on all chips/instances; not available on LPUART)
pub const fn set_tcbgtie(&mut self, val: bool)
pub const fn set_tcbgtie(&mut self, val: bool)
Transmission complete before guard time interrupt enable (not available on all chips/instances; not available on LPUART)
pub const fn set_rxftcfg(&mut self, val: Rxftcfg)
pub const fn set_rxftcfg(&mut self, val: Rxftcfg)
Receive FIFO threshold configuration
pub const fn set_rxftie(&mut self, val: bool)
pub const fn set_rxftie(&mut self, val: bool)
RXFIFO threshold interrupt enable
pub const fn set_txftcfg(&mut self, val: Txftcfg)
pub const fn set_txftcfg(&mut self, val: Txftcfg)
TXFIFO threshold configuration