Source Code Files
Contents
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Source Code Files
95
//----------------------------------------------------------------------------
// USB Standard Device Request Codes
// according to USB1.1 spec page 187
//
#define GET_STATUS
0x00
#define CLEAR_FEATURE
0x01
#define SET_FEATURE
0x03
#define SET_ADDRESS
0x05
#define GET_DESCRIPTOR
0x06
#define SET DESCRIPTOR
0x07
// optional
#define GET_CONFIGURATION
0x08
#define SET_CONFIGURATION
0x09
#define GET_INTERFACE
0x0a
#define SET_INTERFACE
0x0b
#define SYNCH_FRAME
0x0c
// optional
#define REQUEST_COMPLETE
0xff
// not part of the Standard - just
// a Flag to indicate that the recent
// Request has been finished
//----------------------------------------------------------------------------
// Descriptor Types
// according to USB1.1 spec page 187
//
#define DT_DEVICE
1
#define DT_CONFIGURATION
2
#define DT_STRING
3
#define DT_INTERFACE
4
#define DT_ENDPOINT
5
//----------------------------------------------------------------------------
// Function Prototypes
//
void initUSB();
uchar getUSB();
void putUSB(uchar c);
@interrupt void isrUSB();
//============================================================================
Содержание MC68HC908JB8
Страница 2: ...blank ...
Страница 6: ...Designer Reference Manual USB08 Evaluation Board 6 List of Sections MOTOROLA List of Sections ...
Страница 16: ...Designer Reference Manual USB08 Evaluation Board 16 List of Tables MOTOROLA List of Tables ...
Страница 42: ...Designer Reference Manual USB08 Evaluation Board 42 Hardware Description MOTOROLA Hardware Description ...
Страница 88: ...Designer Reference Manual USB08 Evaluation Board 88 USB08 Descriptors MOTOROLA USB08 Descriptors ...
Страница 243: ...blank ...