![]() |
S32 SDK
|
#include <stddef.h>
#include <stdbool.h>
#include "device_registers.h"
#include "wdog_hal.h"
#include "interrupt_manager.h"
#include "clock_manager.h"
#include "status.h"
Go to the source code of this file.
Functions | |
WDOG Driver API | |
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_INSTANCE_COUNT] |
Table of base addresses for WDOG instances. More... | |
const IRQn_Type | g_wdogIrqId [WDOG_INSTANCE_COUNT] |
Table to save WDOG IRQ enum numbers defined in CMSIS header file. More... | |