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
{
63
ADI_WDT_SUCCESS
,
65
ADI_WDT_FAILURE_LOCKED
66
}
ADI_WDT_RESULT
;
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_SUCCESS
Definition:
adi_wdt.h:63
adi_wdt_Enable
ADI_WDT_RESULT adi_wdt_Enable(bool const bEnable, ADI_CALLBACK const pfCallback)
WDT Enable.
Definition:
adi_wdt.c:115
ADI_WDT_FAILURE_LOCKED
Definition:
adi_wdt.h:65
adi_wdt_Kick
void adi_wdt_Kick(void)
WDT Reset.
Definition:
adi_wdt.c:172
adi_wdt_GetCount
void adi_wdt_GetCount(uint16_t *const pCurCount)
WDT Read Count.
Definition:
adi_wdt.c:191
ADI_WDT_RESULT
ADI_WDT_RESULT
Definition:
adi_wdt.h:60
Include
drivers
wdt
adi_wdt.h
Generated on Mon Aug 6 2018 21:48:23 for ADuCM302x Device Drivers API Reference Manual by
1.8.13