Rev. 2.0, 11/00, page 243 of 1037
Bit 6: P16/
,&
,& Pin Switching (PMR16)
PMR16 sets whether the P16/
,& pin as a P16 I/O pin or an ,& pin for the input capture input of
the prescalar unit. The
,& pin has a built-in noise cancel circuit. See section 21, Prescalar Unit.
Bit 6
PMR16
Description
0
The P16/
,&
pin functions as a P16 I/O pin
(Initial value)
1
The P16/
,&
pin functions as an
,&
input pin
Bits 5 to 0: P15/
,54
,54 to P10/,54
,54 Pin Switching (PMR15 to PMR10)
PMR15 to PMR10 set whether the P1n/
,54Q pin is used as a P1n I/O pin or an ,54Q pin for the
external interrupt request input.
Bit n
PMR1n
Description
0
The P1n/
,54Q
pin functions as a P1n I/O pin
(Initial value)
1
The P1n/
,54Q
pin functions as an
,54Q
input pin
(n = 5 to 0)
(2) Port Control Register 1 (PCR1)
0
0
1
0
W
2
0
W
3
0
4
0
W
0
W
5
0
7
0
W
W
W
W
6
PCR14
PCR13
PCR12
PCR11
PCR10
PCR17
PCR16
PCR15
Bit :
Initial value :
R/W :
Port control register 1 (PCR1) controls the I/Os of pins P17 to P10 of port 1 in a unit of bit.
When PCR1 is set to 1, the corresponding P17 to P10 pins become output pins, and when it is set
to 0, they become input pins. When the relevant pin is set to a general I/O by PMR1, settings of
PCR1 and PDR1 become valid.
PCR1 is an 8-bit write-only register. When PCR1 is read, 1 is read. When reset, PCR1 is
initialized to H'00.
Bit n
PCR1n
Description
0
The P1n pin functions as an input pin
(Initial value)
1
The P1n pin functions as an output pin
(n = 7 to 0)
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...