VII LCD CONTROLLER BLOCK: LCD CONTROLLER
B-VII-2-30
EPSON
S1C33L03 FUNCTION PART
Controlling the GPIO Pins
The pins described below can be used as general-purpose output (GPO) pins or general-purpose input/output
(GPIO) pins, through panel selection or other settings.
General-purpose output (GPO) pins
The FPDAT[3:0] signal output pins can be used as general-purpose output GPO[6:3] pins when a 4-bit LCD
panel (LDDW[1:0] (D[1:0])/0x39FFE1) = "00") is used. The GPO output control bits are listed in Table 2.19.
Table 2.19 GOP Control Bits
Pin name
GPO signal name
Output control bit
FPDAT0
GPO3
GPO3D (D3)/GPIO status/control register(0x39FFF9)
FPDAT1
GPO4
GPO4D (D4)/GPIO status/control register(0x39FFF9)
FPDAT2
GPO5
GPO5D (D5)/GPIO status/control register(0x39FFF9)
FPDAT3
GPO6
GPO6D (D6)/GPIO status/control register(0x39FFF9)
Setting the GPOxD bit to 1 drives the GPOx output high, and setting the GPOxD bit to 0 drives the GPOx
output low.
Note: In power-save or doze mode, these pins are fixed low.
General-purpose input/output (GPIO) pins
While the LCD controller is enabled (LCDCEN (D5)/LCDC mode register 2 = "1"), bus release requests
(#BUSREQ) from outside the chip can be disabled. When the BREQEN (D2)/LCDC system control register
(0x39FFFD) is set to "0" (default), bus release requests from outside will no longer be accepted while
LCDCEN = "1". As a result, the pins listed below will not be used for bus-release purposes, and can therefore
be used as general-purpose input/output (GPIO) pins. Because these pins are usable only while the LCD
controller remains enabled, the control registers in the LCD controller block must be used to control their
direction for input or output, as well as to read/write data to and from them.
Table 2.20 GPIO Control Bits
Pin name
GPIO signal
name
I/O control bit
I/O data
#BUSREQ/P34
GPIO0
GPIO0C (D0)/GPIO configuration
register(0x39FFF8)
GPIO0D (D0)/GPIO status/control
register(0x39FFF9)
#BUSACK/P35
GPIO1
GPIO1C (D1)/GPIO configuration
register(0x39FFF8)
GPIO1D (D1)/GPIO status/control
register(0x39FFF9)
#BUSGET/P31
GPIO2
GPIO2C (D2)/GPIO configuration
register(0x39FFF8)
GPIO2D (D2)/GPIO status/control
register(0x39FFF9)
Set the GPIOxC bits to "0" (default) when the GPIOx pins are used as input ports, or "1" when the GPIOx
pins are used as output ports.
When the pins are set for input, it possible to determine their input-voltage level by reading GPIOxD. The
value "1" is indicated when the input voltage is high, and "0" indicated when the input voltage is low.
When the pins are set for output, write output data to GPIOxD. Setting the GPIOxD bit to "1" drives the
GPIOx output high, and setting the GPIOxD bit to "0" drives the GPIOx output low.
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......