STM32F479xx HAL User Manual
Defines | Functions
stm32f4xx_ll_iwdg.h File Reference

Header file of IWDG LL module. More...

#include "stm32f4xx.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_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 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_IsReady (IWDG_TypeDef *IWDGx)
 Check if flags Prescaler & Reload Value Update are reset or not.

Detailed Description

Header file of IWDG LL module.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f4xx_ll_iwdg.h.