Rev. 2.0, 11/00, page 281 of 1037
(1) Port Mode Register 7 (PMR7)
0
0
1
0
R/W
2
0
R/W
3
0
4
0
R/W
0
R/W
5
6
0
7
PMR74
PMR73
PMR72
PMR71
PMR70
0
R/W
PMR77
R/W
R/W
R/W
PMR76
PMR75
Bit :
Initial value :
R/W :
Port mode register 7 (PMR7) controls switching of each pin function of port 7. The switching is
specified in a unit of bit.
PMR7 is an 8-bit read/write enable register. When reset, PMR7 is initialized to H'00.
Bits 7 to 0: P77/PPG7 to P70/PPG0 Pin Switching (PMR77 to PMR70)
PMR77 to PMR70 set whether the P7n/PPGn pin is used as a P7n I/O pin or a PPGn pin for the
HSW timing generation circuit output.
Bit n
PMR7n
Description
0
The P7n/PPGn pin functions as a P7n I/O pin
(Initial value)
1
The P7n/PPGn pin functions as a PPGn output pin
(n = 7 to 0)
(2) Port Control Register 7 (PCR7)
0
0
1
0
W
2
0
W
3
0
4
0
W
0
W
5
6
0
7
PCR74
PCR73
PCR72
PCR71
PCR70
0
W
PCR77
W
W
W
PCR76
PCR75
Bit :
Initial value :
R/W :
Port control register 7 (PCR7) controls the I/Os of pins P77 to P70 of port 7 in a unit of bit.
When PCR7 is set to 1, the corresponding P77 to P70 pins become output pins, and when it is set
to 0, they become input pins. When the corresponding pin is set to the general I/O by PMR7,
settings of PCR7 and PDR7 become valid.
PCR7 is an 8-bit write-only register. When PCR7 is read, 1 is read. When reset, PCR7 is
initialized to H'00.
Bit n
PCR7n
Description
0
The P7n pin functions as an input pin
(Initial value)
1
The P7n pin functions as an output pin
(n = 7 to 0)
Содержание Hitachi H8S/2191
Страница 123: ...Rev 2 0 11 00 page 96 of 1037...
Страница 149: ...Rev 2 0 11 00 page 122 of 1037...
Страница 197: ...Rev 2 0 11 00 page 170 of 1037...
Страница 247: ...Rev 2 0 11 00 page 220 of 1037...
Страница 249: ...Rev 2 0 11 00 page 222 of 1037...
Страница 347: ...Rev 2 0 11 00 page 320 of 1037...
Страница 357: ...Rev 2 0 11 00 page 330 of 1037...
Страница 417: ...Rev 2 0 11 00 page 390 of 1037...
Страница 431: ...Rev 2 0 11 00 page 404 of 1037...
Страница 439: ...Rev 2 0 11 00 page 412 of 1037...
Страница 457: ...Rev 2 0 11 00 page 430 of 1037...
Страница 525: ...Rev 2 0 11 00 page 498 of 1037...
Страница 543: ...Rev 2 0 11 00 page 516 of 1037...
Страница 639: ...Rev 2 0 11 00 page 612 of 1037 28 1 2 Block Diagram Figure 28 1 shows a block diagram of the servo circuits...
Страница 845: ...Rev 2 0 11 00 page 818 of 1037...