|
CY8C36_12 Datasheet, PDF (25/131 Pages) Cypress Semiconductor – Programmable System-on-Chip (PSoC®) | |||
|
◁ |
PSoC® 3: CY8C36 Family
Data Sheet
5.7.5 I/O Port SFRs
The I/O ports provide digital input sensing, output drive, pin
interrupts, connectivity for analog inputs and outputs, LCD, and
access to peripherals through the DSI. Full information on I/O
ports is found in I/O System and Routing on page 34.
I/O ports are linked to the CPU through the PHUB and are also
available in the SFRs. Using the SFRs allows faster access to a
limited set of I/O port registers, while using the PHUB allows boot
configuration and access to all I/O port registers.
Each SFR supported I/O port provides three SFRs:
ï® SFRPRTxDR sets the output data state of the port (where à is
port number and includes ports 0â6, 12 and 15).
ï® The SFRPRTxSEL selects whether the PHUB PRTxDR
register or the SFRPRTxDR controls each pinâs output buffer
within the port. If a SFRPRTxSEL[y] bit is high, the
corresponding SFRPRTxDR[y] bit sets the output state for that
pin. If a SFRPRTxSEL[y] bit is low, the corresponding
PRTxDR[y] bit sets the output state of the pin (where y varies
from 0 to 7).
ï® The SFRPRTxPS is a read only register that contains pin state
values of the port pins.
5.7.5.1 xdata Space
The 8051 xdata space is 24-bit, or 16 MB in size. The majority of
this space is not âexternalââit is used by on-chip components.
See Table 5-5. External, that is, off-chip, memory can be
accessed using the EMIF. See External Memory Interface on
page 23.
Table 5-5. XDATA Data Address Map
Address Range
0Ã00 0000 â 0Ã00 1FFF
0Ã00 4000 â 0Ã00 42FF
0Ã00 4300 â 0Ã00 43FF
0Ã00 4400 â 0Ã00 44FF
0Ã00 4500 â 0Ã00 45FF
0Ã00 4700 â 0Ã00 47FF
0Ã00 4800 - 0Ã00 48FF
0Ã00 4900 â 0Ã00 49FF
0Ã00 4E00 â 0Ã00 4EFF
0Ã00 4F00 â 0Ã00 4FFF
0Ã00 5000 â 0Ã00 51FF
0Ã00 5400 â 0Ã00 54FF
0Ã00 5800 â 0Ã00 5FFF
0Ã00 6000 â 0Ã00 60FF
0Ã00 6400 â 0Ã00 6FFF
0Ã00 7000 â 0Ã00 7FFF
0Ã00 8000 â 0Ã00 8FFF
0Ã00 A000 â 0Ã00 A400
0Ã00 C000 â 0Ã00 C800
0Ã01 0000 â 0Ã01 FFFF
0Ã05 0220 â 0Ã05 02F0
0Ã08 0000 â 0Ã08 1FFF
0Ã80 0000 â 0ÃFF FFFF
Purpose
SRAM
Clocking, PLLs, and oscillators
Power management
Interrupt controller
Ports interrupt control
Flash programming interface
Cache controller
I2C controller
Decimator
Fixed timer/counter/PWMs
I/O ports control
External Memory Interface
(EMIF) control registers
Analog Subsystem interface
USB controller
UDB configuration
PHUB configuration
EEPROM
CAN
Digital Filter Block
Digital Interconnect
configuration
Debug controller
flash ECC bytes
External Memory Interface
Document Number: 001-53413 Rev. *O
Page 25 of 131
|
▷ |