Rev. 2.0, 11/00, page 257 of 1037
(2) Port Control Register 3 (PCR3)
0
0
1
0
W
2
0
W
3
0
4
0
W
0
W
5
0
7
0
W
W
W
W
6
PCR34
PCR33
PCR32
PCR31
PCR30
PCR37
PCR36
PCR35
Bit :
Initial value :
R/W :
Port control register 3 (PCR3) controls the I/Os of pins P37 to P30 of port 3 in a unit of bit.
When PCR3 is set to 1, the corresponding P37 to P30 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 PMR3, settings of
PCR3 and PDR3 become valid.
PCR3 is an 8-bit write-only register. When PCR3 is read, 1 is read. When reset, PCR3 is
initialized to H'00.
Bit n
PCR3n
Description
0
The P3n pin functions as an input pin
(Initial value)
1
The P3n pin functions as an output pin
(n = 7 to 0)
(3) Port Data Register 3 (PDR3)
0
0
1
0
R/W
2
0
R/W
3
0
4
0
R/W
0
R/W
5
0
7
0
R/W
R/W
R/W
R/W
6
PDR34
PDR33
PDR32
PDR31
PDR30
PDR37
PDR36
PDR35
Bit :
Initial value :
R/W :
Port data register 3 (PDR3) stores the data for the pins P37 to P30 of port 3. When PCR3 is 1
(output), the PDR3 values are directly read if port 3 is read. Accordingly, the pin states are not
affected. When PCR3 is 0 (input), the pin states are read if port 3 is read.
PDR3 is an 8-bit read/write enable register. When reset, PDR3 is initialized to H'00.
Содержание 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...