USB-BDI
|
00001 00009 #ifndef TP3465REGS_H_ 00010 #define TP3465REGS_H_ 00011 00012 // TP3465 register definitions 00014 __xdata __at(0x4000) volatile unsigned char SMB ; 00016 __xdata __at(0x4001) volatile unsigned char FMB ; 00018 __xdata __at(0x4002) volatile unsigned char FMBD0; 00020 __xdata __at(0x400A) volatile unsigned char CS ; 00022 __xdata __at(0x400B) volatile unsigned char SKP ; 00024 __xdata __at(0x400C) volatile unsigned char MWM ; 00026 __xdata __at(0x400D) volatile unsigned char SKR ; 00028 __xdata __at(0x400E) volatile unsigned char ST ; 00030 __xdata __at(0x400F) volatile unsigned char PD ; 00031 00032 00034 #define waitForUWDONE() {\ 00035 while (ST == 0){}\ 00036 } 00037 00038 #endif /*TP3465REGS_H_*/