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.
9 years, 5 months ago.
some registers not included in nrf51.h
I found some registers that appear in reference manual of nRF51822, but not included in nrf51.h. For example the register of HFCLKSRC and HFCLKRUN are in nRF51822 reference manual, but not included in nrf51.h. (The detailed descriptions on HFCLKSRC doesn't appear in reference manual...)
Is there any reason why some registers definitions are not included nrf51.h?
Best,
Question relating to:
2 Answers
9 years, 5 months ago.
Hi Junichi,
The HFCLKSRC register you have found in the reference manual is a documentation bug. So this will not be in the nrf51.h file, but the documentation will be fixed.
The HFCLKRUN register should have been part of the nrf51.h file, and I will look into why this is not included in the file, and get this fixed for you.
Thank you for detecting this bug!:)
9 years, 5 months ago.
nrf51.h is sourced from the Nordic SDK. If you don't find some registers, you should raise this with Nordic. Can you provide an example of a register you're unable to find in the headers?