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
{
33
ADI_WDT_SUCCESS
,
35
ADI_WDT_FAILURE_LOCKED
36
}
ADI_WDT_RESULT
;
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_SUCCESS
Definition:
adi_wdt.h:33
adi_wdt_Enable
ADI_WDT_RESULT adi_wdt_Enable(bool const bEnable, ADI_CALLBACK const pfCallback)
WDT Enable.
Definition:
adi_wdt.c:84
ADI_WDT_FAILURE_LOCKED
Definition:
adi_wdt.h:35
adi_wdt_Kick
void adi_wdt_Kick(void)
WDT Reset.
Definition:
adi_wdt.c:141
adi_wdt_GetCount
void adi_wdt_GetCount(uint16_t *const pCurCount)
WDT Read Count.
Definition:
adi_wdt.c:160
ADI_WDT_RESULT
ADI_WDT_RESULT
Definition:
adi_wdt.h:30
Include
drivers
wdt
adi_wdt.h
Generated on Tue Aug 31 2021 19:04:43 for ADuCM4x50 Device Drivers API Reference Manual by
1.8.15