Datasheet

623
18.3.8 Port C Control Register (PCCR)
PCCR is a 16-bit read/write register that selects the functions for the sixteen port C multiplexed
pins. There are instances when these register settings will be ignored, depending on the operation
mode. Refer to table 18.2, Pin Arrangement by Mode, for details.
PCCR is initialized to H'0000 by power-on resets but is not initialized for manual resets, reset by
WDT, standby mode, or sleep mode, so the previous data is maintained.
Bit: 15 14 13 12 11 10 9 8
PC15
MD
PC14
MD
PC13
MD
PC12
MD
PC11
MD
PC10
MD
PC9
MD
PC8
MD
Initial value: 0 0 0 0 0 0 0 0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit: 7 6 5 4 3 2 1 0
PC7
MD
PC6
MD
PC5
MD
PC4
MD
PC3
MD
PC2
MD
PC1
MD
PC0
MD
Initial value: 0 0 0 0 0 0 0 0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit 15—PC15 Mode (PC15MD): Selects the function of the PC15/A15 pin.
Bit 15: PC15MD Description
0 General input/output (PC15) (initial value) (A15 in on-chip ROM invalid mode)
1 Address output (A15) (PC15 in single chip mode)
Bit 14—PC14 Mode (PC14MD): Selects the function of the PC14/A14 pin.
Bit 14: PC14MD Description
0 General input/output (PC14) (initial value) (A14 in on-chip ROM invalid mode)
1 Address output (A14) (PC14 in single chip mode)
Bit 13—PC13 Mode (PC13MD): Selects the function of the PC13/A13 pin.
Bit 13: PC13MD Description
0 General input/output (PC13) (initial value) (A13 in on-chip ROM invalid mode)
1 Address output (A13) (PC13 in single chip mode)