English
Language : 

SH7108 Datasheet, PDF (476/560 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 15 I/O Ports
Table 15.5 Port F Data Register (PFDR) Read/Write Operations
• Bits 15 to 8 in SH7108 and bits 15 to 0 in SH7109
Pin Function
Read
General input
Pin state
ANn input
1
Write
Ignored (no effect on pin state)
Ignored (no effect on pin state)
15.6 Port G
Port G that can only be used in the SH7108 is an input-only port with the four pins shown in
figure 15.10.
Port G
PG3 (input) / AN19 (input)
PG2 (input) / AN18 (input)
PG1 (input) / AN17 (input)
PG0 (input) / AN16 (input)
Figure 15.10 Port G (SH7108)
15.6.1 Register Description
Port G is a 4-bit input-only port. Port G has the following register. For details on register addresses
and register states during each processing, refer to section 19, List of Registers.
• Port G data register (PGDR)
15.6.2 Port G Data Register (PGDR)
PGDR is an 8-bit read-only register that stores port G data. Bits PG3DR to PG0DR correspond to
pins PG3 to PG0 (multiplexed functions omitted here).
Any value written into these bits is ignored, and there is no effect on the state of the pins. When
any of the bits are read, the pin state rather than the bit value is read directly. However, when an
A/D converter analog input is being sampled, values of 1 are read. Table 15.6 summarizes port G
data register read/write operations.
Rev.1.00 Sep. 18, 2008 Page 442 of 522
REJ09B0069-0100