參數(shù)資料
型號: LM8333
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 微控制器/微處理器
英文描述: Keypad Controller with I/O Expansion and ACCESS.bus Host Interface
中文描述: SPECIALTY MICROPROCESSOR CIRCUIT, BGA49
封裝: MICRO, BGA-49
文件頁數(shù): 9/17頁
文件大?。?/td> 768K
代理商: LM8333
7.0 Device Operation
(Continued)
Table 4
shows the pin configuration for all four combinations
of control bit settings (data output and direction) for the
general-purpose I/O pins. GEN_IO_3 cannot be put into the
high impedance (Hi-Z) input mode. When programmed as
an input, it can only be configured as an input with a weak
pullup.
TABLE 4. General Purpose I/O Pin Configuration
GEN_IO_DIR
Bit
0
0
GEN_IO_OUT
Bit
0
1
Direction
State
Input
Input
Hi-Z
Weak
Pullup
Drive Low
Drive High
1
1
0
1
Output
Output
7.2.3 External Interrupts
When the GEN_IO_0 or GEN_IO_1 pins are configured as
inputs, a SET_EXT_INT command (0xD1) can be used to
enable receiving external interrupts on either or both of these
pins. Setting the EX_0 or EX_1 bits in the data byte of the
SET_EXT_INT command (as shown in
Figure 6
) enables the
corresponding pin as an external interrupt input. When en-
abled as an interrupt input, any rising or falling edge causes
the IRQ output to be asserted. If the LM8333 was in Halt
mode, it also wakes up into Active mode.
When both GEN_IO_0 and GEN_IO_1 are configured as
interrupt inputs, bits 1 and 2 of the interrupt code indicate
which input asserted the interrupt. However, if only one of
GEN_IO_0 or GEN_IO_1 is configured as an interrupt input,
both bits 1 and 2 of the interrupt code will be set when an
interrupt occurs.
TABLE 5. Interface Commands for Controlling the LM8333
Function
FIFO_READ
Cmd
0x20
Dir
R
Data Bits
128
Data
Description
Event Codes from
FIFO
Read an event from the FIFO.
Maximum 14 event codes stored in the FIFO.
MSB = 1: key pressed.
MSB = 0: key released.
Repeats a FIFO read without advancing the FIFO
pointer, for example to retry a read after an error.
Maximum 14 event codes stored in the FIFO.
MSB = 1: key pressed.
MSB = 0: key released.
Default is 10 ms. Valid range 1255.
Time~n x 4 ms
Read port data.
Specify port mode. (Drive 0 or 1 when the port is
configured as an output; select Hi-Z or pullup when
the port is configured as an input.)
Select port direction (input or output).
Sets the low pulse time of the PWM signal.
Sets the high pulse time of the PWM signal.
Activate, reactivate, or stop PWM.
Reads the interrupt code, acknowledges the interrupt,
deasserts the IRQ output, and clears the code.
Enables/disables external interrupts on GEN_IO_0 and
GEN_IO_1.
Status Information.
Requests rescanning the keypad (for example, after
an error was reported).
Specifies the time after the last event during which the
LM8333 stays active before entering Halt mode. The
active time must be greater than the debounce time.
Reads and clears the error code.
RPT_FIFO_READ
0x21
R
128
Event Codes from
FIFO
DEBOUNCE
0x22
W
8
nnnn nnnn
GEN_IO_IN
GEN_IO_OUT
0x30
0x31
R
W
8
8
0000 nnnn
0000 nnnn
GEN_IO_DIR
PWM_HI
PWM_LO
PWM_CTL
READ_INT
0x32
0x40
0x41
0x42
0xD0
W
W
W
W
R
8
16
16
8
8
0000 nnnn
(n+1) x t
C
(n+1) x t
C
0000 0nnn
0000 nnnn
SET_EXT_INT
0xD1
W
8
0000 00nn
READ_STAT
SCAN_REQ
0xE0
0xE3
R
W
8
8
000n nnnn
ACTIVE
0xE4
W
8
nnnn nnnn
READ_ERROR
0xF0
R
8
0nnn nnnn
20210608
FIGURE 6. SET_EXT_INT Command Data Byte
L
www.national.com
9
相關(guān)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
相關(guān)代理商/技術(shù)參數(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 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:BGA-59
LM8333FLQ8Y 制造商:Texas Instruments 功能描述:Mobile I/O Companion Supporting Key Scan 32-Pin LLP EP