wdg_pal.c File Reference
#include "wdg_pal.h"
#include "stddef.h"

Go to the source code of this file.

Functions

Watchdog Peripheral Abstraction Layer
status_t WDG_Init (const wdg_instance_t *const instance, const wdg_config_t *configPtr)
 Initializes the WDG PAL. More...
 
void WDG_GetDefaultConfig (wdg_config_t *const config)
 Gets default configuration of the WDG PAL. More...
 
void WDG_Refresh (const wdg_instance_t *const instance)
 Refreshes the WDG PAL counter. More...
 
status_t WDG_Deinit (const wdg_instance_t *const instance)
 De-initializes the WDG PAL. More...
 
status_t WDG_SetInt (const wdg_instance_t *const instance, bool enable)
 Set interrupt for WDG PAL. More...
 
status_t WDG_SetTimeout (const wdg_instance_t *const instance, uint32_t value)
 Sets the value of the WDG PAL timeout. More...
 
status_t WDG_SetWindow (const wdg_instance_t *const instance, bool enable, uint32_t value)
 Set window mode and window value of the WDG PAL. More...
 
status_t WDG_GetCounter (const wdg_instance_t *const instance, uint32_t *value)
 Gets the value of the WDG PAL counter. More...
 
void WDG_ClearIntFlag (const wdg_instance_t *const instance)
 Clears the Timeout Interrupt Flag. More...