70
CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
Interrupt Controller
5.3.2
INT_MSKx Registers
The Interrupt Mask Registers (INT_MSKx) are used to
enable the individual interrupt sources’ ability to create
pending interrupts.
registers (INT_MSK0,
INT_MSK1, INT_MSK2, and INT_MSK3) which may be
referred to in general as INT_MSKx. If cleared, each bit in
an INT_MSKx register prevents a posted interrupt from
becoming a pending interrupt (input to the priority encoder).
However, an interrupt can still post even if its mask bit is
zero. All INT_MSKx bits are independent of all other
INT_MSKx bits.
If an INT_MSKx bit is set, the interrupt source associated
with that mask bit may generate an interrupt that will
become a pending interrupt. For example, if INT_MSK0[5] is
set and at least one GPIO pin is configured to generate an
interrupt, the interrupt controller will allow a GPIO interrupt
request to post and become a pending interrupt for the M8C
to respond to. If a higher priority interrupt is generated
before the M8C responds to the GPIO interrupt, the higher
priority interrupt will be responded to and not the GPIO inter-
rupt.
Each interrupt source may require configuration at a block
level. Refer to the other chapters in this manual for informa-
tion on how to configure an individual interrupt source.
5.3.2.1
INT_MSK3 Register
Bit 7: ENSWINT.
This bit is a special non-mask bit that
controls the behavior of the INT_CLRx registers. See the
INT_CLRx register in this section for more information.
Bit 5: Analog 5.
This bit allows posted analog column 5
interrupts to be read, masked, or set.
Bit 4: Analog 4.
This bit allows posted analog column 4
interrupts to be read, masked, or set.
Bit 3: RTC.
This bit allows posted RTC interrupts to be
read, masked, or set.
Bit 2: SARADC.
This bit allows posted SARADC interrupts
to be read, masked, or set.
Bit 1: I2C1.
This bit allows posted I2C1 interrupts to be
read, masked, or set.
Bit 0: I2C0.
This bit allows posted I2C0 interrupts to be
read, masked, or set.
For additional information, refer to the
5.3.2.2
INT_MSK2 Register
Depending on the digital row characteristics of your PSoC
device (see the table titled
“CY8C28xxx Device Characteris-
), you may not be able to use this register.
The bits in this register are only for PSoC devices with 4 and
3 digital rows.
Bit 3: DCC23.
This bit allows posted DCC23 interrupts to
be read, masked, or set for row 2 block 3.
Bit 2: DCC22.
This bit allows posted DCC22 interrupts to
be read, masked, or set for row 2 block 2.
Bit 1: DBC21.
This bit allows posted DBC21 interrupts to
be read, masked, or set for row 2 block 1.
Bit 0: DBC20.
This bit allows posted DBC20 interrupts to
be read, masked, or set for row 2 block 0.
For additional information, refer to the
5.3.2.3
INT_MSK0 Register
Depending on the analog column characteristics of your
PSoC device (see the table titled
), some bits may not be available in
the INT_MSK0 register.
Bit 7: VC3.
This bit allows posted VC3 interrupts to be
read, masked, or set.
Bit 6: Sleep.
This bit allows posted sleep interrupts to be
read, masked, or set.
Bit 5: GPIO.
This bit allows posted GPIO interrupts to be
read, masked, or set.
Bit 4: Analog 3.
This bit allows posted analog column 3
interrupts to be read, masked, or set.
Bit 3: Analog 2.
This bit allows posted analog column 2
interrupts to be read, masked, or set.
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,DEh
ENSWINT
Analog 5
Analog 4
RTC
SARADC
I2C1
I2C0
RW : 00
0,DFh
DCC23
DCC22
DBC21
DBC20
RW : 00
0,E0h
VC3
Sleep
GPIO
Analog 3
Analog 2
Analog 1
Analog 0
V Monitor
RW : 00
0,E1h
DCC13
DCC12
DBC11
DBC10
DCC03
DCC02
DBC01
DBC00
RW : 00
Summary of Contents for CY8C28 series
Page 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Page 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Page 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Page 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...