Functions | |
void | IWDG_Enable (void) |
Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled). More... | |
FlagStatus | IWDG_GetFlagStatus (uint16_t IWDG_FLAG) |
Checks whether the specified IWDG flag is set or not. More... | |
void | IWDG_ReloadCounter (void) |
Reloads IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled). More... | |
void | IWDG_SetPrescaler (uint8_t IWDG_Prescaler) |
Sets IWDG Prescaler value. More... | |
void | IWDG_SetReload (uint16_t Reload) |
Sets IWDG Reload value. More... | |
void | IWDG_WriteAccessCmd (uint16_t IWDG_WriteAccess) |
Enables or disables write access to IWDG_PR and IWDG_RLR registers. More... | |
void IWDG_Enable | ( | void | ) |
Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled).
None |
None |
Definition at line 204 of file stm32f4xx_iwdg.c.
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:
|
The | new state of IWDG_FLAG (SET or RESET). |
IWDG_FLAG | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of IWDG_FLAG (SET or RESET). |
IWDG_FLAG | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of IWDG_FLAG (SET or RESET). |
Definition at line 233 of file stm32f4xx_iwdg.c.
void IWDG_ReloadCounter | ( | void | ) |
Reloads IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled).
None |
None |
Definition at line 178 of file stm32f4xx_iwdg.c.
void IWDG_SetPrescaler | ( | uint8_t | IWDG_Prescaler | ) |
Sets IWDG Prescaler value.
IWDG_Prescaler | specifies the IWDG Prescaler value. This parameter can be one of the following values:
|
None |
Definition at line 152 of file stm32f4xx_iwdg.c.
void IWDG_SetReload | ( | uint16_t | Reload | ) |
Sets IWDG Reload value.
Reload | specifies the IWDG Reload value. This parameter must be a number between 0 and 0x0FFF. |
None |
Definition at line 165 of file stm32f4xx_iwdg.c.
void IWDG_WriteAccessCmd | ( | uint16_t | IWDG_WriteAccess | ) |
Enables or disables write access to IWDG_PR and IWDG_RLR registers.
IWDG_WriteAccess | new state of write access to IWDG_PR and IWDG_RLR registers. This parameter can be one of the following values:
|
None |
Definition at line 132 of file stm32f4xx_iwdg.c.