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