|
HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Extensions for WDG peripherals. More...
#include "sarmfsw.h"

Functions | |
| bool | WDG_ex_get_IWDG_state (void) |
| Get IWDG status. | |
| bool | WDG_ex_get_WWDG_state (void) |
| Get IWDG status. | |
| void | WDG_ex_refresh_all (void) |
| Refresh IWDG & WWDG. | |
| void | WDG_ex_refresh_IWDG (void) |
| Refresh IWDG. | |
| void | WDG_ex_refresh_WWDG (void) |
| Refresh WWDG. | |
| void | WDG_ex_save_cfg (void) |
| Save IWDG & WWDG configuration. | |
| HAL_StatusTypeDef | WDG_ex_restore_cfg (void) |
| Restore saved IWDG & WWDG configuration. | |
| HAL_StatusTypeDef | WDG_ex_set_IWDG_Period_us (IWDG_HandleTypeDef *const pIwdg, const uint32_t per) |
| Set IWDG period (in us) | |
| HAL_StatusTypeDef | WDG_ex_set_IWDG_Period_ms (IWDG_HandleTypeDef *const pIwdg, const uint32_t per) |
| Set IWDG period (in ms) | |
| uint32_t | WDG_ex_get_IWDG_Period_us (const IWDG_HandleTypeDef *const pIwdg) |
| Get IWDG period (in us) | |
| uint32_t | WDG_ex_get_IWDG_Period_ms (const IWDG_HandleTypeDef *const pIwdg) |
| Get IWDG period (in ms) | |
| HAL_StatusTypeDef | WDG_ex_Init (void) |
| Initialize WDG_ex module and start watchdog(s) | |
Extensions for WDG peripherals.
MX_IWDG_Init and/or MX_WWDG_Init in HAL generated from ioc file, WDG_ex_Init have to be called instead at the end of your init routine.
|
inline |
Get IWDG period (in ms)
| [in] | pIwdg | - Pointer to IWDG instance |

| uint32_t WDG_ex_get_IWDG_Period_us | ( | const IWDG_HandleTypeDef *const | pIwdg | ) |
Get IWDG period (in us)
| [in] | pIwdg | - Pointer to IWDG instance |

| bool WDG_ex_get_IWDG_state | ( | void | ) |
Get IWDG status.
| bool WDG_ex_get_WWDG_state | ( | void | ) |
Get IWDG status.
| HAL_StatusTypeDef WDG_ex_Init | ( | void | ) |
Initialize WDG_ex module and start watchdog(s)

| void WDG_ex_refresh_all | ( | void | ) |
Refresh IWDG & WWDG.
| void WDG_ex_refresh_IWDG | ( | void | ) |
Refresh IWDG.
| void WDG_ex_refresh_WWDG | ( | void | ) |
Refresh WWDG.
| HAL_StatusTypeDef WDG_ex_restore_cfg | ( | void | ) |
Restore saved IWDG & WWDG configuration.
| void WDG_ex_save_cfg | ( | void | ) |
Save IWDG & WWDG configuration.

|
inline |
Set IWDG period (in ms)
| [in,out] | pIwdg | - Pointer to IWDG instance |
| [in] | per | - Period (in ms) |

| HAL_StatusTypeDef WDG_ex_set_IWDG_Period_us | ( | IWDG_HandleTypeDef *const | pIwdg, |
| const uint32_t | per ) |
Set IWDG period (in us)
| [in,out] | pIwdg | - Pointer to IWDG instance |
| [in] | per | - Period (in us) |
