Macros | Functions
watchdog.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define WATCHDOG_INT_TYPE_INT   0x00000000
 
#define WATCHDOG_INT_TYPE_NMI   0x00000004
 

Functions

bool WatchdogRunning (uint32_t ui32Base)
 
void WatchdogEnable (uint32_t ui32Base)
 
void WatchdogResetEnable (uint32_t ui32Base)
 
void WatchdogResetDisable (uint32_t ui32Base)
 
void WatchdogLock (uint32_t ui32Base)
 
void WatchdogUnlock (uint32_t ui32Base)
 
bool WatchdogLockState (uint32_t ui32Base)
 
void WatchdogReloadSet (uint32_t ui32Base, uint32_t ui32LoadVal)
 
uint32_t WatchdogReloadGet (uint32_t ui32Base)
 
uint32_t WatchdogValueGet (uint32_t ui32Base)
 
void WatchdogIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void WatchdogIntUnregister (uint32_t ui32Base)
 
void WatchdogIntEnable (uint32_t ui32Base)
 
uint32_t WatchdogIntStatus (uint32_t ui32Base, bool bMasked)
 
void WatchdogIntClear (uint32_t ui32Base)
 
void WatchdogIntTypeSet (uint32_t ui32Base, uint32_t ui32Type)
 
void WatchdogStallEnable (uint32_t ui32Base)
 
void WatchdogStallDisable (uint32_t ui32Base)
 

Macro Definition Documentation

§ WATCHDOG_INT_TYPE_INT

#define WATCHDOG_INT_TYPE_INT   0x00000000

Referenced by WatchdogIntTypeSet().

§ WATCHDOG_INT_TYPE_NMI

#define WATCHDOG_INT_TYPE_NMI   0x00000004

Referenced by WatchdogIntTypeSet().

Copyright 2017, Texas Instruments Incorporated