Hello,
I am new to nrf52832 ,
My question is how to start the timer when external interrupt was rise and turn off timer again when external interrupt was rise
Kindly provide any solution ,
Thank you.
Hello,
I am new to nrf52832 ,
My question is how to start the timer when external interrupt was rise and turn off timer again when external interrupt was rise
Kindly provide any solution ,
Thank you.
My question is How to start and stop timer using external interrupt kindly provide any code
There's two ways to do this, you can use the PPI module to connect the external interrupt (GPIOTE) to the TIMER start/stop tasks. Or, you can control the timer from the GPIOTE event handler.
Example code is in our SDK:https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=5_1
i am initializing timer0 in pin_change_int i want measure time interval between start and stop time using external interrupt (button) please can you provide any code or related example