STM32H735xx HAL User Manual
|
Header file of IWDG LL module. More...
#include "stm32h7xx.h"
Go to the source code of this file.
Defines | |
#define | LL_IWDG_KEY_RELOAD 0x0000AAAAU |
#define | LL_IWDG_KEY_ENABLE 0x0000CCCCU |
#define | LL_IWDG_KEY_WR_ACCESS_ENABLE 0x00005555U |
#define | LL_IWDG_KEY_WR_ACCESS_DISABLE 0x00000000U |
#define | LL_IWDG_SR_PVU IWDG_SR_PVU |
#define | LL_IWDG_SR_RVU IWDG_SR_RVU |
#define | LL_IWDG_SR_WVU IWDG_SR_WVU |
#define | LL_IWDG_PRESCALER_4 0x00000000U |
#define | LL_IWDG_PRESCALER_8 (IWDG_PR_PR_0) |
#define | LL_IWDG_PRESCALER_16 (IWDG_PR_PR_1) |
#define | LL_IWDG_PRESCALER_32 (IWDG_PR_PR_1 | IWDG_PR_PR_0) |
#define | LL_IWDG_PRESCALER_64 (IWDG_PR_PR_2) |
#define | LL_IWDG_PRESCALER_128 (IWDG_PR_PR_2 | IWDG_PR_PR_0) |
#define | LL_IWDG_PRESCALER_256 (IWDG_PR_PR_2 | IWDG_PR_PR_1) |
#define | LL_IWDG_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE__)) |
Write a value in IWDG register. | |
#define | LL_IWDG_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) |
Read a value in IWDG register. | |
Functions | |
__STATIC_INLINE void | LL_IWDG_Enable (IWDG_TypeDef *IWDGx) |
Start the Independent Watchdog. | |
__STATIC_INLINE void | LL_IWDG_ReloadCounter (IWDG_TypeDef *IWDGx) |
Reloads IWDG counter with value defined in the reload register. | |
__STATIC_INLINE void | LL_IWDG_EnableWriteAccess (IWDG_TypeDef *IWDGx) |
Enable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers. | |
__STATIC_INLINE void | LL_IWDG_DisableWriteAccess (IWDG_TypeDef *IWDGx) |
Disable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers. | |
__STATIC_INLINE void | LL_IWDG_SetPrescaler (IWDG_TypeDef *IWDGx, uint32_t Prescaler) |
Select the prescaler of the IWDG. | |
__STATIC_INLINE uint32_t | LL_IWDG_GetPrescaler (IWDG_TypeDef *IWDGx) |
Get the selected prescaler of the IWDG. | |
__STATIC_INLINE void | LL_IWDG_SetReloadCounter (IWDG_TypeDef *IWDGx, uint32_t Counter) |
Specify the IWDG down-counter reload value. | |
__STATIC_INLINE uint32_t | LL_IWDG_GetReloadCounter (IWDG_TypeDef *IWDGx) |
Get the specified IWDG down-counter reload value. | |
__STATIC_INLINE void | LL_IWDG_SetWindow (IWDG_TypeDef *IWDGx, uint32_t Window) |
Specify high limit of the window value to be compared to the down-counter. | |
__STATIC_INLINE uint32_t | LL_IWDG_GetWindow (IWDG_TypeDef *IWDGx) |
Get the high limit of the window value specified. | |
__STATIC_INLINE uint32_t | LL_IWDG_IsActiveFlag_PVU (IWDG_TypeDef *IWDGx) |
Check if flag Prescaler Value Update is set or not. | |
__STATIC_INLINE uint32_t | LL_IWDG_IsActiveFlag_RVU (IWDG_TypeDef *IWDGx) |
Check if flag Reload Value Update is set or not. | |
__STATIC_INLINE uint32_t | LL_IWDG_IsActiveFlag_WVU (IWDG_TypeDef *IWDGx) |
Check if flag Window Value Update is set or not. | |
__STATIC_INLINE uint32_t | LL_IWDG_IsReady (IWDG_TypeDef *IWDGx) |
Check if all flags Prescaler, Reload & Window Value Update are reset or not. |
Header file of IWDG LL module.
Copyright (c) 2017 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 stm32h7xx_ll_iwdg.h.