Struct stm32_metapac::can::regs::Xidam
#[repr(transparent)]pub struct Xidam(pub u32);
Expand description
FDCAN extended ID and mask register
Tuple Fields§
§0: u32
Implementations§
§impl Xidam
impl Xidam
pub const fn eidm(&self) -> u32
pub const fn eidm(&self) -> u32
Extended ID mask. For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1
pub fn set_eidm(&mut self, val: u32)
pub fn set_eidm(&mut self, val: u32)
Extended ID mask. For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1
Trait Implementations§
impl Copy for Xidam
impl Eq for Xidam
impl StructuralPartialEq for Xidam
Auto Trait Implementations§
impl Freeze for Xidam
impl RefUnwindSafe for Xidam
impl Send for Xidam
impl Sync for Xidam
impl Unpin for Xidam
impl UnwindSafe for Xidam
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
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)
clone_to_uninit
)