Struct stm32_metapac::can::regs::Txbcf
#[repr(transparent)]pub struct Txbcf(pub u32);
Expand description
FDCAN Tx buffer cancellation finished register
Tuple Fields§
§0: u32
Implementations§
§impl Txbcf
impl Txbcf
pub const fn cf(&self, n: usize) -> bool
pub const fn cf(&self, n: usize) -> bool
Cancellation finished. Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR
pub fn set_cf(&mut self, n: usize, val: bool)
pub fn set_cf(&mut self, n: usize, val: bool)
Cancellation finished. Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR