S32 SDK
wdog_driver.c File Reference
#include "wdog_driver.h"

Go to the source code of this file.

Functions

static status_t WDOG_DRV_Config (uint32_t instance, wdog_user_config_t wdogUserConfig)
 
status_t WDOG_DRV_Init (uint32_t instance, const wdog_user_config_t *userConfigPtr)
 Initializes the WDOG driver. More...
 
void WDOG_DRV_Deinit (uint32_t instance)
 De-initializes the WDOG driver. More...
 
void WDOG_DRV_GetConfig (uint32_t instance, wdog_user_config_t *config)
 Gets the current configuration of the WDOG. More...
 
status_t WDOG_DRV_SetInt (uint32_t instance, bool enable, void(*handler)(void))
 Enables/Disables the WDOG timeout interrupt and sets a function to be called when a timeout interrupt is received, before reset. More...
 
void WDOG_DRV_Trigger (uint32_t instance)
 Refreshes the WDOG counter. More...
 

Variables

WDOG_Type *const g_wdogBase [] = WDOG_BASE_PTRS
 Table of base addresses for WDOG instances. More...
 
const IRQn_Type g_wdogIrqId [] = WDOG_IRQS
 Table to save WDOG IRQ enum numbers defined in CMSIS header file. More...
 

Function Documentation

static status_t WDOG_DRV_Config ( uint32_t  instance,
wdog_user_config_t  wdogUserConfig 
)
static

Definition at line 172 of file wdog_driver.c.