Struct stm32_metapac::can::regs::Txfqs
#[repr(transparent)]pub struct Txfqs(pub u32);
Expand description
FDCAN Tx FIFO/queue status register
Tuple Fields§
§0: u32
Implementations§
§impl Txfqs
impl Txfqs
pub const fn tffl(&self) -> u8
pub const fn tffl(&self) -> u8
Tx FIFO free level. Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)
pub fn set_tffl(&mut self, val: u8)
pub fn set_tffl(&mut self, val: u8)
Tx FIFO free level. Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)
pub const fn tfgi(&self) -> u8
pub const fn tfgi(&self) -> u8
Tx FIFO get index. Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1)
pub fn set_tfgi(&mut self, val: u8)
pub fn set_tfgi(&mut self, val: u8)
Tx FIFO get index. Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1)
pub const fn tfqpi(&self) -> u8
pub const fn tfqpi(&self) -> u8
Tx FIFO/queue put index. Tx FIFO/queue write index pointer, range 0 to 3
Trait Implementations§
impl Copy for Txfqs
impl Eq for Txfqs
impl StructuralPartialEq for Txfqs
Auto Trait Implementations§
impl Freeze for Txfqs
impl RefUnwindSafe for Txfqs
impl Send for Txfqs
impl Sync for Txfqs
impl Unpin for Txfqs
impl UnwindSafe for Txfqs
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
)