Rev. 2.00, 09/03, page 516 of 690
20.7.2
Port G Data Register (PGDR)
PGDR is an 8-bit readable/writable register that stores data for pins PTG7 to PTG0. Bits PG7DT
to PG0DT correspond to pins PTG7 to PTG0. When the pin function is general output port, if the
port is read, the value of the corresponding PGDR bit is returned directly. When the function is
general input port, if the port is read the corresponding pin level is read.
Bit
Bit
Name
Initial
Value
R/W
Description
7 to
0
PG7DT
to
PG0DT
0
R/W
Table 20.7 shows the function of PGDR.
Table 20.7
Port G Data Register (PGDR) Read/Write Operations
PGCR State
PGnMD1 PGnMD0 Pin State
Read
Write
0
0
Other function PGDR value
Data can be written to PGDR but no effect on
pin state.
1
Output
PGDR value
Written data is output from the pin.
1
0
Input (Pull-up
MOS on)
Pin state
Data can be written to PGDR but no effect on
pin state.
1
Input (Pull-up
MOS off)
Pin state
Data can be written to PGDR but no effect on
pin state.
Note:
n = 0 to 7
20.8
Port H
Port H is a 7-bit input/output port with the pin configuration shown in figure 20.8. Each pin has an
input pull-up MOS, which is controlled by the port H control register (PHCR) in the PFC.
Port H
PTH6 (input/output)/DREQ1 (input)
PTH5 (input/output)/DREQ0 (input)
PTH4 (input/output)/IRQ4 (input)
PTH3 (input/output)/IRQ3 (input)/
IRL3
(input)
PTH2 (input/output)/IRQ2 (input)/
IRL2
(input)
PTH1 (input/output)/IRQ1 (input)/
IRL1
(input)
PTH0 (input/output)/IRQ0 (input)/
IRL0
(input)
Figure 20.8 Port H
Содержание SH7705
Страница 2: ......
Страница 46: ...Rev 2 00 09 03 page xlvi of xlvi Appendix Table A 1 I O Port States in Each Processing State 679 ...
Страница 70: ...Rev 2 00 09 03 page 24 of 690 ...
Страница 194: ...Rev 2 00 09 03 page 148 of 690 ...
Страница 284: ...Rev 2 00 09 03 page 238 of 690 ...
Страница 338: ...Rev 2 00 09 03 page 292 of 690 ...
Страница 354: ...Rev 2 00 09 03 page 308 of 690 ...
Страница 374: ...Rev 2 00 09 03 page 328 of 690 ...
Страница 420: ...Rev 2 00 09 03 page 374 of 690 ...
Страница 476: ...Rev 2 00 09 03 page 430 of 690 ...
Страница 482: ...Rev 2 00 09 03 page 436 of 690 ...
Страница 552: ...Rev 2 00 09 03 page 506 of 690 ...
Страница 630: ...Rev 2 00 09 03 page 584 of 690 ...
Страница 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...