Rev. 2.00, 09/03, page 509 of 690
20.2.1
Register Description
Port B has the following register. For details on the register address and access size, see section
24, List of Registers.
•
Port B data register (PBDR)
20.2.2
Port B Data Register (PBDR)
PBDR is an 8-bit readable/writable register that stores data for pins PTB7 to PTB0. Bits PB7DT to
PB0DT correspond to pins PTB7 to PTB0. When the pin function is general output port, if the port
is read the value of the corresponding PBDR 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
PB7DT
to
PB0DT
0
R/W
Table 20.2 shows the function of PBDR.
Table 20.2
Port B Data Register (PBDR) Read/Write Operations
PBCR State
PBnMD1 PBnMD0 Pin State
Read
Write
0
0
Other function PBDR value
Data can be written to PBDR but no effect on
pin state.
1
Output
PBDR value
Written data is output from the pin.
1
0
Input (Pull-up
MOS on)
Pin state
Data can be written to PBDR but no effect on
pin state.
1
Input (Pull-up
MOS off)
Pin state
Data can be written to PBDR but no effect on
pin state.
Note:
n = 0 to 7
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 ...