Rev. 2.00, 09/03, page 508 of 690
20.1.2
Port A Data Register (PADR)
PADR is an 8-bit readable/writable register that stores data for pins PTA7 to PTA0. Bits PA7DT
to PA0DT correspond to pins PTA7 to PTA0. When the pin function is general output port, if the
port is read, the value of the corresponding PADR 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
PA7DT
to
PA0DT
0
R/W
Table 20.1 shows the function of PADR.
Table 20.1
Port A Data Register (PADR) Read/Write Operations
PACR State
PAnMD1 PAnMD0 Pin State
Read
Write
0
0
Other function PADR value
Data can be written to PADR but no effect on
pin state.
1
Output
PADR value
Written data is output from the pin.
1
0
Input (Pull-up
MOS on)
Pin state
Data can be written to PADR but no effect on
pin state.
1
Input (Pull-up
MOS off)
Pin state
Data can be written to PADR but no effect on
pin state.
Note:
n = 0 to 7
20.2
Port B
Port B is an 8-bit input/output port with the pin configuration shown in figure 20.2. Each pin has
an input pull-up MOS, which is controlled by the port B control register (PBCR) in the PFC.
Port B
PTB7 (input/output)/D31 (input/output)/PINT15 (input)
PTB6 (input/output)/D30 (input/output)/PINT14 (input)
PTB5 (input/output)/D29 (input/output)/PINT13 (input)
PTB4 (input/output)/D28 (input/output)/PINT12 (input)
PTB3 (input/output)/D27 (input/output)/PINT11 (input)
PTB2 (input/output)/D26 (input/output)/PINT10 (input)
PTB1 (input/output)/D25 (input/output)/PINT9 (input)
PTB0 (input/output)/D24 (input/output)/PINT8 (input)
Figure 20.2 Port B
Summary of Contents for SH7705
Page 2: ......
Page 70: ...Rev 2 00 09 03 page 24 of 690 ...
Page 194: ...Rev 2 00 09 03 page 148 of 690 ...
Page 284: ...Rev 2 00 09 03 page 238 of 690 ...
Page 338: ...Rev 2 00 09 03 page 292 of 690 ...
Page 354: ...Rev 2 00 09 03 page 308 of 690 ...
Page 374: ...Rev 2 00 09 03 page 328 of 690 ...
Page 420: ...Rev 2 00 09 03 page 374 of 690 ...
Page 476: ...Rev 2 00 09 03 page 430 of 690 ...
Page 482: ...Rev 2 00 09 03 page 436 of 690 ...
Page 552: ...Rev 2 00 09 03 page 506 of 690 ...
Page 630: ...Rev 2 00 09 03 page 584 of 690 ...
Page 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...