Motorola USB08 Reference Manual page 101

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

const interface_descriptor InterfaceDesc =
{
sizeof(interface_descriptor),
DT_INTERFACE,
0,
0,
2,
0xff,
0x01,
0xff,
0
}; // end of InterfaceDesc
//----------------------------------------------------------------------------
const endpoint_descriptor Endpoint1Desc =
{
sizeof(endpoint_descriptor),
DT_ENDPOINT,
0x81,
0x03,
{0x08, 0x00},
10
}; // end of Endpoint1Desc
//----------------------------------------------------------------------------
const endpoint_descriptor Endpoint2Desc =
{
sizeof(endpoint_descriptor),
DT_ENDPOINT,
0x02,
0x03,
{0x08, 0x00},
10
}; // end of Endpoint2Desc
//----------------------------------------------------------------------------
// Language IDs
//--------------
#define SD0LEN 4
//--------------
const uchar String0Desc[SD0LEN] = {
// Size, Type
SD0LEN, DT_STRING,
// LangID Codes
0x09, 0x04
};
USB08 Evaluation Board
MOTOROLA
// Size of this Descriptor in Bytes
// Descriptor Type (=4)
// Number of *this* Interface (0..)
// Alternative for this Interface (if any)
// No of EPs used by this IF (excl. EP0)
// IF Class Code (0xff = Vendor specific)
// Interface Subclass Code
// IF Protocol Code
// Index of String Desc for this Interface
// Size of this Descriptor in Bytes
// Descriptor Type (=5)
// Endpoint Address (EP1, IN)
// Interrupt
// Max. Endpoint Packet Size
// Polling Interval (Interrupt) in ms
// Size of this Descriptor in Bytes
// Descriptor Type (=5)
// Endpoint Address (EP2, OUT)
// Interrupt
// Max. Endpoint Packet Size
// Polling Interval (Interrupt) in ms
Source Code Files
Source Code Files
(0xff = Vendor specific)
Designer Reference Manual
Contents
101

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents