#[repr(transparent)]pub struct Cbt(pub u32);Expand description
CAN Bit Timing
Tuple Fields§
§0: u32Implementations§
Source§impl Cbt
impl Cbt
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 Cbt
impl Eq for Cbt
impl StructuralPartialEq for Cbt
Auto Trait Implementations§
impl Freeze for Cbt
impl RefUnwindSafe for Cbt
impl Send for Cbt
impl Sync for Cbt
impl Unpin for Cbt
impl UnwindSafe for Cbt
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