I want to use RTC handler , so I used NRF_DRV_RTC_INSTANCE.
I use SDK 16.0.
#define NRFX_RTC_INSTANCE(id) \ { \ .p_reg = NRFX_CONCAT_2(NRF_RTC, id), \ .irq = NRFX_CONCAT_3(RTC, id, _IRQn), \ .instance_id = NRFX_CONCAT_3(NRFX_RTC, id, _INST_IDX), \ .cc_channel_count = NRF_RTC_CC_CHANNEL_COUNT(id), \ }
" 'NRFX_RTC"_INST_IDX' undeclared here (not in a function) ; did you mean 'NRFX_RTC_INT_TICK'?"
I get an error like this. Is there a solution?