Sony CXD5602 User Manual page 91

Table of Contents

Advertisement

GPIO Output Control
0/1 can be output to an I/O pin according to the control register setting. The status that a control register value is
directly output to an I/O pin is called GPIO Output Control.
Settings in GPIO Output Control are described below.
GP_*.DIR = 0 (OutputEnable)
{IOCSYS/IOCAPP}_IOMD{0/1}.* = 0
GP_*.OUT = any value
Figure General Purpose Input/Output (GPIO)-17 shows a visualized function controlled by GPIO parameter that is
set by GPIO output control register.
I/O Function
Pull up
State
IO Pin
Pull Dn
State
Figure General Purpose Input/Output (GPIO)-17 Output Signal Route in the I/O Function Controlled by GPIO
For example, the settings that pin P10_00 is assigned GPIO output control function are described below.
GP_I2C4_BCK.DIR = 0 (OutputDisable)
IOCSYS_IOMD0.I2C4 = 0
GP_I2C4_BCK.OUT = (1/0)
Pull-up/Pull-down
Pin Output Enable
GP_*.DIR=0
GP_*.OUT
Pin Output
2
Output(Mode1)
Output(Mode2)
Output(Mode3)
Pin Input
Input(Mode1)
Input(Mode2)
Input(Mode3)
Pin Input Enable
Parameter
-91/1010-
CXD5602 User Manual
Pull up/down, LOWEMI
GPIO Control
I/O Configuration
Alternate Function Output
GPIO Status
Alternate Function Input
Wakeup factor
Event
(to PMU)
Detect
Interrupt
(to CPU/DSP)
Input Enable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents