64
Document # 001-20559 Rev. *D
Interrupt Controller
5.3
Register Definitions
The following registers are associated with the Interrupt Controller and are listed in address order. The register descriptions
have an associated register table showing the bit structure for that register. The bits in the tables that are grayed out are
reserved bits and are not detailed in the register descriptions that follow. Reserved bits should always be written with a value
of ‘0’. For a complete table of Interrupt Controller registers, refer to the
“Summary Table of the Core Registers” on page 32
Depending on the PSoC device you have, only certain bits are accessible to be read or written, such as the INT_CLR0 and
INT_MSK0 registers that are analog column and digital row dependent. The analog column dependent registers have the col-
umn number listed to the right of the Address column. The digital row dependent registers are set up the same way, only with
the term “Row” in the Address column.
5.3.1
INT_CLRx Registers
The Interrupt Clear Registers (INT_CLRx) are used to
enable the individual interrupt sources’ ability to clear posted
interrupts.
There are three interrupt clear registers (INT_CLR0,
INT_CLR1, and INT_CLR3) which may be referred to in
general as INT_CLRx.The INT_CLRx registers are similar to
the INT_MSKx registers in that they hold a bit for each inter-
rupt source. Functionally the INT_CLRx registers are similar
to the INT_VC register, although their operation is com-
pletely independent. When an INT_CLRx register is read,
any bits that are set indicate an interrupt has been posted
for that hardware resource. Therefore, reading these regis-
ters gives the user the ability to determine all posted inter-
rupts.
The Enable Software Interrupt (ENSWINT) bit in
INT_MSK3[7] determines the way an individual bit value
written to an INT_CLR0 register is interpreted. When
ENSWINT is cleared (the default state), writing 1's to an
INT_CLRx register has no effect. However, writing 0's to an
INT_CLRx register, when ENSWINT is cleared, causes the
corresponding interrupt to clear. If the ENSWINT bit is set,
any 0's written to the INT_CLRx registers are ignored. How-
ever, 1's written to an INT_CLRx register, while ENSWINT is
set, causes an interrupt to post for the corresponding inter-
rupt.
Note
When using the INT_CLRx register to post an inter-
rupt, the hardware interrupt source, such as a digital clock,
must not have its interrupt output high. Therefore, it may be
difficult to use software interrupts with interrupt sources that
do not have enables such as VC3.
Software interrupts can aid in debugging interrupt service
routines by eliminating the need to create system level inter-
actions that are sometimes necessary to create a hardware-
only interrupt.
5.3.1.1
INT_CLR0 Register
Bit 7: VC3.
This bit allows posted VC3 interrupts to be
read, cleared, or set.
Bit 6: Sleep.
This bit allows posted sleep interrupts to be
read, cleared, or set.
Bit 5: GPIO.
This bit allows posted GPIO interrupts to be
read, cleared, or set.
Bit 4: SAR8 ADC.
This bit allows posted SAR8 ADC inter-
rupts to be read, cleared, or set.
Bit 3: Analog 2.
This bit allows posted analog column 2
interrupts to be read, cleared, or set.
Bit 2: Analog 1.
This bit allows posted analog column 1
interrupts to be read, cleared, or set.
Bit 1: Analog 0.
This bit allows posted analog column 0
interrupts to be read, cleared, or set.
Bit 0: V Monitor.
This bit allows posted V monitor inter-
rupts to be read, cleared, or set.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,DAh
VC3
Sleep
GPIO
SAR8 ADC
Analog 1
Analog 0
V Monitor
RW : 0
0,DBh
DCB03
DCB02
DBB01
DBB00
RW : 0
0,DDh
I2C
RW : 0
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...