|
|
void | WDOG_HAL_Init (WDOG_Type *base) |
| Initializes the WDOG. More...
|
|
static bool | WDOG_HAL_IsEnabled (const WDOG_Type *base) |
| Verifies if the WDOG is enabled. More...
|
|
static void | WDOG_HAL_Enable (WDOG_Type *base) |
| Enables the WDOG. More...
|
|
static void | WDOG_HAL_Disable (WDOG_Type *base) |
| Disables the WDOG. More...
|
|
static void | WDOG_HAL_Trigger (WDOG_Type *base) |
| Refreshes the WDOG counter. More...
|
|
void | WDOG_HAL_Config (WDOG_Type *base, const wdog_user_config_t *config) |
| Configures all WDOG registers. More...
|
|
wdog_user_config_t | WDOG_HAL_GetConfig (const WDOG_Type *base) |
| Gets the current WDOG configuration. More...
|
|
static void | WDOG_HAL_SetWindow (WDOG_Type *base, bool enable) |
| Enables/Disables window mode. More...
|
|
static bool | WDOG_HAL_GetInt (const WDOG_Type *base) |
| Gets Interrupt Flag (FLG) status. More...
|
|
static void | WDOG_HAL_ClearInt (WDOG_Type *base) |
| Clears the Interrupt Flag. More...
|
|
static void | WDOG_HAL_SetPrescaler (WDOG_Type *base, bool enable) |
| Enables/Disables prescaler. More...
|
|
static void | WDOG_HAL_SetClockSource (WDOG_Type *base, wdog_clk_source_t clkSource) |
| Selects the clock source used by the WDOG. More...
|
|
static void | WDOG_HAL_SetInt (WDOG_Type *base, bool enable) |
| Enables/Disables WDOG interrupt. More...
|
|
static bool | WDOG_HAL_IsUpdateEnabled (const WDOG_Type *base) |
| Verifies if the WDOG updates are allowed. More...
|
|
static void | WDOG_HAL_SetUpdate (WDOG_Type *base, bool enable) |
| Enables/Disables WDOG updates. More...
|
|
static wdog_test_mode_t | WDOG_HAL_GetTestMode (const WDOG_Type *base) |
| Gets the WDOG test mode. More...
|
|
static void | WDOG_HAL_SetTestMode (WDOG_Type *base, wdog_test_mode_t testMode) |
| Changes the WDOG test mode. More...
|
|
static void | WDOG_HAL_SetDebug (WDOG_Type *base, bool enable) |
| Enables/Disables WDOG in debug mode. More...
|
|
static void | WDOG_HAL_SetWait (WDOG_Type *base, bool enable) |
| Enables/Disables WDOG in wait mode. More...
|
|
static void | WDOG_HAL_SetStop (WDOG_Type *base, bool enable) |
| Enables/Disables WDOG in stop mode. More...
|
|
static uint16_t | WDOG_HAL_GetCounter (const WDOG_Type *base) |
| Gets the value of the WDOG counter. More...
|
|
static void | WDOG_HAL_SetCounter (WDOG_Type *base, uint32_t counter) |
| Sets the value of the WDOG counter. More...
|
|
static uint16_t | WDOG_HAL_GetTimeout (const WDOG_Type *base) |
| Gets the value of the WDOG timeout. More...
|
|
static void | WDOG_HAL_SetTimeout (WDOG_Type *base, uint16_t timeout) |
| Sets the value of the WDOG timeout. More...
|
|
static void | WDOG_HAL_SetWindowValue (WDOG_Type *base, uint16_t window) |
| Sets the value of the WDOG window. More...
|
|
static bool | WDOG_HAL_IsUnlocked (const WDOG_Type *base) |
| Checks if the WDOG is unlocked. More...
|
|
static bool | WDOG_HAL_IsReconfigurationComplete (const WDOG_Type *base) |
| Checks if the last configuration of the WDOG was successful. More...
|
|
static void | WDOG_HAL_SetCmd32 (WDOG_Type *base, bool enable) |
| Enables/Disables support for 32-bit refresh/unlock command write words. More...
|
|