Trident IoT SDK
 
Loading...
Searching...
No Matches
tr_hal_wdog.h
Go to the documentation of this file.
1
10
11#ifndef TR_HAL_WDOG_H_
12#define TR_HAL_WDOG_H_
13
14#include "tr_hal_platform.h"
15
16
20
21
27
28
32
33// loads the WDOG chip registers with the settings passed in
34// returns an error if settings are incompatible
36
37
41
42// enable / disable watchdog
45
46// is watchdog currently running
48
49
53
54// starts timer over again from initial value
56
57
61
62// read how many resets have been due to the WDOG
64
65// read the current time, initial time, and min time
67 uint32_t* curr_time,
68 uint32_t* int_time,
69 uint32_t* min_time);
70
71
75
76
77#endif //TR_HAL_WDOG_H_
tr_hal_status_t
Definition tr_hal_common.h:25
tr_hal_status_t tr_hal_wdog_init(tr_hal_wdog_settings_t *wdog_settings)
tr_hal_status_t tr_hal_wdog_read_num_resets(uint32_t *num_resets)
tr_hal_status_t tr_hal_wdog_enable(void)
tr_hal_status_t tr_hal_wdog_disable(void)
tr_hal_status_t tr_hal_wdog_read_curr_state(uint32_t *initial_time, uint32_t *curr_time, uint32_t *int_time, uint32_t *min_time)
tr_hal_status_t tr_hal_wdog_reset(void)
tr_hal_status_t tr_hal_is_wdog_enabled(bool *is_enabled)
Definition T32CM11_wdog.h:180