Hi,
How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice? Or any other way Thanks and Regards,just to get timestamps from timer? Faizan.
Hi,
How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice? Or any other way Thanks and Regards,just to get timestamps from timer? Faizan.
When using app_timer you can read the counter value of RTC1 using app_timer_cnt_get()
. This simply gives you the register value, as it returns NRF_RTC1->COUNTER
.
typedef app_timer_t * app_timer_id_t Timer ID type. Never declare a variable of this type, but use the macro APP_TIMER_DEF instead.
Why should i not declare a variable of this type??? Where as APP_TIMER_DEF is doing the same thing???
May be i understood it wrong. Please correct me
typedef app_timer_t * app_timer_id_t Timer ID type. Never declare a variable of this type, but use the macro APP_TIMER_DEF instead.
Why should i not declare a variable of this type??? Where as APP_TIMER_DEF is doing the same thing???
May be i understood it wrong. Please correct me