I use NRF52840 Evaluation Kit.
I want to use TIMER with nrf_drv_timer. However, I get an error and cannot use it. The error is the following part of "nrfx_timer.h".
#define NRFX_TIMER_INSTANCE(id) \
{ \
.p_reg = NRFX_CONCAT_2(NRF_TIMER, id), \
.instance_id = NRFX_CONCAT_3(NRFX_TIMER, id, _INST_IDX), \
.cc_channel_count = NRF_TIMER_CC_CHANNEL_COUNT(id), \
}