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
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.
View all questions in Keil forum