Change LPTICKER spec to allow clock freq starting at 4kHz

pull/7009/head
Bartek Szatkowski 2018-05-23 14:19:46 -05:00
parent e514c2c70d
commit 95559ad3e1
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);
}

View File

@ -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"