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

SDK 6.0.0 timer

hi,

can i use timer interrupt has more than 1ms period??

#define APP_TIMER_TICKS(MS, PRESCALER)
((uint32_t)ROUNDED_DIV((MS) * (uint64_t)APP_TIMER_CLOCK_FREQ, ((PRESCALER) + 1) * 1000))

APP_TIMER_TICKS offers just ms units but i need more faster timer interrupt

the initializing code in below

app_timer_start(m_pwm_b_timer_id, APP_TIMER_TICKS(1, APP_TIMER_PRESCALER), NULL);

thanks.

Parents Reply Children
No Data
Related