Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Configuration
[IWDG Exported Functions]
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 KR KEY LL_IWDG_ReloadCounter. | |
__STATIC_INLINE void | LL_IWDG_EnableWriteAccess (IWDG_TypeDef *IWDGx) |
Enable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers KR KEY LL_IWDG_EnableWriteAccess. | |
__STATIC_INLINE void | LL_IWDG_DisableWriteAccess (IWDG_TypeDef *IWDGx) |
Disable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers KR KEY LL_IWDG_DisableWriteAccess. | |
__STATIC_INLINE void | LL_IWDG_SetPrescaler (IWDG_TypeDef *IWDGx, uint32_t Prescaler) |
Select the prescaler of the IWDG PR PR LL_IWDG_SetPrescaler. | |
__STATIC_INLINE uint32_t | LL_IWDG_GetPrescaler (IWDG_TypeDef *IWDGx) |
Get the selected prescaler of the IWDG PR PR LL_IWDG_GetPrescaler. | |
__STATIC_INLINE void | LL_IWDG_SetReloadCounter (IWDG_TypeDef *IWDGx, uint32_t Counter) |
Specifies the IWDG down-counter reload value RLR RL LL_IWDG_SetReloadCounter. | |
__STATIC_INLINE uint32_t | LL_IWDG_GetReloadCounter (IWDG_TypeDef *IWDGx) |
Get the specified IWDG down-counter reload value RLR RL LL_IWDG_GetReloadCounter. | |
__STATIC_INLINE void | LL_IWDG_SetWindow (IWDG_TypeDef *IWDGx, uint32_t Window) |
Specifies 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. |
Function Documentation
__STATIC_INLINE void LL_IWDG_DisableWriteAccess | ( | IWDG_TypeDef * | IWDGx ) |
Disable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers KR KEY LL_IWDG_DisableWriteAccess.
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
None
Definition at line 196 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_Enable | ( | IWDG_TypeDef * | IWDGx ) |
Start the Independent Watchdog.
- Note:
- Except if the hardware watchdog option is selected KR KEY LL_IWDG_Enable
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
None
Definition at line 163 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_EnableWriteAccess | ( | IWDG_TypeDef * | IWDGx ) |
Enable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers KR KEY LL_IWDG_EnableWriteAccess.
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
None
Definition at line 185 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE uint32_t LL_IWDG_GetPrescaler | ( | IWDG_TypeDef * | IWDGx ) |
Get the selected prescaler of the IWDG PR PR LL_IWDG_GetPrescaler.
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
Returned value can be one of the following values: - LL_IWDG_PRESCALER_4
- LL_IWDG_PRESCALER_8
- LL_IWDG_PRESCALER_16
- LL_IWDG_PRESCALER_32
- LL_IWDG_PRESCALER_64
- LL_IWDG_PRESCALER_128
- LL_IWDG_PRESCALER_256
Definition at line 233 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE uint32_t LL_IWDG_GetReloadCounter | ( | IWDG_TypeDef * | IWDGx ) |
Get the specified IWDG down-counter reload value RLR RL LL_IWDG_GetReloadCounter.
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
0..0x0FFF
Definition at line 256 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE uint32_t LL_IWDG_GetWindow | ( | IWDG_TypeDef * | IWDGx ) |
Get the high limit of the window value specified.
WINR WIN LL_IWDG_GetWindow
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
0..0x0FFF
Definition at line 279 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_ReloadCounter | ( | IWDG_TypeDef * | IWDGx ) |
Reloads IWDG counter with value defined in the reload register KR KEY LL_IWDG_ReloadCounter.
- Parameters:
-
IWDGx IWDG Instance
- Return values:
-
None
Definition at line 174 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_SetPrescaler | ( | IWDG_TypeDef * | IWDGx, |
uint32_t | Prescaler | ||
) |
Select the prescaler of the IWDG PR PR LL_IWDG_SetPrescaler.
- Parameters:
-
IWDGx IWDG Instance Prescaler This parameter can be one of the following values: - LL_IWDG_PRESCALER_4
- LL_IWDG_PRESCALER_8
- LL_IWDG_PRESCALER_16
- LL_IWDG_PRESCALER_32
- LL_IWDG_PRESCALER_64
- LL_IWDG_PRESCALER_128
- LL_IWDG_PRESCALER_256
- Return values:
-
None
Definition at line 215 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_SetReloadCounter | ( | IWDG_TypeDef * | IWDGx, |
uint32_t | Counter | ||
) |
Specifies the IWDG down-counter reload value RLR RL LL_IWDG_SetReloadCounter.
- Parameters:
-
IWDGx IWDG Instance Counter 0..0x0FFF
- Return values:
-
None
Definition at line 245 of file stm32l4xx_ll_iwdg.h.
__STATIC_INLINE void LL_IWDG_SetWindow | ( | IWDG_TypeDef * | IWDGx, |
uint32_t | Window | ||
) |
Specifies high limit of the window value to be compared to the down-counter.
WINR WIN LL_IWDG_SetWindow
- Parameters:
-
IWDGx IWDG Instance Window 0..0x0FFF
- Return values:
-
None
Definition at line 268 of file stm32l4xx_ll_iwdg.h.
Generated on Tue Jul 12 2022 11:35:23 by
