
Page 122
Epson Research and Development
Vancouver Design Center
S1D13A05
Hardware Functional Specification
X40A-A-001-04
Issue Date: 2003/05/01
Revision 4.0
8.3.7 Miscellaneous Registers
The S1D13A05 GPIO pins default to inputs, however they can be individually configured
to outputs or inputs using the GPIO[7:0] Config bits (bits 23-16). If a GPIO pin is
configured as an input, the input functionality must be enabled using the corresponding
GPIO[7:0] Input Enable pin (see bits 31-24). Once the GPIO pin has been configured, it can
be controlled/read using the GPIO[7:0] Control/Status bits (bits 7-0). See the individual bit
descriptions for further details.
Some GPIOs must be configured as outputs after every RESET for use with some extended
mation on each GPIO pin.
bits 31-24
GPIO[7:0] Input Enable bits
These bits individually enable the input function for each GPIO pin (GPIO[7:0]). After
power-on/reset, each bit must be set to a 1 to enable the input function of each GPIO pin
(default is 0 except for GPIO5 which is 1). If the GPIO pin is configured as an output the
GPIO[7:0] Input Enable bit has no effect.
Note
At power-on/reset, the GPIO5 Input Enable bit (bit 29) defaults to 1.
bits 23-16
GPIO[7:0] IO Configuration
At power-on/reset, the GPIO[7:0] pins default to inputs. These bits individually configure
each GPIO pin as either an output or input.
When these bits = 0, the associated GPIO pin is configured as an input.
When these bits = 1, the associated GPIO pin is configured as an output.
This may be required for some extended panel types (i.e. Sharp HR-TFT, Casio TFT, etc.)
descriptions for bits 7-0 for specific information on each GPIO pin.
Note
If a GPIO pin is configured as an input, the input function of the GPIO pin must be en-
abled using the corresponding GPIOx Input Enable bit (bits 31-24) before the input con-
figuration takes effect.
Reserved
REG[60h]
Default = 00000000h
Read/Write
n/a
Reserved
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
n/a
Reserved
n/a
Reserved
n/a
15
14
13
12
11
10
9
8765
4
32
1
0
GPIO Status and Control Register
REG[64h]
Default = 20000000h
Read/Write
GPIO7
Input
Enable
GPIO6
Input
Enable
GPIO5
Input
Enable
GPIO4
Input
Enable
GPIO3
Input
Enable
GPIO2
Input
Enable
GPIO1
Input
Enable
GPIO0
Input
Enable
GPIO7
Config
GPIO6
Config
GPIO5
Config
GPIO4
Config
GPIO3
Config
GPIO2
Config
GPIO1
Config
GPIO0
Config
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
n/a
GPIO7
Control/
Status
GPIO6
Control/
Status
GPIO5
Control/
Status
GPIO4
Control/
Status
GPIO3
Control/
Status
GPIO2
Control/
Status
GPIO1
Control/
Status
GPIO0
Control/
Status
15
14
13
12
11
10
9
87654
3210