#[repr(transparent)]pub struct Cbt2(pub u32);Expand description
CAN Bit Timing.
Tuple Fields§
§0: u32Implementations§
Source§impl Cbt2
impl Cbt2
Sourcepub const fn set_epseg2(&mut self, val: u8)
pub const fn set_epseg2(&mut self, val: u8)
Extended Phase Segment 2.
Sourcepub const fn set_epseg1(&mut self, val: u8)
pub const fn set_epseg1(&mut self, val: u8)
Extended Phase Segment 1.
Sourcepub const fn set_epropseg(&mut self, val: u8)
pub const fn set_epropseg(&mut self, val: u8)
Extended Propagation Segment.
Sourcepub const fn set_epresdiv(&mut self, val: u16)
pub const fn set_epresdiv(&mut self, val: u16)
Extended Prescaler Division Factor.
Trait Implementations§
impl Copy for Cbt2
impl Eq for Cbt2
impl StructuralPartialEq for Cbt2
Auto Trait Implementations§
impl Freeze for Cbt2
impl RefUnwindSafe for Cbt2
impl Send for Cbt2
impl Sync for Cbt2
impl Unpin for Cbt2
impl UnwindSafe for Cbt2
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