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 StructuralPartialEq for Dbtp
Auto Trait Implementations§
impl Freeze for Dbtp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)