hello everyone:
how many timers can i open in nrf51822(QFAA) with SDK9.0? the APP_TIMER_MAX_TIMERS's max value
#define APP_TIMER_MAX_TIMERS 13 /**< Maximum number of simultaneously created timers. */
hello everyone:
how many timers can i open in nrf51822(QFAA) with SDK9.0? the APP_TIMER_MAX_TIMERS's max value
#define APP_TIMER_MAX_TIMERS 13 /**< Maximum number of simultaneously created timers. */
Hi,
There is no fixed max limit. You are only limited by the available RAM. So you should be able to create a couple of hundred timers.
uint32_t app_timer_create(app_timer_id_t * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler)
we use the function to init timers.it can set "APP_TIMER_MODE_SINGLE_SHOT" or "APP_TIMER_MODE_REPEATED"
you say that only limited by the available RAM..i want to know if i set it to APP_TIMER_MODE_SINGLE_SHOT,when i not use or use use up it , it will also occupy the RAM??
uint32_t app_timer_create(app_timer_id_t * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler)
we use the function to init timers.it can set "APP_TIMER_MODE_SINGLE_SHOT" or "APP_TIMER_MODE_REPEATED"
you say that only limited by the available RAM..i want to know if i set it to APP_TIMER_MODE_SINGLE_SHOT,when i not use or use use up it , it will also occupy the RAM??