#[repr(transparent)]pub struct Fdctrl2(pub u32);Expand description
CAN FD Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Fdctrl2
impl Fdctrl2
Sourcepub const fn set_tdcval(&mut self, val: u8)
pub const fn set_tdcval(&mut self, val: u8)
Transceiver Delay Compensation Value.
Sourcepub const fn set_tdcoff(&mut self, val: u8)
pub const fn set_tdcoff(&mut self, val: u8)
Transceiver Delay Compensation Offset.
Sourcepub const fn tdcfail(&self) -> bool
pub const fn tdcfail(&self) -> bool
Transceiver Delay Compensation Fail. Raw bit values: false (0) = InRange: In range.; true (1) = OutOfRange: Out of range.
Sourcepub const fn set_tdcfail(&mut self, val: bool)
pub const fn set_tdcfail(&mut self, val: bool)
Transceiver Delay Compensation Fail. Raw bit values: false (0) = InRange: In range.; true (1) = OutOfRange: Out of range.
Sourcepub const fn tdcen(&self) -> bool
pub const fn tdcen(&self) -> bool
Transceiver Delay Compensation Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_tdcen(&mut self, val: bool)
pub const fn set_tdcen(&mut self, val: bool)
Transceiver Delay Compensation Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_mbdsr0(&mut self, val: Mbdsr0)
pub const fn set_mbdsr0(&mut self, val: Mbdsr0)
Message Buffer Data Size for Region 0.
Sourcepub const fn fdrate(&self) -> bool
pub const fn fdrate(&self) -> bool
Bit Rate Switch Enable. Raw bit values: false (0) = Nominal: Disable.; true (1) = BitRateSwitching: Enable.
Sourcepub const fn set_fdrate(&mut self, val: bool)
pub const fn set_fdrate(&mut self, val: bool)
Bit Rate Switch Enable. Raw bit values: false (0) = Nominal: Disable.; true (1) = BitRateSwitching: Enable.