STM32L443xx HAL User Manual
|
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 void LL_WWDG_Enable | ( | WWDG_TypeDef * | WWDGx | ) |
Enable Window Watchdog.
The watchdog is always disabled after a reset.
WWDGx | WWDG Instance |
None |
Definition at line 123 of file stm32l4xx_ll_wwdg.h.
__STATIC_INLINE uint32_t LL_WWDG_GetCounter | ( | WWDG_TypeDef * | WWDGx | ) |
Return current Watchdog Counter Value (7 bits counter value)
WWDGx | WWDG Instance |
7 | bit Watchdog Counter value |
Definition at line 161 of file stm32l4xx_ll_wwdg.h.
__STATIC_INLINE uint32_t LL_WWDG_GetPrescaler | ( | WWDG_TypeDef * | WWDGx | ) |
Return current Watchdog Prescaler Value.
WWDGx | WWDG Instance |
Returned | value can be one of the following values: |
Definition at line 194 of file stm32l4xx_ll_wwdg.h.
__STATIC_INLINE uint32_t LL_WWDG_GetWindow | ( | WWDG_TypeDef * | WWDGx | ) |
Return current Watchdog Window Value (7 bits value)
WWDGx | WWDG Instance |
7 | bit Watchdog Window value |
Definition at line 226 of file stm32l4xx_ll_wwdg.h.
__STATIC_INLINE uint32_t LL_WWDG_IsEnabled | ( | WWDG_TypeDef * | WWDGx | ) |
Checks if Window Watchdog is enabled.
WWDGx | WWDG Instance |
State | of bit (1 or 0). |
Definition at line 134 of file stm32l4xx_ll_wwdg.h.
__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])
WWDGx | WWDG Instance |
Counter | 0..0x7F (7 bit counter value) |
None |
Definition at line 150 of file stm32l4xx_ll_wwdg.h.
__STATIC_INLINE void LL_WWDG_SetPrescaler | ( | WWDG_TypeDef * | WWDGx, |
uint32_t | Prescaler | ||
) |
Set the time base of the prescaler (WDGTB).
WWDGx | WWDG Instance |
Prescaler | This parameter can be one of the following values: |
None |
Definition at line 179 of file stm32l4xx_ll_wwdg.h.
__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]).
WWDGx | WWDG Instance |
Window | 0x00..0x7F (7 bit Window value) |
None |
Definition at line 215 of file stm32l4xx_ll_wwdg.h.