Struct stm32_metapac::can::regs::Dbtp
#[repr(transparent)]pub struct Dbtp(pub u32);
Expand description
FDCAN Data Bit Timing and Prescaler Register
Tuple Fields§
§0: u32
Implementations§
§impl Dbtp
impl Dbtp
pub fn set_dtseg2(&mut self, val: u8)
pub fn set_dtseg2(&mut self, val: u8)
Data time segment after sample point
pub fn set_dtseg1(&mut self, val: u8)
pub fn set_dtseg1(&mut self, val: u8)
Data time segment after sample point
Trait Implementations§
impl Copy for Dbtp
impl Eq for Dbtp
impl StructuralEq for Dbtp
impl StructuralPartialEq for Dbtp
Auto Trait Implementations§
impl RefUnwindSafe for Dbtp
impl Send for Dbtp
impl Sync for Dbtp
impl Unpin for Dbtp
impl UnwindSafe for Dbtp
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