标题: 有关《蓝牙工程样例》的学习问题 [打印本页] 作者: 钟HL 时间: 2015-10-30 11:07 标题: 有关《蓝牙工程样例》的学习问题 请问要学习哪些知识才能读懂《蓝牙工程样例》中的代码?
例如:
一:static void timers_init(void)
{
// Initialize timer module, making it use the scheduler
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, true);
/* YOUR_JOB: Create any timers to be used by the application.
Below is an example of how to create a timer.
For every new timer needed, increase the value of the macro APP_TIMER_MAX_TIMERS by
one.
err_code = app_timer_create(&m_app_timer_id, APP_TIMER_MODE_REPEATED, timer_timeout_handler);
APP_ERROR_CHECK(err_code); */
}
当中的参数:APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE是什么意义?