English
Language : 

Z32F0641MCU Datasheet, PDF (65/205 Pages) Zilog, Inc. – High Performance low-power Cortex-M3 core
Z32F0641 Product Specification
Port Control Unit
PCCCR PORT C Pin Control Register
This register controls the input or output of each port pin. Each pin can be configured as input pin, output pin,
or open-drain pin.
PCC.CR=0x4000_1204
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P15 P14 P13 P12 P11 P10 P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
11
11
11
11
10
10
11
11
11
11
11
10
10
00
10
10
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Pn
Port control
00 Push-pull output
01 Open-drain output
10 Input
11 Analog
PCn.PCR PORT n Pull-up Resistor Control Register
Every pin in the port has on-chip pull-up resistors which can be configured by the PnPCR registers.
15
14
13
12
11
10
9
8
7
PCA.PCR=0x4000_1008, PCB.PCR=0x4000_1108
PCC.PCR=0x4000_1208, PCD.PCR=0x4000_1308
6
5
4
3
2
1
0
n
PUEn
0000
RW
Port pull-up control
0 Disable pull-up resistor
1 Enable pull-up resister
PS034404-0417
PRELIMINARY
62