參數(shù)資料
型號: LZ85194
廠商: Sharp Corporation
英文描述: IrDA Control Peripheral Engine(IrDA 控制外圍處理器)
中文描述: 紅外線控制周邊引擎(紅外線控制外圍處理器)
文件頁數(shù): 59/76頁
文件大?。?/td> 256K
代理商: LZ85194
LZ85194
IrDA Control Peripheral Engine User
s Guide
53
/******************************************************************************
* void dispatchEvent(void)
*
* Description:
If Q_cnt isn't 0, process the head event, and update
*
Q_head and Q_cnt.
*****************************************************************************/
void dispatchEvent(void)
{
char event;
if (!Q_cnt)
return;
di();
Q_cnt--;
event = EventQueue[Q_head++];
if (Q_head == MAX_EVENTQ_SIZE)
Q_head = 0;
/* disable interrupt */
switch (event) {
case PERIPHERAL_INFO:
setPeripheralInfo(PERIPHERAL_INFO,
PeripheralInfo, sizeof(PeripheralInfo));
break;
case DEVICE_DESCRIPTOR:
setPeripheralInfo(DEVICE_DESCRIPTOR,
DeviceDescriptor, DeviceDescriptorLength);
break;
case CONFIG_DESCRIPTOR:
setPeripheralInfo(CONFIG_DESCRIPTOR,
ConfigDescriptor, ConfigDescriptorLength);
break;
case STRING_DESCRIPTOR:
break;
/* no use */
case IRDA_C_DESCRIPTOR:
setPeripheralInfo(IRDA_C_DESCRIPTOR,
IrDA_CDescriptor, IrDA_CDescriptorLength);
break;
case COPY_DESCRIPTOR: /* no use */
break;
case GET_STATUS:
sendGetStatus();
break;
case REPORT_DESCRIPTOR_EP1:
setPeripheralInfo(REPORT_DESCRIPTOR,
K_ReportDescriptor, K_ReportDescriptorLength);
break;
case REPORT_DESCRIPTOR_EP3:
setPeripheralInfo(REPORT_DESCRIPTOR,
M_ReportDescriptor, M_ReportDescriptorLength);
break;
相關(guān)PDF資料
PDF描述
LZ8519X IrDA Control Peripheral Engine (PE)
LZ85202 IrDA Control Host Controller with USB Interface(帶USB接口的IrDA控制主控制器)
LZ8520X IrDA-Control Single-Chip Host Controller (HC)
LZ93B53 Synchronous Signal Generator for CCD
LZ93BE0 Timing Pulse Generator LSI for CCD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LZ8519X 制造商:SHARP 制造商全稱:Sharp Electrionic Components 功能描述:IrDA Control Peripheral Engine (PE)
LZ85202 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Telecommunication IC
LZ8520X 制造商:SHARP 制造商全稱:Sharp Electrionic Components 功能描述:IrDA-Control Single-Chip Host Controller (HC)
LZ87010 制造商:Sharp Microelectronics Corporation 功能描述:LZ87010 - Tape and Reel
LZ8V2 制造商:YEASHIN 制造商全稱:YEASHIN 功能描述:500 mW LL-34 Hermetically Sealed Glass Zener Voltage Regulators