C8051F340/1/2/3/4/5/6/7
1.6.Programmable Digital I/O and Crossbar
C8051F340/1/4/5 devices include 40 I/O pins (five
The Digital Crossbar allows mapping of internal digital system resources to Port I/O pins (See Figure 1.6).
XBR0, XBR1, XBR2, |
| PnMDOUT, | |
PnSKIP Registers |
| PnMDIN Registers | |
|
|
|
|
|
|
|
|
Highest Priority
(Internal Digital Signals)
Lowest Priority
(Port Latches)
2
UART0
4
SPI
2
SMBus
CP0 | 2 | ||
Outputs | 2 | ||
| |||
| |||
CP1 | |||
Outputs |
|
| |
SYSCLK |
|
| |
|
| 6 | |
PCA | |||
2 | |||
| |||
| |||
T0, T1 | |||
|
| ||
| 2 | ||
| |||
UART1* | |||
|
| ||
|
|
|
| 8 |
P0 | |
| 8 |
P1 | |
| 8 |
P2 | |
| 8 |
P3 |
Priority |
Decoder |
Digital |
Crossbar |
8 | P0 | P0.0 |
I/O |
| |
|
| |
| Cells | P0.7 |
8 | P1 | P1.0 |
I/O |
| |
|
| |
| Cells | P1.7 |
8 | P2 | P2.0 |
I/O |
| |
|
| |
| Cells | P2.7 |
8 | P3 | P3.0 |
I/O |
| |
|
| |
| Cells | P3.7* |
*Note:
Figure 1.6. Digital Crossbar Diagram
26 | Rev. 0.5 |