Designer Reference Manual
USB08 Evaluation Board
100
Source Code Files
MOTOROLA
Source Code Files
U08DESC.C
//============================================================================
// File: U08DESC.C
// Func: Device-, Configuration- and String-Descriptors for
//
USB08 Demo Application (all const Data, placed in Flash-ROM)
// Ver.: 1.00
// Auth: (C)2000,2001 by Oliver Thamm, MCT Elektronikladen GbR
// http://hc08web.de/usb08
// Rem.: View/Edit this File with TAB-Size=4
//============================================================================
//----------------------------------------------------------------------------
const device_descriptor DeviceDesc =
{
// Size of this Descriptor in Bytes
sizeof(device_descriptor),
DT_DEVICE,
// Descriptor Type (=1)
{0x10, 0x01},
// USB Spec Release Number in BCD = 1.10
0,
// Device Class Code (none)
0,
// Device Subclass Code(none)
0,
// Device Protocol Code (none)
8,
// Maximum Packet Size for EP0
{0x70, 0x0c},
// Vendor ID = MCT Elektronikladen
{0x00, 0x00},
// Product ID = Generic Demo
{0x00, 0x01},
// Device Release Number in BCD
1,
// Index of String Desc for Manufacturer
2,
// Index of String Desc for Product
0,
// Index of String Desc for SerNo
1
// Number of possible Configurations
}; // end of DeviceDesc
//----------------------------------------------------------------------------
const configuration_descriptor ConfigDesc =
{
// Size of this Descriptor in Bytes
sizeof(configuration_descriptor),
DT_CONFIGURATION,// Descriptor Type (=2)
{sizeof(configuration_descriptor) +sizeof(interface_descriptor) +
sizeof(endpoint_descriptor) + sizeof(endpoint_descriptor),
0x00},
// Total Length of Data for this Conf
1,
// No of Interfaces supported by this Conf
1,
// Designator Value for *this* Configuration
0,
// Index of String Desc for this Conf
0xc0,
// Self-powered, no Remote-Wakeup
0
// Max. Power Consumption in this Conf (*2mA)
}; // end of ConfigDesc
//----------------------------------------------------------------------------
Содержание 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 ...