Type Definition stm32_hal2::pac::iwdg1::kr::KEY_W

source · []
pub type KEY_W<'a, const O: u8> = FieldWriterRaw<'a, u32, KR_SPEC, u16, KEY_AW, Unsafe, 16, O>;
Expand description

Field KEY writer - Key value (write only, read 0x0000) These bits must be written by software at regular intervals with the key value 0xAAAA, otherwise the watchdog generates a reset when the counter reaches 0. Writing the key value 0x5555 to enable access to the IWDG_PR, IWDG_RLR and IWDG_WINR registers (see Section23.3.6: Register access protection) Writing the key value CCCCh starts the watchdog (except if the hardware watchdog option is selected)