Tests to validate the proper implementation of the microsecond ticker. More...
Functions | |
void | us_ticker_info_test (void) |
Test that the ticker has the correct frequency and number of bits. More... | |
Tests to validate the proper implementation of the microsecond ticker.
To run the microsecond ticker hal tests use the command:
mbed test -t <toolchain> -m <target> -n tests-mbed_hal-common_ticker*,tests-mbed_hal-us_ticker*
void us_ticker_info_test | ( | void | ) |
Test that the ticker has the correct frequency and number of bits.
Given ticker is available. When ticker information data is obtained. Then ticker information indicate that: