#include "watchdog/watchdog.h"Go to the source code of this file.
Watchdog driver implementation.
Implements the functions defined in watchdog.h for controlling Watchdog input/output and interrupts on the EfxSapphireSoC platform.
Definition in file watchdog.c.
Functions | |
| u32 | watchdog_getCounterValue (watchdog_instance_t *inst, u32 counterId) |
| Get current Counter Value. | |
| void | watchdog_setPrescaler (watchdog_instance_t *inst, u32 value) |
| Set Watchdog Prescaler Value. | |
| void | watchdog_setCounterLimit (watchdog_instance_t *inst, u32 counterId, u32 value) |
| Set Watchdog Counter Limit. | |
| void | watchdog_setHeartBeat (watchdog_instance_t *inst, watchdog_heartbeat_t value) |
| Set Watchdog Heartbeat Action. | |
| void | watchdog_clear (watchdog_instance_t *inst) |
| Send Clear Heartbeat to Watchdog. | |
| void | watchdog_lock (watchdog_instance_t *inst) |
| Send Lock Heartbeat to Watchdog. | |
| void | watchdog_unlock (watchdog_instance_t *inst) |
| Send Unlock Heartbeat to Watchdog. | |
| void | watchdog_enable (watchdog_instance_t *inst, u32 mask) |
| Enable Watchdog Counters. | |
| void | watchdog_disable (watchdog_instance_t *inst, u32 mask) |
| Disable Watchdog Counters. | |
| u32 | watchdog_getEnable (watchdog_instance_t *inst) |
| Get Watchdog Enable Register. | |
| void | watchdog_applyConfig (watchdog_instance_t *inst) |
| Apply the software configuration to the hardware. | |