Struct stm32_metapac::can::regs::Rxfa
#[repr(transparent)]pub struct Rxfa(pub u32);
Expand description
CAN Rx FIFO X acknowledge register
Tuple Fields§
§0: u32
Implementations§
§impl Rxfa
impl Rxfa
pub const fn fai(&self) -> u8
pub const fn fai(&self) -> u8
Rx FIFO X acknowledge index. After the Host has read a message or a sequence of messages from Rx FIFO X it has to write the buffer index of the last element read from Rx FIFO X to FAI. This sets the Rx FIFO X get index RXFS[FGI] to FAI + 1 and update the FIFO X fill level RXFS[FFL]
pub fn set_fai(&mut self, val: u8)
pub fn set_fai(&mut self, val: u8)
Rx FIFO X acknowledge index. After the Host has read a message or a sequence of messages from Rx FIFO X it has to write the buffer index of the last element read from Rx FIFO X to FAI. This sets the Rx FIFO X get index RXFS[FGI] to FAI + 1 and update the FIFO X fill level RXFS[FFL]
Trait Implementations§
impl Copy for Rxfa
impl Eq for Rxfa
impl StructuralPartialEq for Rxfa
Auto Trait Implementations§
impl Freeze for Rxfa
impl RefUnwindSafe for Rxfa
impl Send for Rxfa
impl Sync for Rxfa
impl Unpin for Rxfa
impl UnwindSafe for Rxfa
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
)