STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Header file of IWDG HAL module. More...
#include "stm32f4xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | IWDG_InitTypeDef |
IWDG Init structure definition. More... | |
struct | IWDG_HandleTypeDef |
IWDG Handle Structure definition. More... | |
Macros | |
#define | IWDG_PRESCALER_4 0x00000000u |
#define | IWDG_PRESCALER_8 IWDG_PR_PR_0 |
#define | IWDG_PRESCALER_16 IWDG_PR_PR_1 |
#define | IWDG_PRESCALER_32 (IWDG_PR_PR_1 | IWDG_PR_PR_0) |
#define | IWDG_PRESCALER_64 IWDG_PR_PR_2 |
#define | IWDG_PRESCALER_128 (IWDG_PR_PR_2 | IWDG_PR_PR_0) |
#define | IWDG_PRESCALER_256 (IWDG_PR_PR_2 | IWDG_PR_PR_1) |
#define | __HAL_IWDG_START(__HANDLE__) |
Enable the IWDG peripheral. | |
#define | __HAL_IWDG_RELOAD_COUNTER(__HANDLE__) |
Reload IWDG counter with value defined in the reload register (write access to IWDG_PR and IWDG_RLR registers disabled). | |
#define | IWDG_KEY_RELOAD 0x0000AAAAu |
IWDG Key Register BitMask. | |
#define | IWDG_KEY_ENABLE 0x0000CCCCu |
#define | IWDG_KEY_WRITE_ACCESS_ENABLE 0x00005555u |
#define | IWDG_KEY_WRITE_ACCESS_DISABLE 0x00000000u |
#define | IWDG_ENABLE_WRITE_ACCESS(__HANDLE__) |
Enable write access to IWDG_PR and IWDG_RLR registers. | |
#define | IWDG_DISABLE_WRITE_ACCESS(__HANDLE__) |
Disable write access to IWDG_PR and IWDG_RLR registers. | |
#define | IS_IWDG_PRESCALER(__PRESCALER__) |
Check IWDG prescaler value. | |
#define | IS_IWDG_RELOAD(__RELOAD__) |
Check IWDG reload value. | |
Functions | |
HAL_StatusTypeDef | HAL_IWDG_Init (IWDG_HandleTypeDef *hiwdg) |
Initialize the IWDG according to the specified parameters in the IWDG_InitTypeDef and start watchdog. Before exiting function, watchdog is refreshed in order to have correct time base. | |
HAL_StatusTypeDef | HAL_IWDG_Refresh (IWDG_HandleTypeDef *hiwdg) |
Refresh the IWDG. | |
Header file of IWDG HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_iwdg.h.