mirror of https://github.com/ARMmbed/mbed-os.git
Change LPTICKER spec to allow clock freq starting at 4kHz
parent
e514c2c70d
commit
95559ad3e1
|
@ -32,7 +32,7 @@ extern "C" {
|
|||
*
|
||||
* Given ticker is available.
|
||||
* When ticker information data is obtained.
|
||||
* Then collected data indicates that ticker frequency is between 8KHz and 64KHz and the counter is at least 12 bits wide.
|
||||
* Then collected data indicates that ticker frequency is between 4KHz and 64KHz and the counter is at least 12 bits wide.
|
||||
*/
|
||||
void lp_ticker_info_test(void);
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ void lp_ticker_info_test()
|
|||
{
|
||||
const ticker_info_t* p_ticker_info = lp_ticker_get_info();
|
||||
|
||||
TEST_ASSERT(p_ticker_info->frequency >= 8000);
|
||||
TEST_ASSERT(p_ticker_info->frequency >= 4000);
|
||||
TEST_ASSERT(p_ticker_info->frequency <= 64000);
|
||||
TEST_ASSERT(p_ticker_info->bits >= 12);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
* Low level interface to the low power ticker of a target
|
||||
*
|
||||
* # Defined behavior
|
||||
* * Has a reported frequency between 8KHz and 64KHz - verified by ::lp_ticker_info_test
|
||||
* * Has a reported frequency between 4KHz and 64KHz - verified by ::lp_ticker_info_test
|
||||
* * Has a counter that is at least 12 bits wide - verified by ::lp_ticker_info_test
|
||||
* * Continues operating in deep sleep mode - verified by ::lp_ticker_deepsleep_test
|
||||
* * All behavior defined by the @ref hal_ticker_shared "ticker specification"
|
||||
|
|
Loading…
Reference in New Issue