Mistake on this page?
Report an issue in GitHub or email us
Functions
sleep hal tests

Functions

void sleep_usticker_test ()
 
void deepsleep_lpticker_test ()
 
void deepsleep_high_speed_clocks_turned_off_test ()
 

Detailed Description

The sleep HAL tests ensure driver conformance to defined behaviour.

To run the sleep hal tests use the command:

mbed test -t <toolchain> -m <target> -n tests-mbed_hal-sleep*

Function Documentation

void deepsleep_high_speed_clocks_turned_off_test ( )

High speed clocks are turned off in deep-sleep (unlocked deep-sleep)

Given is an environment with high frequency ticker. When the board enters deep-sleep mode. Then high frequency ticker does not count while the board is in the deep-sleep mode.

void deepsleep_lpticker_test ( )

Low power ticker interrupt to wake up from deep-sleep (unlocked deep-sleep).

Given is an environment with low power ticker. When the board enters deep-sleep mode. Then the board can be wake up from the sleep by low power ticker interrupt and wake-up time should be less than 10 ms.

void sleep_usticker_test ( )

High frequency ticker interrupt can wake up from sleep (locked deep-sleep).

Given is an environment with high frequency ticker. When the board enters sleep mode. Then the board can be wake up from the sleep by high frequency ticker interrupt and wake-up time should be less than 10 us.

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.