Hi All:
- Not called the above timeslot, peripheral timer(nrf_drv_timer_t m_timer = NRF_DRV_TIMER_INSTANCE(2)) Can enter timer_handler normally. code snippet:
- void timer_handler(nrf_timer_event_t event_type, void * p_context)
{
switch (event_type)
{
case NRF_TIMER_EVENT_COMPARE0:
NRF_LOG_INFO("AD time....\r\n");
break;
default:
//Do nothing.
break;
}
} - The following print:
But called the above timeslot ,timer cannot enter timer_handler properly.There's no print on it.