STM32L443xx HAL User Manual
|
Header file of WWDG LL module. More...
#include "stm32l4xx.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. |
Header file of WWDG 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 stm32l4xx_ll_wwdg.h.