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 StructuralPartialEq for Nbtp
Auto Trait Implementations§
impl Freeze for Nbtp
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
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
)