This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822 getting started

Hi guys,

I am trying to use the timer 1 on the nrf51822. I found the sample code online which could probably do the job for me. But I wanted to know what is the standard documentation to use if I want to get a timer to work. Generally there would be a datasheet somewehere which would guide me. But here the only thing I see is the NRF_TIMER_Type; defined in nrf51.h. What is the general procedure to activate a timer and enable interrupts ? Where is the timescale specifed. Lets say I want a 200 microsecond interval. Where would I look? Could some please help me out

Related