Struct stm32_metapac::can::regs::Txefs
#[repr(transparent)]pub struct Txefs(pub u32);
Expand description
FDCAN Tx event FIFO status register
Tuple Fields§
§0: u32
Implementations§
§impl Txefs
impl Txefs
pub const fn effl(&self) -> u8
pub const fn effl(&self) -> u8
Event FIFO fill level. Number of elements stored in Tx event FIFO, range 0 to 3
pub fn set_effl(&mut self, val: u8)
pub fn set_effl(&mut self, val: u8)
Event FIFO fill level. Number of elements stored in Tx event FIFO, range 0 to 3
pub fn set_efgi(&mut self, val: u8)
pub fn set_efgi(&mut self, val: u8)
Event FIFO get index. Tx event FIFO read index pointer, range 0 to 3
pub fn set_efpi(&mut self, val: u8)
pub fn set_efpi(&mut self, val: u8)
Event FIFO put index. Tx event FIFO write index pointer, range 0 to 3
Trait Implementations§
impl Copy for Txefs
impl Eq for Txefs
impl StructuralPartialEq for Txefs
Auto Trait Implementations§
impl Freeze for Txefs
impl RefUnwindSafe for Txefs
impl Send for Txefs
impl Sync for Txefs
impl Unpin for Txefs
impl UnwindSafe for Txefs
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
)