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