We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Thanks for your help people! The definitions of the different types are located in another file ('ezusb.h'), which I have just found (no mention of this anywhere useful!). Everything appears to be correct now! Thanks again Richard