
Designer Reference Manual USB08 Evaluation Board
92 Source Code Files MOTOROLA
Source Code Files
#define BM_T0SEQ 0x80 // E P0 Tx Sequence Bit (DATA 0/1)
#define BM_TX0E 0x20 // E P0 Tx Enable
#define BM_RX0E 0x10 // E P0 Rx Enable
//#define BM_TP0SIZ 0x0f // EP0 Tx Data Packet Size
// Bits in UCR1:
#define BM_T1SEQ 0x80 // E P1 Tx Sequence Bit (DATA 0/1)
#define BM_STALL1 0x40 // EP1 Forc e St all Bit
#define BM_TX1E 0x20 // E P1 Tx Enable
//#define BM_TP1SIZ 0x0f // EP1 Tx Data Packet Size
// Bits in UCR2:
#define BM_STALL2 0x40 // EP2 Forc e St all Bit
#define BM_RX2E 0x10 // E P2 Rx Enable
// Bits in UCR3:
#define BM_TX1STR 0x40 // Clear EP0 Transmit-1st Flag
#define BM_OSTALL0 0x20 // EP0 forc e ST ALL Bit for OUT Token
#define BM_ISTALL0 0x10 // EP0 forc e ST ALL Bit for IN Token
#define BM_PULLEN 0x04 // Pul l- up En able
#define BM_ENABLE2 0x02 // EP2 Enable
#define BM_ENABLE1 0x01 // EP1 Enable
// Bits in USR0:
// #define BM_R0SEQ 0x80 // E P0 Rx Sequence Bit (DATA 0/1)
#define BM_SETUP 0x40 // S etup Token Detect Bit
//#define BM_RP0SIZ 0x0f // EP0 Rx Data Packet Size
// Bits in USR1:
//#define BM_R2SEQ 0x80 // EP2 Rx Sequence Bit (D ATA0/1)
#define BM_RP2SIZ 0x0f // EP2 Rx Data Packet Siz e
//--------------------- ------------------------ ----------------------- --------
#endif