參數(shù)資料
型號: uPSD3234
廠商: 意法半導(dǎo)體
英文描述: Flash Programmable System Device with 8032 Microcontroller Core(嵌入高速“8032微控制器核”的Flash型可編程系統(tǒng)器)
中文描述: 閃存可編程系統(tǒng)器件與8032微控制器內(nèi)核(嵌入高速“8032微控制器核”的閃存型可編程系統(tǒng)器)
文件頁數(shù): 41/54頁
文件大?。?/td> 736K
代理商: UPSD3234
41/54
AN1886 - APPLICATION NOTE
APPENDIX D. ONGETDESCRIPTOR
static void OnGetDescriptor()
/******************************************************************************
Function : static void OnGetDescriptor()
Parameters : none
Description: Handler for GET_DESCRIPTOR() control requests
******************************************************************************/
{
unsigned int bytesRequested;
switch (setupPacket.wValue.hi)
{
case
DT_DEVICE:
pTransmitBufferEP0 = (uchar*) &deviceDesc;
bytesToTransmitEP0 = sizeof(deviceDesc);
break;
case
DT_CONFIGURATION:
pTransmitBufferEP0 = (uchar*) &configDesc;
bytesToTransmitEP0 = configDesc.wTotalLength.lo;
break;
case
DT_STRING:
pTransmitBufferEP0 = (uchar*)
stringDescTable[setupPacket.wValue.lo<4setupPacket.wValue.lo:4];
bytesToTransmitEP0 = *pTransmitBufferEP0; // choose requested string
break;
#if HID_DEVICE
case
DT_HID_CLASS:
pTransmitBufferEP0 = (uchar*) &hidClassDesc;
bytesToTransmitEP0 = hidClassDescSize;
break;
case
DT_HID_REPORT:
pTransmitBufferEP0 = (uchar*) &reportDesc;
bytesToTransmitEP0 = reportDescSize;
break;
case
DT_HID_PHYSICALD:
pTransmitBufferEP0 = (uchar*) &PhysicalReportDesc;
bytesToTransmitEP0 = PhysicalReportDescSize;
break;
#endif
default:
STALL_EP0(); // Unrecognized descriptor, so stall EP0
return;
}
bytesRequested = (setupPacket.wLength.hi << 8) | setupPacket.wLength.lo;
相關(guān)PDF資料
PDF描述
uPSD3251(中文) Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內(nèi)核的Flash可編程系統(tǒng)設(shè)備)
uPSD3251 Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內(nèi)核的Flash可編程系統(tǒng)設(shè)備)
uPSD3253AV-24T1T Flash Programmable System Devices with 8032 Microcontroller Core
UPSD3253B Two and Three Channel Codewheels
UPSD3253BV Flash Programmable System Devices with 8032 Microcontroller Core
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPSD32348V24V6ES 制造商:ST MICRO 功能描述:*
UPSD3234A 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 Microcontroller Core
UPSD3234A-24T1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Device with 8032 Microcontroller Core
UPSD3234A-24T1T 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
UPSD3234A-24T6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Device with 8032 Microcontroller Core