This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

predifined cc2530 rf register are differents to datasheet

Hi,
I work on a cc2530 register with keil IDE.
I have import the file cc2510.h but i don't understand why rf registers are different with the datasheet.

Moreover these registers are define in XREG. What is this?

#define ADDR XREG( 0xDF05 ) /* Device address
#define CHANNR XREG( 0xDF06 ) /* Channel number

Why the register 0xDF06 is not define in the datasheet?

Sorry for my bad english...

Antho

Parents
  • XREG is just another #define somewhere - it might typecast the integer into a void pointer or similar. Just scan the header files and see what XREG does. Or preprocess the source code and look at the output after preprocessor expansion.

Reply
  • XREG is just another #define somewhere - it might typecast the integer into a void pointer or similar. Just scan the header files and see what XREG does. Or preprocess the source code and look at the output after preprocessor expansion.

Children
No data