參數(shù)資料
型號: LM8333
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 微控制器/微處理器
英文描述: Keypad Controller with I/O Expansion and ACCESS.bus Host Interface
中文描述: SPECIALTY MICROPROCESSOR CIRCUIT, BGA49
封裝: MICRO, BGA-49
文件頁數(shù): 12/17頁
文件大?。?/td> 768K
代理商: LM8333
8.0 Interrupts
8.1 INTERRUPT CODE
The interrupt code is read and acknowledged with the
READ_INT command (0xD0). This command clears the
code and deasserts the IRQ output.
Table 6
shows the
format of the interrupt code.
Note that when only one of the interrupt-capable pins GE-
N_IO_0 or GEN_IO_1 is configured as an interrupt input, bits
1 and 2 are both set when an interrupt occurs. When both
GEN_IO_0 and GEN_IO_1 pins are configured as interrupt
inputs, only one bit corresponding to the interrupt source is
set when an interrupt occurs.
TABLE 6. Interrupt Code
7
0
6
0
5
0
4
0
3
2
1
0
ERROR
EX_1
EX_0
KEYPAD
Bit
ERROR
EX_1
EX_0
KEYPAD
Description
An error condition occurred.
A rising or falling edge was detected on GEN_IO_1.
A rising or falling edge was detected on GEN_IO_0.
A key-press or key-release event occurred.
8.2 ERROR CODE
If the LM8333 reports an error, the READ_ERROR com-
mand (0xF0) is used to read and clear the error code.
Table
7
shows the format of the error code.
TABLE 7. Error Code
7
0
6
5
0
4
3
0
2
1
0
FIFOOVR
NOINT
KEYOVR
CMDUNK
CMDOVR
Bit
FIFOOVR
NOINT
KEYOVR
CMDUNK
CMDOVR
Description
Key event occurred while the FIFO was full.
Interrupt deasserted before it could be serviced.
More than two keys were pressed simultaneously.
Not a valid command.
Command received before it could be accepted, e.g. after wake-up.
8.3 STATUS CODES
The host can use the READ_STAT command (0xE0) to read
the status code, for example to synchronize after an error.
TABLE 8. Status Codes
Status
Reset
Code
0000 0000
0000 0010
0000 0110
0001 0101
Description
Default after reset.
Wake-up caused by external interrupt.
Last host command was successful.
Last host command was not successful.
Wake Up Interrupt
Ack
NoAck
8.4 INTERRUPT PROCESSING
Unexpected states encountered during run-time, for ex-
ample overrun of the FIFO buffer, are reported as errors.
When the host receives an interrupt from the LM8333, it
uses a READ_INT command to read the interrupt code. If
the code has a set ERROR bit, the host then uses a READ-
_ERROR command to read the error code, as shown in
Figure 11
.
L
www.national.com
12
相關PDF資料
PDF描述
LM8400 Four Wire Resistive Touchscreen Controller with Brownout
LM8500 Four Wire Resistive Touchscreen Controller with Brownout
LM8500HLQ9 Four Wire Resistive Touchscreen Controller with Brownout
LM8500HMT9 Four Wire Resistive Touchscreen Controller with Brownout
LM8500HVA9 Four Wire Resistive Touchscreen Controller with Brownout
相關代理商/技術參數(shù)
參數(shù)描述
LM8333_07 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface
LM8333EVALKIT 功能描述:其他開發(fā)工具 LM8333 AND SOFTWARE EVAL KIT RoHS:否 制造商:Parallax 產(chǎn)品:ELEV-8 Hex Upgrade Kits 類型:Robotics 工具用于評估:ELEV-8 Quadcopter 工作電源電壓:
LM8333FLQ8X 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface
LM8333FLQ8X/NOPB 功能描述:接口 - 專用 RoHS:否 制造商:Texas Instruments 產(chǎn)品類型:1080p60 Image Sensor Receiver 工作電源電壓:1.8 V 電源電流:89 mA 最大功率耗散: 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:BGA-59
LM8333FLQ8Y 制造商:Texas Instruments 功能描述:Mobile I/O Companion Supporting Key Scan 32-Pin LLP EP