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

Header files for Cypress EZ-USB

Hi there!

I am totally new to the 8051 and the Keil compiler, my problem lies with the header files for the EZ-USB FX device from Cypress. Could sombody please explain how the compiler interprets the BYTE, WORD and EPIOC types? The examples shown below are taken from the 'ezregs.h' and 'fx.h' files. I have looked at the example files and there does not appear to be any #define BYTE ... anywhere.


EXTERN xdata volatile EPIOC EPIO[16] _AT_ 0x7FB4;
EXTERN xdata volatile BYTE SUDPTRH _AT_ 0x7FD4;
EXTERN xdata volatile WORD DMADEST _AT_ 0x7851;

Thanks in advance, and sorry if this is a really obvious problem!

Richard

Parents Reply Children
No data