I want to generate a custom delay of one microsecond without using any timers By simply Executing instructions I want to generate. is there any possibility please let me know please
I want to generate a custom delay of one microsecond without using any timers By simply Executing instructions I want to generate. is there any possibility please let me know please
Hi,
You can use the nrf_delay_us() function from nrf_delay.h for this. But you should use a HW timer if you need a very accurate delay.
Hi Berg
nrf_delay_us();
I know this function but I want to make my own function it is not compulsory like that the delay should be accurate, approximately is enough, can you please let me know is there any possibility to get that
please help me out this
Sorry, but I'm not sure I understand what you mean. Do you need something more accurate than nrf_delay_us()? In that case, you need to use a HW timer. The nrf_delay_ functions are already optimized for accuracy.
Sorry, but I'm not sure I understand what you mean. Do you need something more accurate than nrf_delay_us()? In that case, you need to use a HW timer. The nrf_delay_ functions are already optimized for accuracy.