CHAPTER 12 PORT FUNCTIONS
565
User’s Manual U15195EJ5V0UD
(b) Port 1 mode control register (PMC1)
This register can be read or written in 8-bit or 1-bit units. Write 0 in bits 3 to 7.
Caution The PMC11 and PMC12 bits are also used as external interrupts (INTP100 and INTP101).
When not using them as external interrupts, mask interrupt requests (refer to 7.3.4
Interrupt control registers (xxICn)).
7
0
PMC1
6
0
5
0
4
0
3
0
2
PMC12
1
PMC11
0
PMC10
Address
FFFFF442H
After reset
00H
Bit position
Bit name
Function
2
PMC12
Specifies operation mode of P12 pin.
0: I/O port mode
1: TCLR10 input mode or external interrupt request (INTP101) input mode
1
PMC11
Specifies operation mode of P11 pin.
0: I/O port mode
1: TCUD10 input mode or external interrupt request (INTP100) input mode
0
PMC10
Specifies operation mode of P10 pin.
0: I/O port mode
1: TIUD10 input mode or TO10 output mode
(c) Port 1 function control register (PFC1)
This register can be read or written in 8-bit or 1-bit units. Write 0 in bits other than 0.
Caution When port mode is specified by the port 1 mode control register (PMC1), the setting of
this register is invalid.
7
0
PFC1
6
0
5
0
4
0
3
0
2
0
1
0
0
PFC10
Address
FFFFF462H
After reset
00H
Bit position
Bit name
Function
0
PFC10
Specifies operation mode of P10 pin in control mode.
0: TIUD10 input mode
1: TO10 output mode
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...