Electronic Components Datasheet Search
  English  ▼

X  

LM8322 Datasheet(PDF) 28 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # LM8322
Description  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
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

LM8322 Datasheet(HTML) 28 Page - National Semiconductor (TI)

Back Button LM8322 Datasheet HTML 24Page - National Semiconductor (TI) LM8322 Datasheet HTML 25Page - National Semiconductor (TI) LM8322 Datasheet HTML 26Page - National Semiconductor (TI) LM8322 Datasheet HTML 27Page - National Semiconductor (TI) LM8322 Datasheet HTML 28Page - National Semiconductor (TI) LM8322 Datasheet HTML 29Page - National Semiconductor (TI) LM8322 Datasheet HTML 30Page - National Semiconductor (TI) LM8322 Datasheet HTML 31Page - National Semiconductor (TI) LM8322 Datasheet HTML 32Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 42 page
background image
17.0 Host Commands
Function
Cmd
Dir
Data Bytes
Description
READ_ID
0x80
R
nnnn nnnn
Read the manufacturer code (nnnn nnnn) and the device
revision number (pppp pppp).
pppp pppp
WRITE_CFG
0x81
W
nnnn nnnn
Write the hardware configuration register.
READ_INT
0x82
R
nnnn nnnn
Read the interrupt code, deassert the IRQ output, and clear
the code. (If the NOINIT bit is set, it remains set and IRQ
remains asserted until a WRITE_CFG command is received.
RESET
0x83
W
nnnn nnnn
Reset the LM8322. Error if nnnn nnnn is not 0xAA.
WRITE_PULL_DO
WN
0x84
W
nnnn nnnn
Select pullup (0) or pulldown (1) direction for the
corresponding general-purpose I/O (GPIO) port pins.
pppp pppp
WRITE_PORT_SE
L
0x85
W
nnnn nnnn
Select input (0) or output (1) for the corresponding general-
purpose I/O (GPIO) port pins.
pppp pppp
WRITE_PORT_ST
ATE
0x86
W
nnnn nnnn
For pins configured as inputs, 0 selects high-impedance
mode and 1 enables a weak pullup. For pins configured as
outputs, each bit specifies the logic level driven on the pin.
pppp pppp
READ_PORT_SEL
0x87
R
nnnn nnnn
Read the direction of the corresponding GPIO port pins.
pppp pppp
READ_PORT_STA
TE
0x88
R
nnnn nnnn
Read the state on the corresponding GPIO port pins.
pppp pppp
READ_FIFO
0x89
R
Up to 15 event
codes
Read an event from the FIFO.
Maximum of 14 event codes stored in the FIFO.
RPT_READ_FIFO
0x8A
R
Up to 15 event
codes
Repeats a FIFO read without advancing the FIFO pointer,
for example to retry a read after an error.
SET_ACTIVE
0x8B
W
nnnn nnnn
Set the time during which the LM8322 stays active before
entering Halt mode. The active time must be greater than the
debounce time. The default time is 500 milliseconds. The
valid range is 1255. Active time = n × 4 milliseconds.
READ_ERROR
0x8C
R
nnnn nnnn
Read and clear the error code.
SET_DEBOUNCE
0x8F
W
nnnn nnnn
Set the time for rescanning the keypad after detecting a key-
press or key-release event to verify the event. The default
time is 12 milliseconds. The valid range is 1255. Debounce
time = n × 4 milliseconds and must not exceed active time.
SET_KEY_SIZE
0x90
W
nnnn pppp
Set keypad size. nnnn = KP-Xx pins, pppp = KP-Yx pins
READ_KEY_SIZE
0x91
R
nnnn pppp
Read keypad size. nnnn = KP-Xx pins, pppp = KP-Yx pins
READ_CFG
0x92
R
nnnn nnnn
Read the hardware configuration register.
WRITE_CLOCK
0x93
W
nnnn nnnn
Write the clock configuration register.
READ_CLOCK
0x94
R
nnnn nnnn
Read the clock configuration register.
PWM_WRITE
0x95
W
aaaa aann
Write a command to the PWM script command file.
pppp pppp
nn = PWM channel number (01, 10, or 11)
qqqq qqqq
aaaaaa = address in script command file (059)
pppp pppp = high byte of script command
qqqq qqqq = low byte of script command
PWM_START
0x96
W
aaaa aann
Start script on channel nn (01, 10, or 11) at address aaaaaa.
PWM_STOP
0x97
W
0000 00nn
Stop script on channel nn (01, 10, or 11).
www.national.com
28



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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