Struct stm32_metapac::can::regs::Txefa
#[repr(transparent)]pub struct Txefa(pub u32);
Expand description
FDCAN Tx event FIFO acknowledge register
Tuple Fields§
§0: u32
Implementations§
§impl Txefa
impl Txefa
pub const fn efai(&self) -> u8
pub const fn efai(&self) -> u8
Event FIFO acknowledge index. After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]
pub fn set_efai(&mut self, val: u8)
pub fn set_efai(&mut self, val: u8)
Event FIFO acknowledge index. After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]
Trait Implementations§
impl Copy for Txefa
impl Eq for Txefa
impl StructuralPartialEq for Txefa
Auto Trait Implementations§
impl Freeze for Txefa
impl RefUnwindSafe for Txefa
impl Send for Txefa
impl Sync for Txefa
impl Unpin for Txefa
impl UnwindSafe for Txefa
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)