參數(shù)資料
型號: LZ85194
廠商: Sharp Corporation
英文描述: IrDA Control Peripheral Engine(IrDA 控制外圍處理器)
中文描述: 紅外線控制周邊引擎(紅外線控制外圍處理器)
文件頁數(shù): 71/76頁
文件大小: 256K
代理商: LZ85194
LZ85194
IrDA Control Peripheral Engine User
s Guide
65
/****************** Interrupt Handler from KEY ******************************/
/*****************************************************************************
*
void
keyInt(void)
*
*
Description:
Interrupt Handler for key code.
*
Construct correspond report form data from the key code
*
and set the data to sending buffer queue(FIFO).
*
Give the tag to distinguish endpoints of PE.
****************************************************************************/
void keyInt(void)
{
if (D_cnt > MAX_DATAQ_SIZE)
return;
di();
++D_cnt;
if (getKey() == KeyboardCode) {
/* disable interrupt */
/* if interrupting key is keyboardcode */
DataQueue[D_tail][0] = EP1; /* give the tag */
for (i = 1; i < 9; i++)
DataQueue[D_tail][i] = (code);
/* input code to Data Queue */
} else if (getkey() == MouseCode) {
/* if interrupting key is mousecode */
DataQueue[D_tail][0] = EP3; /* give the tag */
for (i = 1; i < 4; i++)
DataQueue[D_tail][i] = (code);
/* input code to Data Queue */
}
++D_tail;
if (D_tail == MAX_DATAQ_SIZE)
D_tail = 0;
postEvent(SEND_DATA);
ei();
/* enable interrupt */
}
/****************** Interrupt Handler from enum *****************************/
/*****************************************************************************
*
void
enumInt(void)
*
*
Description:Interrupt Handler for Manual_Enum_withBinding.
****************************************************************************/
void enumInt(void)
{
manualEnumwithBinding();
}
相關(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