ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
adi_wdt.h
1 
45 #ifndef ADI_WDT_H
46 #define ADI_WDT_H
47 
48 #include <adi_callback.h>
49 
54 /* C++ linkage */
55 #ifdef __cplusplus
56 extern "C" {
57 #endif /* __cplusplus */
58 
60 typedef enum
61 {
67 
68 
69 /******************************************************************************
70  * PUBLIC API
71  * 1.) Eliminatable functions that may be optimized out by the linker
72  * 2.) Ordered by designed function call sequence
73  *****************************************************************************/
74 
75 ADI_WDT_RESULT adi_wdt_Enable (bool const bEnable, ADI_CALLBACK const pfCallback);
76 void adi_wdt_Kick (void);
77 void adi_wdt_GetCount(uint16_t * const pCurCount);
78 
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 
87 #endif /* ADI_WDT_H */
88 
ADI_WDT_RESULT adi_wdt_Enable(bool const bEnable, ADI_CALLBACK const pfCallback)
WDT Enable.
Definition: adi_wdt.c:115
void adi_wdt_Kick(void)
WDT Reset.
Definition: adi_wdt.c:172
void adi_wdt_GetCount(uint16_t *const pCurCount)
WDT Read Count.
Definition: adi_wdt.c:191
ADI_WDT_RESULT
Definition: adi_wdt.h:60