Hi all, I am working on imote2 development with tinyos1.x now, I am a little confused about the register definition for PXA27X.
from "/opt/tinyos-1.x/beta/platform/pxa27x" I got file "pxa27x_registers_def.h" (filetos1) from "/opt/tinyos-2.x/tos/chips/pxa27x" I got file "pxa27x_registers.h" (filetos2) The first file has few comments about the meaning of different registers, so I make a compare with the second file. However, I find some conflicts. (I just took a look at "UART" related register) filetos1 #define LCR_WLS(n) (n & 0x3) filetos2 #define LCR_WLS(_x) ((_x) << 0) /* Word Length Select */ filetos1 #define IIR_IID_MASK (~(((1<<2)-1) << 1)) filetos2 #define IIR_IID_MASK (0x3 << 1) /* Interrupt Source Encoded */ filetos1 #define IER_RTOIE (1 << 4) filetos2 #define IER_RTIOE (1 << 4) /* Receiver Time Out Interrupt Enable */ Will these differences cause potential bug? Which one is right? Does anyone have a developer guide for PXA27X? It seems like Intel removed related documents from the website... I got one named"PXA27x family design guide", but helps little, but I still do not know how to opeate pxa27x register... Very appreciated for your help! Yang Our Sensorweb Research Lab ----http://sensorweb.vancouver.wsu.edu/
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
