CY8C25122 Cypress Semiconductor, CY8C25122 Datasheet - Page 47
CY8C25122
Manufacturer Part Number
CY8C25122
Description
8-Bit Programmable System-on-Chip (PSoC) Microcontrollers
Manufacturer
Cypress Semiconductor
Datasheet
1.CY8C25122.pdf
(148 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY8C25122-24PI
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
Company:
Part Number:
CY8C25122-24PXI
Manufacturer:
CY
Quantity:
3 276
Part Number:
CY8C25122-24PXI
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
- Current page: 47 of 148
- Download datasheet (2Mb)
8.6
GPIO Interrupts are polarity configurable and pin-wise
maskable (within each Port’s pin configuration registers).
They all share the same interrupt priority and vector.
Any general purpose I/O can be used as an interrupt
source. The GPIO bit in the General Interrupt Mask Reg-
ister (INT_MSK0) must be set to enable pin interrupts, as
well as the enable bits for each pin, which are located in
For a GPIO interrupt to occur, the following steps must
be taken:
1.
2.
3.
4.
5.
September 5, 2002
The pin Drive Mode must be set so the pin can be
an input.
The pin must be enabled to generate an interrupt by
setting the appropriate bit in the Port interrupt
Enable Register (PRTxIE).
The edge type for the interrupt must be set in the
Port Interrupt Control 0 and Control 1 Registers
(PRTxIC0 and PRTxIC1). Edge type must be set to
a value other than 00.
The GPIO bit must be set in the General Interrupt
Mask Register (INT_MSK0).
The Global Interrupt Enable bit must be set.
GPIO Interrupt
PIN
Int Logic
PORTX IE Register
(PRT0IE...PRT5IE)
GPIO Cell
GPIO BIT IE
Figure 11: GPIO Interrupt Enable Diagram
Document #: 38-12010 CY Rev. ** CMS Rev. 3.20
All GPIO INTOUTs
INTOUTn
the Port x Interrupt Enable Registers (PRTxIE). There
are user selectable options to generate an interrupt on 1)
any change from the last read state, 2) rising edge, and
3) falling edge.
When Interrupt on Change is selected, the state of the
GPIO pin is stored when the port is read. Changes from
this state will then assert the interrupt, if enabled.
6.
Because the GPIO interrupts all share the same
interrupt vector, the source for the GPIO interrupt
must be cleared before any other GPIO interrupt will
occur (i.e., the OR gate in
the INTOUTn signals together). If any of the
INTOUTn signals are high, the flip-flop in
11
OR
will not see a rising edge and no IRQ will occur.
“1”
D
R
BIT S, INT_MSK0
GPIO Int Enable
Q
IRQ
FigureTitle 11
Decode Logic
To Priority
“ors” all of
FigureTitle
Interrupts
47
Related parts for CY8C25122
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Cypress Semiconductor [5V, 3.3V, ISRTM High-Performance CPLDs]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
CY7C0831V-167ACCypress Semiconductor [FLEx18-TM 3.3V 32K/64K/128K/256K/512K x 18 Synchronous Dual-Port RAM]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
CMOS Generic 24-Pin Reprogrammable Logic Device
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
64K x 16 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
1K x 8 Dual-Port Static Ram
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
128K x 8 static RAM, standby current 20uA, 70ns
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
1024 x 4 Static R/W RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
256/512/1K/2K/4K x 9 Asynchronous FIFO
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
16K x 4 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet: