Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 8 months ago.
Is rtc_api implemented for nRF51?
I want to use the time library and the RTC functions of the nRF51, but am not sure if the rtc api is implemented for my target.
I'm using the nRF51-DK platform, however when I search for the rtc_api.c, I can see that it's implemented for TARGET_DELTA_DFCM_NNN40, but not for the TARGET_NRF51_DK.
I'm not totally clear on how the mbed build process works, so forgive any ignorance in the question.
If I use the time functions, will it use the nRF51 timer as the rtc, or do I have to implement my own code as in following example