Sony CXD5602 User Manual page 89

Table of Contents

Advertisement

3.2.4
Detailed Function and Control Specification
3.2.4.1 GPIO Control
GPIO Control can be performed when I/O pins are set as GPIO mode. The GPIO mode can be set by using Pin
Multiplexer register IOCSYS_IOMD{0,1} or IOCAPP_IOMD{0,1}. For details for setting GPIO mode, refer to
Section 3.1.4 (Pin Multiplexer). Table General Purpose Input/Output (GPIO)-20 shows GPIO control registers.
Table General Purpose Input/Output (GPIO)-20 GPIO Control Register
Address
Register
Name
0x04102000
GP_*
|
(1*)
0x04102188
(1*)
: A register is prepared for each I/O pin. For correspondence of I/O pins to registers, refer to
Input/Output (GPIO)-21
.
GP_*.DIR: Control of OutputEnable
Set the register OutputEnable when you use GPIO as output, set it OutputDisable when you use GPIO as
input.
GP_*.IN: Confirmation of I/O pin value
By setting IO_*.ENZI = 1 (refer to 3.1 in the chapter of IO Configuration), the I/O pin value can be read. The
value can be read not only under GPIO output control, but also under other than GPIO controls.
GP_*.OUT: Control of OutputData
0/1 is output to an I/O pin according to the control register setting.
Bit Field
Type
Bit
Name
Reserved
RO
[31:17]
DIR
RW
[16]
Reserved
RO
[15:9]
OUT
RW
[8]
Reserved
RO
[7:1]
IN
RO
[0]
-89/1010-
Initial
Description
Value
0
Reserved
1
OutputEnable control in GPIO mode
0: OutputEnable, 1: OutputDisable
0
Reserved
0
OutputData control in GPIO mode
0
Reserved
0
I/O pin value
CXD5602 User Manual
Table General Purpose

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents