Skip to content

Commit a8eee0f

Browse files
mprsebulislaw
authored andcommitted
Modify requirement for the ticker_init function.
Current version: The function ticker_init resets the internal count and disables the ticker interrupt. Proposed version: The function ticker_init allows the ticker to keep counting and disables the ticker interrupt. This is a result of the following discussion: ARMmbed#5233 (review)
1 parent 7227670 commit a8eee0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/us_ticker_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extern "C" {
6161
*
6262
* # Defined behavior
6363
* * The function ticker_init is safe to call repeatedly - Verified by test ::ticker_init_test
64-
* * The function ticker_init resets the internal count and disables the ticker interrupt - Verified by test ::ticker_init_test
64+
* * The function ticker_init allows the ticker to keep counting and disables the ticker interrupt - Verified by test ::ticker_init_test
6565
* * Ticker frequency is non-zero and counter is at least 8 bits - Verified by ::ticker_info_test
6666
* * The ticker rolls over at (1 << bits) and continues counting starting from 0 - Verified by ::ticker_overflow_test
6767
* * The ticker counts at the specified frequency +- 10% - Verified by ::ticker_frequency_test

0 commit comments

Comments
 (0)