Struct stm32mp1::stm32mp157::fdcan1::fdcan_dbtp::FDCAN_DBTP_SPEC
source · [−]pub struct FDCAN_DBTP_SPEC;
Expand description
This register is dedicated to data bit timing phase and only writable if bits FDCAN_CCCR.CCE and FDCAN_CCCR.INIT are set. The CAN time quantum may be programmed in the range from 1 to 32 FDCAN clock periods. tq = (DBRP + 1) FDCAN clock periods. DTSEG1 is the sum of Prop_Seg and Phase_Seg1. DTSEG2 is Phase_Seg2. Therefore the length of the bit time is (DTSEG1 + DTSEG2 + 3) tq for programmed values, or (Sync_Seg+Prop_Seg+Phase_Seg1+Phase_Seg2) tq for functional values. The information processing time (IPT) is zero, meaning the data for the next bit is available at the first clock edge after the sample point.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see fdcan_dbtp module
Trait Implementations
sourceimpl Readable for FDCAN_DBTP_SPEC
impl Readable for FDCAN_DBTP_SPEC
read()
method returns fdcan_dbtp::R reader structure
sourceimpl RegisterSpec for FDCAN_DBTP_SPEC
impl RegisterSpec for FDCAN_DBTP_SPEC
sourceimpl Resettable for FDCAN_DBTP_SPEC
impl Resettable for FDCAN_DBTP_SPEC
reset()
method sets FDCAN_DBTP to value 0x0a33
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for FDCAN_DBTP_SPEC
impl Writable for FDCAN_DBTP_SPEC
write(|w| ..)
method takes fdcan_dbtp::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for FDCAN_DBTP_SPEC
impl Send for FDCAN_DBTP_SPEC
impl Sync for FDCAN_DBTP_SPEC
impl Unpin for FDCAN_DBTP_SPEC
impl UnwindSafe for FDCAN_DBTP_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more