參數(shù)資料
型號: LZ85194
廠商: Sharp Corporation
英文描述: IrDA Control Peripheral Engine(IrDA 控制外圍處理器)
中文描述: 紅外線控制周邊引擎(紅外線控制外圍處理器)
文件頁數(shù): 57/76頁
文件大小: 256K
代理商: LZ85194
LZ85194
IrDA Control Peripheral Engine User
s Guide
51
extern char DeviceDescriptor[];
extern char ConfigDescriptor[];
extern char K_ReportDescriptor[];
extern char M_ReportDescriptor[]; /* array of mouse's report descriptor */
extern char IrDA_CDescriptor[];
/* array of IrDA_Control descriptor */
extern char DeviceDescriptorLength;
extern char ConfigDescriptorLength;
extern char K_ReportDescriptorLength;
extern char M_ReportDescriptorLength;
extern char IrDA_CDescriptorLength;
extern char DataQueue[MAX_DATAQ_SIZE][MAX_D_SIZE];
extern char D_head;
extern char D_tail;
extern char D_cnt;
/* array of device descriptor */
/* array of config descriptor */
/* array of keyboard's report descriptor */
/******************************************************************************
* void main(void)
*
* Description: Main function
*****************************************************************************/
void main(void)
{
initSSWIRE();
resetPE();
initEvent();
initData();
/* initialize SSWIRE */
/* reset PE itself */
/* initialize Event Queue */
/* initialize Data Queue */
generatePFID();
/* generate PFID & PeripheralInfo */
enableKeyMouseInt();
/* enable interrupt key & mouse code */
for (;;)
dispatchEvent();
}
/******************************************************************************
* void generatePFID(void)
*
* Description: Generate PFID & PeripheralInfo.
*****************************************************************************/
void generatePFID(void)
{
/* generate random value for PFID */
PeripheralInfo[3~0] = 0xC*******;
/*
PeripheralInfo[3~0] = 0x8*******;
PeripheralInfo[3~0] = 0x4*******;
*/
/* Peripheral Info */
PeripheralInfo[5~4] = 0x0001;
/*
PeripheralInfo[5~4] = 0x0041;
*/
}
/* for composite device */
/* for keyboard */
/* for mouse */
/* NCL device (keyboard, mouse) */
/* CL device (gamepad) */
相關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
相關代理商/技術參數(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