Analog Devices ADP5588 Manual page 9

Keypad i/o expander evaluation board
Table of Contents

Advertisement

GPIOs Configuration
The ADP5588 allows the user to configure any of the eighteen
GPIOs as GPIs or GPOs (see Figure 24).
Motherboard Jumpers J1 through Motherboard Jumpers J8 and
Motherboard Jumpers J13 through Motherboard Jumpers J22
must be set in the GPI or GPO position for any row or column
that is to be used as GPI or GPO.
GPI Configuration
To configure a row or column to GPI, do the following:
1.
Clear the bit for the row or column to be configured as GPI
in Register 0x1D, Register 0x1E, and Register 0x1F.
2.
Clear the bit for the row or column to be configured as GPI
in Register 0x23, Register 0x24, and Register 0x25.
3.
If interrupt triggering is needed, set the GPIO interrupt
enable bit for the rows and columns in Register 0x1A,
Register 0x1B, and Register 0x1C.
Figure 24. GPIOs Configuration
4.
Define the trigger level for any of the rows or columns for
which interrupt is enabled (Register 0x26 through
Register 0x28).
5.
Enable GPIO DEBOUNCE, if needed, for the rows or
columns that are configured as GPIs (Register 0x29
through Register 0x2B).
6.
Configure GPIO PULLUP, if needed, for the rows or
columns that are configured as GPIs (Register 0x2C
through Register 0x2E).
Read Register 0x14, Register 0x15, and Register 0x16 to see
the GPIO DATA STATUS; read Register 0x11, Register 0x12,
and Register 0x13 for the GPIO INTERRUPT STATUS. Green
LEDs at the right side of the GPIOs configuration tab light up to
indicate the status of the pins or interrupts.
GPIs can be programmed as part of the event FIFO/key event
table, see the
Rev. 0 | Page 9 of 20
EVAL-ADP5588
ADP5588
data sheet for more details.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADP5588 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Eval-adp5588

Table of Contents