參數資料
型號: uPSD3234
廠商: 意法半導體
英文描述: Flash Programmable System Device with 8032 Microcontroller Core(嵌入高速“8032微控制器核”的Flash型可編程系統(tǒng)器)
中文描述: 閃存可編程系統(tǒng)器件與8032微控制器內核(嵌入高速“8032微控制器核”的閃存型可編程系統(tǒng)器)
文件頁數: 38/54頁
文件大?。?/td> 736K
代理商: UPSD3234
AN1886 - APPLICATION NOTE
38/54
if ((rcvIndex += cb) >= OUTPUT_REPORT_SIZE)
{
OnReportReceived();
#pragma asm
//send a zero length packet
anl UCON0,#uTSEQ0+uRX0E ;mask
orl UCON0,#uTX0E ;enable transmit
#pragma endasm
}
RXD0F = 0; // Clear interrupt flag so next packet can come in now
}
else
{
// Got 0 length ACK data packet; expecting a SETUP packet now.
USTA ^= uRSEQ; // Toggle data toggle bit
RXD0F = 0; // Clear interrupt flag so next packet can come in now
}
}
}
if (TXD0F)
{
TXD0F = 0; // Clear the interrupt flag
// Do not change this part up to call of BaseEp0Handler !!!
// If in the middle of transmitting a report ...
if (txIndex < FEATURE_REPORT_SIZE)
{ // Transmit the next segment of outgoing report
cb = min(FEATURE_REPORT_SIZE - txIndex, EP0_SIZE);
TransmitDataEP0(txReport.u.buffer + txIndex, cb);
if ((txIndex += cb) >= FEATURE_REPORT_SIZE)
{
OnReportTransmitted();
}
else
{
// Prepare the next segment while that last one is going out
PrepareTransmitSegment(txIndex);
}
}
else
{
// This part can changed (or BaseEp0Handler directly)
BaseEp0TxHandler(); // Handle standard control requests
}
}
if (SUSPND) // Handle suspend interrupt
{
SUSPND = 0; // keep USB logic functional
GoOnSuspend = 1; // set global flag
UIEN &= ~uSUSPNDIE; // disable INT
TF2 = 1; // Activate execution of the rest of USB ISR
}
if (TXD1F) // If data successfully transmitted on EP1 ...
{
UIEN &= ~uTXD1IE; // disable EP1,2 INT
TF2 = 1; // Activate execution of the rest of USB ISR
}
相關PDF資料
PDF描述
uPSD3251(中文) Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內核的Flash可編程系統(tǒng)設備)
uPSD3251 Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內核的Flash可編程系統(tǒng)設備)
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
相關代理商/技術參數
參數描述
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