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

Header file of WWDG LL module. More...

#include "stm32f4xx.h"

Go to the source code of this file.

Defines

#define LL_WWDG_CFR_EWI   WWDG_CFR_EWI
#define LL_WWDG_PRESCALER_1   0x00000000u
#define LL_WWDG_PRESCALER_2   WWDG_CFR_WDGTB_0
#define LL_WWDG_PRESCALER_4   WWDG_CFR_WDGTB_1
#define LL_WWDG_PRESCALER_8   (WWDG_CFR_WDGTB_0 | WWDG_CFR_WDGTB_1)
#define LL_WWDG_WriteReg(__INSTANCE__, __REG__, __VALUE__)   WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
 Write a value in WWDG register.
#define LL_WWDG_ReadReg(__INSTANCE__, __REG__)   READ_REG(__INSTANCE__->__REG__)
 Read a value in WWDG register.

Functions

__STATIC_INLINE void LL_WWDG_Enable (WWDG_TypeDef *WWDGx)
 Enable Window Watchdog.
__STATIC_INLINE uint32_t LL_WWDG_IsEnabled (WWDG_TypeDef *WWDGx)
 Checks if Window Watchdog is enabled.
__STATIC_INLINE void LL_WWDG_SetCounter (WWDG_TypeDef *WWDGx, uint32_t Counter)
 Set the Watchdog counter value to provided value (7-bits T[6:0])
__STATIC_INLINE uint32_t LL_WWDG_GetCounter (WWDG_TypeDef *WWDGx)
 Return current Watchdog Counter Value (7 bits counter value)
__STATIC_INLINE void LL_WWDG_SetPrescaler (WWDG_TypeDef *WWDGx, uint32_t Prescaler)
 Set the time base of the prescaler (WDGTB).
__STATIC_INLINE uint32_t LL_WWDG_GetPrescaler (WWDG_TypeDef *WWDGx)
 Return current Watchdog Prescaler Value.
__STATIC_INLINE void LL_WWDG_SetWindow (WWDG_TypeDef *WWDGx, uint32_t Window)
 Set the Watchdog Window value to be compared to the downcounter (7-bits W[6:0]).
__STATIC_INLINE uint32_t LL_WWDG_GetWindow (WWDG_TypeDef *WWDGx)
 Return current Watchdog Window Value (7 bits value)
__STATIC_INLINE uint32_t LL_WWDG_IsActiveFlag_EWKUP (WWDG_TypeDef *WWDGx)
 Indicates if the WWDG Early Wakeup Interrupt Flag is set or not.
__STATIC_INLINE void LL_WWDG_ClearFlag_EWKUP (WWDG_TypeDef *WWDGx)
 Clear WWDG Early Wakeup Interrupt Flag (EWIF)
__STATIC_INLINE void LL_WWDG_EnableIT_EWKUP (WWDG_TypeDef *WWDGx)
 Enable the Early Wakeup Interrupt.
__STATIC_INLINE uint32_t LL_WWDG_IsEnabledIT_EWKUP (WWDG_TypeDef *WWDGx)
 Check if Early Wakeup Interrupt is enabled.

Detailed Description

Header file of WWDG 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_wwdg.h.