![FTDI FT51A Application Note Download Page 60](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158060.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
59
Copyright © 2015 Future Technology Devices International Limited
2.8
GPIOs
GPIOs are divided into Digital and Analogue pads. Digital inputs and outputs should be mapped to
the digital pads but can be mapped to analogue pads if required. Analogue inputs and outputs
must be mapped to the analogue pads.
2.8.1
Digital GPIO Pads
Up to 16 digital GPIO pads are available depending on package type. The digital pads are multi-
speed, multi-voltage and bidirectional I/O.
The digital GPIO is able to operate over wide voltage ranges and the GPIO voltage can be taken
above that of the internal supply rails (i.e. up to 5v).
Each of the 16 digital GPIO pads has its own control register as shown in Table 2.70.
I/O
Address
Register Name
Description
0x1A
Control register for DIO 0
0x1B
Control register for DIO 1
0x1C
Control register for DIO 2
0x1D
Control register for DIO 3
0x1E
Control register for DIO 4
0x1F
Control register for DIO 5
0x20
Control register for DIO 6
0x21
Control register for DIO 7
0x22
Control register for DIO 8
0x23
Control register for DIO 9
0x24
Control register for DIO 10
0x25
Control register for DIO 11
0x26
Control register for DIO 12
0x27
Control register for DIO 13
0x28
Control register for DIO 14
0x29
Control register for DIO 15
Table 2.70 GPIO DIO Digital Control Register Addresses