
650
19.2.1
Register Configuration
Table 19.3 summarizes the port A register.
Table 19.3
Port A Register
Name
Abbreviation
R/W
Initial Value
Address
Access Size
Port A data register H PADRH
R/W
H'0000
H'FFFF8380
H'FFFF8381
8, 16, 32
Port A data register L PADRL
R/W
H'0000
H'FFFF8382
H'FFFF8383
8, 16, 32
19.2.2
Port A Data Register H (PADRH)
PADRH is a 16-bit read/write register that stores data for port A. The bits PA23DR–PA16DR
correspond to the PA23/
WRHH
–PA16/
AH
pins. When the pins are used as ordinary outputs, they
will output whatever value is written in the PADRH; when PADRH is read, the register value will
be output regardless of the pin status. When the pins are used as ordinary inputs, the pin status
rather than the register value is read directly when PADRH is read. When a value is written to
PADRH, that value can be written into PADRH, but it will not affect the pin status. Table 19.4
shows the read/write operations of the port A data register.
PADRH is initialized by an external power-on reset. However, PADRH is not initialized for
manual reset, reset by WDT, standby mode, or sleep mode.
These register settings function only for the 144-pin version. There are no pins corresponding to
this register in the 112-pin version. However, read/writes are possible.
Bit:
15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R
R
R
R
Bit:
7
6
5
4
3
2
1
0
PA23DR PA22DR PA21DR PA20DR PA19DR PA18DR PA17DR PA16DR
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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 ...