Struct stm32_metapac::can::regs::Hpms
#[repr(transparent)]pub struct Hpms(pub u32);
Expand description
FDCAN high-priority message status register
Tuple Fields§
§0: u32
Implementations§
§impl Hpms
impl Hpms
pub const fn bidx(&self) -> u8
pub const fn bidx(&self) -> u8
Buffer index. Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1
pub fn set_bidx(&mut self, val: u8)
pub fn set_bidx(&mut self, val: u8)
Buffer index. Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1
pub const fn fidx(&self) -> u8
pub const fn fidx(&self) -> u8
Filter index. Index of matching filter element. Range is 0 to RXGFC[LSS]
- 1 or RXGFC[LSE]
- 1
pub fn set_fidx(&mut self, val: u8)
pub fn set_fidx(&mut self, val: u8)
Filter index. Index of matching filter element. Range is 0 to RXGFC[LSS]
- 1 or RXGFC[LSE]
- 1
Trait Implementations§
impl Copy for Hpms
impl Eq for Hpms
impl StructuralPartialEq for Hpms
Auto Trait Implementations§
impl Freeze for Hpms
impl RefUnwindSafe for Hpms
impl Send for Hpms
impl Sync for Hpms
impl Unpin for Hpms
impl UnwindSafe for Hpms
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
)