Greentea tests for the ResetReason HAL. More...
Functions | |
void | test_reset_reason () |
Test the Reset Reason HAL API. More... | |
Greentea tests for the ResetReason HAL.
To run the ResetReason HAL tests, use the command:
mbed test -t <toolchain> -m <target> -n tests-mbed_hal-reset_reason
void test_reset_reason | ( | ) |
Test the Reset Reason HAL API.
Given a device supporting a Reset Reason API, when the device is restarted, then the device returns a correct reset reason for every restart.