Sony CXD5602 User Manual page 108

Table of Contents

Advertisement

0x04103434
PMU_WAKE_TRIG1_CLR
3.2.4.4.4
Flow of Controlling Event Detection when used as Interrupt
When you use the results of event detection as interrupts (refer to 3.2.4.4.1), for setting Event Detection and
clearing the status register, follow the flow shown below. Figure General Purpose Input/Output (GPIO)-23 shows
a connection diagram of event detection function and SYSCPU or DSP.
Event Detect
External signal
External
signal select
from I/O
......
USB_VBUS
PMIC_INT
SEN_INT
HVDD_DET
HIF_UART_RXD
HIF_SPI_CS_X
HIF_SCL_LOW
Figure General Purpose Input/Output (GPIO)-23 Connection Diagram of Event Detection and SYSCPU or DSP
Flow of Setting Event Detection
For example, the flow of setting Event Detection as an interrupt (EXDEVICE[0]) is described below. For masking
INT_SYSIOPSUB
INT_GNSS
PMU_RTCALMERR
PMU_RTCALM2
PMU_RTCALM1
PMU_RTCALM0
SCU_INT3
SCU_INT2
SCU_INT1
SCU_INT0
CRG_INT
Reserved
INT_PMIC_I2CM
UNEXP_PMU
External signal detection
20
Instant High
Noise Cut On/Off
Instant Low
0
Level High
Chattering removal
1
Level Low
Pos edge
Neg edge
Pos/Neg edge
or
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RO
RW
RW
0
1
Pulse
0
2
3
Pulse
0
4
1
Level
Event detect latch
2
Level
3
S et
C lr
Pulse
4
Event detect clear
Pulse
5
Pulse
6
-108/1010-
CXD5602 User Manual
[10]
0
[9]
0
[8]
0
[7]
0
[6]
0
[5]
0
[4]
0
[3]
0
[2]
0
[1]
0
[0]
0
[31:2]
0
Reserved
[1]
0
The status can be
cleared by writing
[0]
0
"1".
Intterupt detect
Interrupt
(to CPU/DSP)
16
EXDEVICE[11:0]
USBVBUS
USBVBUSN
HVDD
PMIC_INT
Intterupt mask
CPU/DSP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents