CC35xxDriverLibrary
watchdog.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_hostmcu_aon.h"
#include "../inc/hw_ints.h"
Include dependency graph for watchdog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HOSTMCU_AON_CFGWICSNS_ELP_TMR_EN   (HOSTMCU_AON_CFGWICSNS_VAL_TMRREQ_EN << 0)
 
#define HOSTMCU_AON_CFGWUTP_ELP_TMR_FAST   (HOSTMCU_AON_CFGWUTP_VAL_TMRREQ << 0)
 

Functions

__STATIC_INLINE void WatchdogClearWakeUpEvent (void)
 Clears the timer wake-up event. More...
 
__STATIC_INLINE void WatchdogDisableWakeUpEvent (void)
 Disables the timer wake-up event. More...
 
__STATIC_INLINE void WatchdogDisableResetEvent (void)
 Disables the timer reset event. More...
 
__STATIC_INLINE void WatchdogEnableWakeUpEvent (void)
 Enables the timer wake-up event. More...
 
__STATIC_INLINE void WatchdogEnableResetEvent (void)
 Enables the timer reset event. More...
 
__STATIC_INLINE bool WatchdogStatus (void)
 Reads the status of the timer. More...
 
__STATIC_INLINE void WatchdogWaitUntilEnabled (void)
 Waits until the timer is enabled. More...
 
__STATIC_INLINE void WatchdogWaitUntilDisabled (void)
 Waits until the timer is disabled. More...
 
__STATIC_INLINE void WatchdogReset (void)
 Re-sets the timer back to zero. More...
 
__STATIC_INLINE void WatchdogSetWakeUpThreshold (uint32_t ticks)
 Sets the wake-up threshold. More...
 
__STATIC_INLINE void WatchdogSetResetThreshold (uint32_t ticks)
 Sets the reset threshold. More...
 
__STATIC_INLINE void WatchdogSetSwMode (void)
 Configures the timer to work in software mode. More...
 
void WatchdogStartSequence (void)
 Sequence to start the timer. More...
 
void WatchdogStopSequence (void)
 Sequence to stop the timer. More...