Mistake on this page?
Report an issue in GitHub or email us
ResetReason HAL tests

Greentea tests for the ResetReason HAL. More...


void test_reset_reason ()
 Test the Reset Reason HAL API. More...

Detailed Description

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

Function Documentation

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.