Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Microsecond Ticker tests
[Microsecond Ticker]
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. |
Detailed Description
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*
- See also:
- Ticker Tests
Function Documentation
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 frequency between 250KHz and 8MHz and the counter is at least 16 bits wide.
Definition at line 30 of file mbed-os/TESTS/mbed_hal/us_ticker/main.cpp.
Generated on Tue Aug 9 2022 00:37:30 by
