Independent watchdog (IWDG)
14.2.7 IWDG activation function
14.2.7.1 IWDG_Enable
void IWDG_Enable ( void )
Enables IWDG (write access to IWDG_PR and IWDG_RLR
registers disabled).
14.2.8 Flag management function
14.2.8.1 IWDG_GetFlagStatus
FlagStatus IWDG_GetFlagStatus ( uint16_t IWDG_FLAG)
Checks whether the specified IWDG flag is set or not.
ï‚· IWDG_FLAG : specifies the flag to check. This parameter
can be one of the following values:
ï€ IWDG_FLAG_PVU : Prescaler Value Update on going
ï€ IWDG_FLAG_RVU : Reload Value Update on going
ï€ IWDG_FLAG_WVU : Counter Window Value Update on
going
ï‚· The new state of IWDG_FLAG (SET or RESET).
14.3 IWDG Firmware driver defines
14.3.1 IWDG
IWDG
IWDG_Flag
ï‚· #define: IWDG_FLAG_PVU ((uint16_t)0x0001)