VSF Documented
|
#include <vsf_test.h>
Data Fields | |
void(* | init )(vsf_test_wdt_t *wdt, uint32_t timeout_ms) |
void(* | feed )(vsf_test_wdt_t *wdt) |
The feed function will be called once after each test is completed. | |
uint32_t | timeout_ms |
void(* vsf_test_wdt_t::init) (vsf_test_wdt_t *wdt, uint32_t timeout_ms) |
Watchdog driver. In hardware, the watchdog usually cannot be reconfigured after initialization, so here the initialization function is called just once after power-up
void(* vsf_test_wdt_t::feed) (vsf_test_wdt_t *wdt) |
The feed function will be called once after each test is completed.
uint32_t vsf_test_wdt_t::timeout_ms |
Watchdog timeout time (in milliseconds), if not set, the default time (VSF_TEST_CFG_INTERNAL_TIMEOUT_MS or VSF_TEST_CFG_EXTERNAL_TIMEOUT_MS) will be used