Struct Fcr
#[repr(transparent)]pub struct Fcr(pub u32);Expand description
flag clear register
Tuple Fields§
§0: u32Implementations§
§impl Fcr
impl Fcr
pub const fn ctef(&self) -> bool
pub const fn ctef(&self) -> bool
Clear transfer error flag Writing 1 clears the TEF flag in the SR register.
pub const fn set_ctef(&mut self, val: bool)
pub const fn set_ctef(&mut self, val: bool)
Clear transfer error flag Writing 1 clears the TEF flag in the SR register.
pub const fn ctcf(&self) -> bool
pub const fn ctcf(&self) -> bool
Clear transfer complete flag Writing 1 clears the TCF flag in the SR register.
pub const fn set_ctcf(&mut self, val: bool)
pub const fn set_ctcf(&mut self, val: bool)
Clear transfer complete flag Writing 1 clears the TCF flag in the SR register.
pub const fn csmf(&self) -> bool
pub const fn csmf(&self) -> bool
Clear status match flag Writing 1 clears the SMF flag in the SR register. Not on STM32WBA2.
pub const fn set_csmf(&mut self, val: bool)
pub const fn set_csmf(&mut self, val: bool)
Clear status match flag Writing 1 clears the SMF flag in the SR register. Not on STM32WBA2.
pub const fn ctof(&self) -> bool
pub const fn ctof(&self) -> bool
Clear timeout flag Writing 1 clears the TOF flag in the SR register.
pub const fn set_ctof(&mut self, val: bool)
pub const fn set_ctof(&mut self, val: bool)
Clear timeout flag Writing 1 clears the TOF flag in the SR register.
pub const fn cberrf(&self) -> bool
pub const fn cberrf(&self) -> bool
Clear bus error flag. Writing 1 clears the BERRF flag in the SR register. Only on STM32H543/553.
pub const fn set_cberrf(&mut self, val: bool)
pub const fn set_cberrf(&mut self, val: bool)
Clear bus error flag. Writing 1 clears the BERRF flag in the SR register. Only on STM32H543/553.