Struct Autocr
#[repr(transparent)]pub struct Autocr(pub u32);Expand description
Autonomous mode control register (only on STM32U3, U5, WBA)
Tuple Fields§
§0: u32Implementations§
§impl Autocr
impl Autocr
pub const fn set_trigpol(&mut self, val: Trigpol)
pub const fn set_trigpol(&mut self, val: Trigpol)
Trigger polarity. Can be written only when UE = 0.
pub const fn trigen(&self) -> bool
pub const fn trigen(&self) -> bool
Trigger enable. When a trigger is detected, TE is set in CR1 and the data transfer is launched. Can be written only when UE = 0.
pub const fn set_trigen(&mut self, val: bool)
pub const fn set_trigen(&mut self, val: bool)
Trigger enable. When a trigger is detected, TE is set in CR1 and the data transfer is launched. Can be written only when UE = 0.
pub const fn idledis(&self) -> bool
pub const fn idledis(&self) -> bool
Idle frame transmission disable after enabling the transmitter. Can be written only when UE = 0.
pub const fn set_idledis(&mut self, val: bool)
pub const fn set_idledis(&mut self, val: bool)
Idle frame transmission disable after enabling the transmitter. Can be written only when UE = 0.
pub const fn trigsel(&self) -> u8
pub const fn trigsel(&self) -> u8
Trigger selection (usart_trgN, see the USART/LPUART interconnection table). Can be written only when UE = 0.
pub const fn set_trigsel(&mut self, val: u8)
pub const fn set_trigsel(&mut self, val: u8)
Trigger selection (usart_trgN, see the USART/LPUART interconnection table). Can be written only when UE = 0.