
663
19.7
Port F
Port F is an 8-pin input port. All modes are configured in the following way:
•
PF7 (input)/AN7 (input)
•
PF6 (input)/AN6 (input)
•
PF5 (input)/AN5 (input)
•
PF4 (input)/AN4 (input)
•
PF3 (input)/AN3 (input)
•
PF2 (input)/AN2 (input)
•
PF1 (input)/AN1 (input)
•
PF0 (input)/AN0 (input)
19.7.1
Register Configuration
Table 19.18 summarizes the port F register.
Table 19.18 Port F Register
Name
Abbreviation
R/W
Initial Value
Address
Access Size
Port F data register
PFDR
R
External pin
dependent
H'FFFF83B3
8
19.7.2
Port F Data Register (PFDR)
PFDR is an 8-bit read-only register that stores data for port F. The bits PF7DR–PF0DR
correspond to the PF7/AN7–PF0/AN0 pins. There are no bits 15–8, so always access as eight bits.
Any value written into these bits is ignored, and there is no effect on the status of the pins. When
any of the bits are read, the pin status rather than the bit value is read directly. However, when an
A/D converter analog input is being sampled, values of 1 are read out. Table 19.19 shows the
read/write operations of the port F data register.
PFDR is not initialized by power-on resets, manual resets, standby mode, or sleep mode (the bits
always reflect the pin status).
Bit:
7
6
5
4
3
2
1
0
PF7DR
PF6DR
PF5DR
PF4DR
PF3DR
PF2DR
PF1DR
PF0DR
Initial value:
*
*
*
*
*
*
*
*
R/W:
R
R
R
R
R
R
R
R
Note:
*
Initial values are dependent on the status of the pins at the time of the reads.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...