CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
watchdog.h File Reference
`#include <stdbool.h>`
`#include <stdint.h>`
`#include <inc/hw_types.h>`
`#include <inc/hw_ints.h>`
`#include <inc/hw_memmap.h>`
`#include <inc/hw_wdt.h>`
`#include <driverlib/debug.h>`
`#include <driverlib/interrupt.h>`

Go to the source code of this file.

## Macros
#define | WATCHDOG_LOCK_UNLOCKED 0x00000000
#define | WATCHDOG_LOCK_LOCKED 0x00000001
#define | WATCHDOG_LOCK_UNLOCK 0x1ACCE551
#define | WATCHDOG_INT_TIMEOUT 0x00000001
#define | WATCHDOG_INT_TYPE_INT 0x00000000
#define | WATCHDOG_INT_TYPE_NMI 0x00000004

## Functions
__STATIC_INLINE bool | WatchdogRunning (void)
| Determines if the watchdog timer is enabled. More...
__STATIC_INLINE void | WatchdogEnable (void)
| Enables the watchdog timer. More...
__STATIC_INLINE void | WatchdogResetEnable (void)
| Enables the watchdog timer reset. More...
__STATIC_INLINE void | WatchdogResetDisable (void)
| Disables the watchdog timer reset. More...
__STATIC_INLINE void | WatchdogLock (void)
| Enables the watchdog timer lock mechanism. More...
__STATIC_INLINE void | WatchdogUnlock (void)
| Disables the watchdog timer lock mechanism. More...
__STATIC_INLINE bool | WatchdogLockState (void)
| Gets the state of the watchdog timer lock mechanism. More...
__STATIC_INLINE void | WatchdogReloadSet (uint32_t ui32LoadVal)
| Sets the watchdog timer reload value. More...
__STATIC_INLINE uint32_t | WatchdogReloadGet (void)
| Gets the watchdog timer reload value. More...
__STATIC_INLINE uint32_t | WatchdogValueGet (void)
| Gets the current watchdog timer value. More...
__STATIC_INLINE void | WatchdogIntRegister (void(*pfnHandler)(void))
| Registers an interrupt handler for the watchdog timer interrupt. More...
__STATIC_INLINE void | WatchdogIntUnregister (void)
| Unregisters an interrupt handler for the watchdog timer interrupt. More...
__STATIC_INLINE void | WatchdogIntEnable (void)
| Enables the watchdog timer interrupt. More...
__STATIC_INLINE uint32_t | WatchdogIntStatus (void)
| Gets the current watchdog timer interrupt status. More...
__STATIC_INLINE void | WatchdogIntClear (void)
| Clears the watchdog timer interrupt. More...
__STATIC_INLINE void | WatchdogIntTypeSet (uint32_t ui32Type)
| Sets the type of interrupt generated by the watchdog. More...
__STATIC_INLINE void | WatchdogStallEnable (void)
| Enables stalling of the watchdog timer during debug events. More...
__STATIC_INLINE void | WatchdogStallDisable (void)
| Disables stalling of the watchdog timer during debug events. More...