#[repr(transparent)]pub struct Ctrl22(pub u32);Expand description
Control 2.
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl22
impl Ctrl22
Sourcepub const fn edfltdis(&self) -> bool
pub const fn edfltdis(&self) -> bool
Edge Filter Disable. Raw bit values: false (0) = Enable: Enabled.; true (1) = Disable: Disabled.
Sourcepub const fn set_edfltdis(&mut self, val: bool)
pub const fn set_edfltdis(&mut self, val: bool)
Edge Filter Disable. Raw bit values: false (0) = Enable: Enabled.; true (1) = Disable: Disabled.
Sourcepub const fn isocanfden(&self) -> bool
pub const fn isocanfden(&self) -> bool
ISO CAN FD Enable. Raw bit values: false (0) = NonIso: Disable.; true (1) = Iso: Enable.
Sourcepub const fn set_isocanfden(&mut self, val: bool)
pub const fn set_isocanfden(&mut self, val: bool)
ISO CAN FD Enable. Raw bit values: false (0) = NonIso: Disable.; true (1) = Iso: Enable.
Sourcepub const fn bte(&self) -> bool
pub const fn bte(&self) -> bool
Bit Timing Expansion Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_bte(&mut self, val: bool)
pub const fn set_bte(&mut self, val: bool)
Bit Timing Expansion Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn prexcen(&self) -> bool
pub const fn prexcen(&self) -> bool
Protocol Exception Enable. Raw bit values: false (0) = Disable: Disabled.; true (1) = Enable: Enabled.
Sourcepub const fn set_prexcen(&mut self, val: bool)
pub const fn set_prexcen(&mut self, val: bool)
Protocol Exception Enable. Raw bit values: false (0) = Disable: Disabled.; true (1) = Enable: Enabled.
Sourcepub const fn eacen(&self) -> bool
pub const fn eacen(&self) -> bool
Entire Frame Arbitration Field Comparison Enable for RX Message Buffers. Raw bit values: false (0) = RtrCompareNo: Disable.; true (1) = RtrCompareYes: Enable.
Sourcepub const fn set_eacen(&mut self, val: bool)
pub const fn set_eacen(&mut self, val: bool)
Entire Frame Arbitration Field Comparison Enable for RX Message Buffers. Raw bit values: false (0) = RtrCompareNo: Disable.; true (1) = RtrCompareYes: Enable.
Sourcepub const fn rrs(&self) -> bool
pub const fn rrs(&self) -> bool
Remote Request Storing. Raw bit values: false (0) = RemoteResponseFrameNotGenerated: Generated.; true (1) = RemoteResponseFrameGenerated: Stored.
Sourcepub const fn set_rrs(&mut self, val: bool)
pub const fn set_rrs(&mut self, val: bool)
Remote Request Storing. Raw bit values: false (0) = RemoteResponseFrameNotGenerated: Generated.; true (1) = RemoteResponseFrameGenerated: Stored.
Sourcepub const fn mrp(&self) -> bool
pub const fn mrp(&self) -> bool
Message Buffers Reception Priority. Raw bit values: false (0) = Id1: Matching starts from Legacy RX FIFO or Enhanced RX FIFO and continues on message buffers.; true (1) = Id3: Matching starts from message buffers and continues on Legacy RX FIFO or Enhanced RX FIFO.
Sourcepub const fn set_mrp(&mut self, val: bool)
pub const fn set_mrp(&mut self, val: bool)
Message Buffers Reception Priority. Raw bit values: false (0) = Id1: Matching starts from Legacy RX FIFO or Enhanced RX FIFO and continues on message buffers.; true (1) = Id3: Matching starts from message buffers and continues on Legacy RX FIFO or Enhanced RX FIFO.
Sourcepub const fn boffdonemsk(&self) -> bool
pub const fn boffdonemsk(&self) -> bool
Bus Off Done Interrupt Mask. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_boffdonemsk(&mut self, val: bool)
pub const fn set_boffdonemsk(&mut self, val: bool)
Bus Off Done Interrupt Mask. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn errmsk_fast(&self) -> bool
pub const fn errmsk_fast(&self) -> bool
Error Interrupt Mask for Errors Detected in the Data Phase of Fast CAN FD Frames. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_errmsk_fast(&mut self, val: bool)
pub const fn set_errmsk_fast(&mut self, val: bool)
Error Interrupt Mask for Errors Detected in the Data Phase of Fast CAN FD Frames. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.