ADuCM4x50 Device Drivers API Reference Manual  Release 4.0.0.0
adi_wdt.h
1 
15 #ifndef ADI_WDT_H
16 #define ADI_WDT_H
17 
18 #include <adi_callback.h>
19 
24 /* C++ linkage */
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* __cplusplus */
28 
30 typedef enum
31 {
37 
38 
39 /******************************************************************************
40  * PUBLIC API
41  * 1.) Eliminatable functions that may be optimized out by the linker
42  * 2.) Ordered by designed function call sequence
43  *****************************************************************************/
44 
45 ADI_WDT_RESULT adi_wdt_Enable (bool const bEnable, ADI_CALLBACK const pfCallback);
46 void adi_wdt_Kick (void);
47 void adi_wdt_GetCount(uint16_t * const pCurCount);
48 
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 
57 #endif /* ADI_WDT_H */
58 
ADI_WDT_RESULT adi_wdt_Enable(bool const bEnable, ADI_CALLBACK const pfCallback)
WDT Enable.
Definition: adi_wdt.c:84
void adi_wdt_Kick(void)
WDT Reset.
Definition: adi_wdt.c:141
void adi_wdt_GetCount(uint16_t *const pCurCount)
WDT Read Count.
Definition: adi_wdt.c:160
ADI_WDT_RESULT
Definition: adi_wdt.h:30