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
Trait Implementations§
impl Copy for Txbcf
impl Eq for Txbcf
impl StructuralPartialEq for Txbcf
Auto Trait Implementations§
impl Freeze for Txbcf
impl RefUnwindSafe for Txbcf
impl Send for Txbcf
impl Sync for Txbcf
impl Unpin for Txbcf
impl UnwindSafe for Txbcf
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)