beautypg.com

Source code files – Motorola USB08 User Manual

Page 92

background image

Designer Reference Manual

USB08 Evaluation Board

92

Source Code Files

MOTOROLA

Source Code Files

#define BM_T0SEQ

0x80

// EP0 Tx Sequence Bit (DATA0/1)

#define BM_TX0E

0x20

// EP0 Tx Enable

#define BM_RX0E

0x10

// EP0 Rx Enable

//#define BM_TP0SIZ

0x0f

// EP0 Tx Data Packet Size

// Bits in UCR1:

#define BM_T1SEQ

0x80

// EP1 Tx Sequence Bit (DATA0/1)

#define BM_STALL1

0x40

// EP1 Force Stall Bit

#define BM_TX1E

0x20

// EP1 Tx Enable

//#define BM_TP1SIZ

0x0f

// EP1 Tx Data Packet Size

// Bits in UCR2:

#define BM_STALL2

0x40

// EP2 Force Stall Bit

#define BM_RX2E

0x10

// EP2 Rx Enable

// Bits in UCR3:

#define BM_TX1STR

0x40

// Clear EP0 Transmit-1st Flag

#define BM_OSTALL0

0x20

// EP0 force STALL Bit for OUT Token

#define BM_ISTALL0

0x10

// EP0 force STALL Bit for IN Token

#define BM_PULLEN

0x04

// Pull-up Enable

#define BM_ENABLE2

0x02

// EP2 Enable

#define BM_ENABLE1

0x01

// EP1 Enable

// Bits in USR0:

// #define BM_R0SEQ

0x80

// EP0 Rx Sequence Bit (DATA0/1)

#define BM_SETUP

0x40

// Setup Token Detect Bit

//#define BM_RP0SIZ

0x0f

// EP0 Rx Data Packet Size

// Bits in USR1:

//#define BM_R2SEQ

0x80

// EP2 Rx Sequence Bit (DATA0/1)

#define BM_RP2SIZ

0x0f

// EP2 Rx Data Packet Size

//----------------------------------------------------------------------------

#endif