VSF Documented
|
#include <vsf_test.h>
Data Fields | ||
struct { | ||
vsf_test_wdt_t internal | ||
vsf_test_wdt_t external | ||
} | wdt | |
struct { | ||
vsf_test_reboot_t * internal | ||
Use the chip's internal reset, possibly a hot reset. More... | ||
vsf_test_reboot_t * external | ||
} | reboot | |
vsf_test_data_t | data | |
jmp_buf * | jmp_buf | |
struct { | ||
uint32_t size | ||
uint32_t offset | ||
vsf_test_case_t * array | ||
} | test_case | |
Information for each test. | ||
vsf_test_wdt_t vsf_test_t::internal |
internal watchdog means the watchdog inside the device
vsf_test_wdt_t vsf_test_t::external |
Use an external method to implement a watchdog, possibly via the reset pin or the device's power pin.
struct { ... } vsf_test_t::wdt |
Without a watchdog, we can still can test. But the watchdog provides stronger guarantees for tests: if a test is abnormal, the next test continues to run after the watchdog times out.
vsf_test_reboot_t* vsf_test_t::internal |
Use the chip's internal reset, possibly a hot reset.
vsf_test_reboot_t* vsf_test_t::external |
Use an external method to reset, possibly via the reset pin or the device's power pin.
struct { ... } vsf_test_t::reboot |
We perform a reset when the test program goes into exception.
vsf_test_data_t vsf_test_t::data |
Persistent data, each time the data in this structure is modified it should be actively synchronized to the assist device
jmp_buf* vsf_test_t::jmp_buf |
uint32_t vsf_test_t::size |
uint32_t vsf_test_t::offset |
vsf_test_case_t* vsf_test_t::array |
struct { ... } vsf_test_t::test_case |
Information for each test.