поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

LM8322 датащи(PDF) 16 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
номер детали LM8322
подробное описание детали  Mobile I/O Companion Supporting Key-Scan, I/O Expansion, PWM, and ACCESS.bus Host Interface
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  NSC [National Semiconductor (TI)]
домашняя страница  http://www.national.com
Logo NSC - National Semiconductor (TI)

LM8322 датащи(HTML) 16 Page - National Semiconductor (TI)

Back Button LM8322 Datasheet HTML 12Page - National Semiconductor (TI) LM8322 Datasheet HTML 13Page - National Semiconductor (TI) LM8322 Datasheet HTML 14Page - National Semiconductor (TI) LM8322 Datasheet HTML 15Page - National Semiconductor (TI) LM8322 Datasheet HTML 16Page - National Semiconductor (TI) LM8322 Datasheet HTML 17Page - National Semiconductor (TI) LM8322 Datasheet HTML 18Page - National Semiconductor (TI) LM8322 Datasheet HTML 19Page - National Semiconductor (TI) LM8322 Datasheet HTML 20Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 42 page
background image
30013610
FIGURE 10. Keypad Interface Example
In the example above, three keys (Up, Down, and Select) are
connected as SF keys (connected directly to ground). Al-
though they could have shared the KP-Xx inputs used with
the scanned keys, the advantage of placing them on their own
KP-Xx inputs is that it allows scanning the keypad while an
SF key is pressed. If an SF key shares a KP-Xx input with any
scanned keys, pressing the SF key prevents the LM8322 from
reading the scanned keys.
The SET_KEY_SIZE command includes a data byte that
specifies the keypad size. The upper 4 bits of the data byte
specify the number of KP-Xx inputs, and the lower 4 bits
specify the number of KP-Yx outputs. The minimum number
of inputs and outputs is 3. Therefore, the minimum keypad
configuration supports 3 × 3 + 3 SF keys (total of 12 keys).
The maximum number of KP-Xx inputs is 8, and the maximum
number of KP-Yx pins is 12. All KP-Xx and KP-Yx pins not
used for the keyboard interface can be used for general-pur-
pose I/O.
For the example shown in Figure 10, the SET_KEY_SIZE
command would specify 8 KP-Xx inputs and 4 KP-Yx outputs.
13.0 General-Purpose I/O Ports
Any unused KP-Xx and KP-Yx pins may be used as general-
purpose I/O (GPIO) port pins. The WRITE_PORT_SEL
(0x85) command selects the port direction, in which a clear
bit in the parameter to the command selects the input direction
and a set bit selects the output direction.
The WRITE_PORT_STATE (0x86) command selects either
the
port
level
when
configured
as
output
(by
the
WRITE_PORT_SEL command) or when configured as an in-
put selects between a high-impedance input or an input with
a pullup or pulldown device. The selection between pullup or
pulldown devices is controlled by the parameter bytes to the
WRITE_PULL_DOWN (0x84) command. Clear bits in the pa-
rameter bytes select pullup devices, while set bits select
pulldown devices.
Table 7 shows the GPIO port configurations selected by the
bits in the WRITE_PORT_SEL, WRITE_PORT_STATE, and
WRITE_PULL_DOWN command parameters.
TABLE 7. GPIO Port Control Bits
WRITE_PORT_SEL
WRITE_PORT_STATE
WRITE_PULL_DOWN
Description
0
0
x
High-Impedance Input
0
1
0
Input with Pullup Device
0
1
1
Input with Pulldown Device
1
0
x
Output, Drive Low
1
1
x
Output, Drive High
Any pins used as GPIO ports must be configured after the
peripheral configuration has been initialized with the
WRITE_CFG command (0x81) and the keypad configuration
has been initialized with the SET_KEY_SIZE command
(0x90). The default keypad configuration after reset is a 3 × 3
www.national.com
16



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com