This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Maximum number of RTC tick

Does anyone know what's the maximum acceptable input timeout_ticks of function

uint32_t app_timer_start(app_timer_id_t timer_id, uint32_t timeout_ticks, void * p_context);

Is it 4294967295 (2^32 - 1) or 16777215 (2^24 - 1). I'm asking this because RTC is 24 bit clock. Thanks in advance.

Parents
  • FormerMember
    0 FormerMember

    Yes, since it is a 24 bit clock, the number of ticks until overflow is 2^24.

Reply
  • FormerMember
    0 FormerMember

    Yes, since it is a 24 bit clock, the number of ticks until overflow is 2^24.

Children
No Data