Section 20 I/O Ports
Rev. 2.00 Mar 09, 2006 page 798 of 906
REJ09B0292-0200
Table 20.3 Register Configuration
Name
Abbreviation
R/W
Initial Value
Address
Access Size
Port B data register
PBDR
R/W
H'0000
H'FFFFFC8C
8, 16
20.3.2
Port B Data Register (PBDR)
Bit:
15
14
13
12
11
10
9
8
PB15DR PB14DR PB13DR PB12DR PB11DR PB10DR PB9DR PB8DR
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
Bit:
7
6
5
4
3
2
1
0
PB7DR PB6DR PB5DR PB4DR PB3DR PB2DR PB1DR PB0DR
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
The port B data register (PBDR) is a 16-bit read/write register that stores port B data. Bits
PB15DR to PB0DR correspond to pins PB15 to PB0. When a pin functions as a general output, if
a value is written to PBDR, that value is output directly from the pin, and if PBDR is read, the
register value is returned directly regardless of the pin state. When a pin functions as a general
input, if PBDR is read the pin state, not the register value, is returned directly. If a value is written
to PBDR, although that value is written into PBDR it does not affect the pin state. Table 20.4
shows port B data register read/write operations.
PBDR is initialized to H'0000 by a power-on reset. It is not initialized by a manual reset or in
standby mode or sleep mode.
Table 20.4 Port B Data Register (PBDR) Read/Write Operations
PBIOR
Pin Function
Read
Write
0
General input
Pin state
Value is written to PBDR, but does not
affect pin state
Other than general input
Pin state
Value is written to PBDR, but does not
affect pin state
1
General output
PBDR value
Write value is output from pin
Other than general output
PBDR value
Value is written to PBDR, but does not
affect pin state
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...