100 #define KR_KEY_RELOAD ((uint16_t)0xAAAA) 101 #define KR_KEY_ENABLE ((uint16_t)0xCCCC) 136 IWDG->KR = IWDG_WriteAccess;
156 IWDG->PR = IWDG_Prescaler;
238 if ((
IWDG->SR & IWDG_FLAG) != (uint32_t)
RESET)
void IWDG_SetReload(uint16_t Reload)
Sets IWDG Reload value.
#define IS_IWDG_FLAG(FLAG)
FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG)
Checks whether the specified IWDG flag is set or not.
void assert_param(int val)
void IWDG_ReloadCounter(void)
Reloads IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR ...
void IWDG_WriteAccessCmd(uint16_t IWDG_WriteAccess)
Enables or disables write access to IWDG_PR and IWDG_RLR registers.
void IWDG_Enable(void)
Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled).
void IWDG_SetPrescaler(uint8_t IWDG_Prescaler)
Sets IWDG Prescaler value.
This file contains all the functions prototypes for the IWDG firmware library.
#define IS_IWDG_RELOAD(RELOAD)
#define IS_IWDG_PRESCALER(PRESCALER)
#define IS_IWDG_WRITE_ACCESS(ACCESS)