Struct stm32mp1::stm32mp157::ccu::fccan_ccu_cwd::FCCAN_CCU_CWD_SPEC
source · [−]pub struct FCCAN_CCU_CWD_SPEC;
Expand description
The calibration watchdog is started after the first falling edge when the calibration FSM is in state Not_Calibrated (CCU_CSTAT.CALS = 00). In this state the calibration watchdog monitors the message received. In case no message was received until the calibration watchdog has counted down to 0, the calibration FSM stays in state Not_Calibrated (CCU_CSTAT.CALS = 00), the counter is reloaded with FDCAN_RWD.WDC and basic calibration is restarted after the next falling edge. When in state Basic_Calibrated (CCU_CSTAT.CALS = 01), the calibration watchdog is restarted with each received message . In case no message was received until the calibration watchdog has counted down to 0, the calibration FSM returns to state Not_Calibrated (CCU_CSTAT.CALS = 00), the counter is reloaded with FDCAN_RWD.WDC and basic calibration is restarted after the next falling edge. When a quartz message is received, state Precision_Calibrated (CCU_CSTAT.CALS = 10) is entered and the calibration watchdog is restarted. In this state the calibration watchdog monitors the quartz message received input. In case no message from a quartz controlled node is received by the attached TTCAN until the calibration watchdog has counted down to 0, the calibration FSM transits back to state Basic_Calibrated (CCU_CSTAT.CALS = 01). The signal is active when the CAN protocol engine on the attached TTCAN is started i.e. when the INIT bit is reset. A calibration watchdog event also sets interrupt flag CCU_IR.CWE. If enabled by CCU_IE.CWEE, interrupt line is activated (set to high). Interrupt line remains active until interrupt flag CCU_IR.CWE is reset.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see fccan_ccu_cwd module
Trait Implementations
sourceimpl Readable for FCCAN_CCU_CWD_SPEC
impl Readable for FCCAN_CCU_CWD_SPEC
read()
method returns fccan_ccu_cwd::R reader structure
sourceimpl RegisterSpec for FCCAN_CCU_CWD_SPEC
impl RegisterSpec for FCCAN_CCU_CWD_SPEC
sourceimpl Resettable for FCCAN_CCU_CWD_SPEC
impl Resettable for FCCAN_CCU_CWD_SPEC
reset()
method sets FCCAN_CCU_CWD to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for FCCAN_CCU_CWD_SPEC
impl Writable for FCCAN_CCU_CWD_SPEC
write(|w| ..)
method takes fccan_ccu_cwd::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for FCCAN_CCU_CWD_SPEC
impl Send for FCCAN_CCU_CWD_SPEC
impl Sync for FCCAN_CCU_CWD_SPEC
impl Unpin for FCCAN_CCU_CWD_SPEC
impl UnwindSafe for FCCAN_CCU_CWD_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