Struct stm32g0::stm32g0c1::wwdg::wwdg_cr::W [−][src]
pub struct W(_);
Expand description
Register WWDG_CR
writer
Implementations
Bits 0:6 - 7-bit counter (MSB to LSB) These bits contain the value of the watchdog counter, decremented every (4096 x 2WDGTB[1:0]) PCLK cycles. A reset is produced when it is decremented from 0x40 to 0x3F (T6 becomes cleared).
Bit 7 - Activation bit This bit is set by software and only cleared by hardware after a reset. When WDGAÂ =Â 1, the watchdog can generate a reset.
Methods from Deref<Target = W<WWDG_CR_SPEC>>
Trait Implementations
Performs the conversion.