Datasheet
78K0/Ix2 CHAPTER 4 PORT FUNCTIONS
R01UH0010EJ0500 Rev.5.00 143
Feb 28, 2012
Figure 4-38. Format of A/D Port Configuration Register 1 (ADPC1) (78K0/IB2 Only)
Address: FF2FH After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
ADPC1 0 0 0 0 0 0 0 ADPCS8
ADPCS8 Digital I/O or analog input selection
0 Analog input
1 Digital I/O
Cautions 1. Set the pin set to analog input to the input mode by using port mode register 7 (PM7).
2. If data is written to ADPC1, a wait cycle is generated. Do not write data to ADPC1 when the
peripheral hardware clock is stopped. For details, refer to CHAPTER 31 CAUTIONS FOR WAIT.
(8) Port alternate switch control register (MUXSEL)
This register assigns the pin function.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears MUXSEL to 00H.
Figure 4-39. Format of Port Alternate Switch Control Register (MUXSEL) (1/2)
(1) 78K0/IY2
Address: FF39H After reset: 00H R/W
Symbol <7> <6> <5> <4> 3 <2> 1 <0>
MUXSEL INTP0SEL1 INTP0SEL0 TM00SEL1 TM00SEL0 0 TM5SEL0 0 TMHSEL0
INTP0SEL1 INTP0SEL0 External interrupt input (INTP0) pin assignment
0 0 (default)
0 1 P121/INTP0
1 0 P125/INTP0
1 1 Setting prohibited
TM00SEL1 TM00SEL0 16-bit timer/event counter 00 input (TI000) pin assignment
0 0 (default)
0 1 P121/TI000
1 0 P125/TI000
1 1 Setting prohibited
TM5SEL0 8-bit timer/event counter 51 input (TI51) pin assignment
0 (default)
1 P34/TI51
TMHSEL0 8-bit timer H1 output (TOH1) pin assignment
0 (default)
1 P34/TOH1