I don't know if this is the right pace to ask, if not, I apologize, please point me on the right place, thanks.
I'm using a Winbond W925E240 and I found it in the supported chips: http://www.keil.com/dd/chip/3523.htm I have a question on the header file for this chip. The chip has some internal register byte addressable and some other bit addressable.
One of the bit addressable registers is the register EIP. In the data sheet that register is described like this:
Bit: 7 6 5 4 3 2 1 0 - - PWDI PCOMP PDIV PCID PX3 PX2
But in the header file I see only one bit defined:
/* EIP */ sbit PWDI = EIP^4;
I found two problem in this: first, I have no idea on why there is only the PWDI bit and not the other bits defind; second, it seems to me that the bit is not in the correct position.
I was expecting to see something like this:
sbit PX2 = EIP^0; sbit PX3 = EIP^1; sbit PCID = EIP^2; sbit PDIV = EIP^3; sbit PCOMP = EIP^4; sbit PWDI = EIP^5;
Am I wrong or what? Thanks in advance.