Rev. 1.0, 09/02, page 143 of 568
9.7.2
Port B Data Register (PBDR)
PBDR is an 8-bit readable/writable register that stores output data for the port B pins.
Bit
Bit Name
Initial Value
R/W
Description
7 PB7DR 0
R/W
6 PB6DR 0
R/W
5 PB5DR 0
R/W
4 PB4DR 0
R/W
3 PB3DR 0
R/W
2 PB2DR 0
R/W
1 PB1DR 0
R/W
0 PB0DR 0
R/W
Output data for a pin is stored when the pin is
specified as a general purpose I/O port.
9.7.3
Port B Register (PORTB)
PORTB is an 8-bit read-only register that shows port B pin states.
Bit
Bit Name
Initial Value
R/W
Description
7 PB7
0
R
6 PB6
0
R
5 PB5
0
R
4 PB4
0
R
3 PB3
0
R
2 PB2
0
R
1 PB1
0
R
0 PB0
0
R
If a port B read is performed while PBDDR bits are
set to 1, the PBDR values are read. If a port B read is
performed while PBDDR bits are cleared to 0, the pin
states are read.
Note:
*
Determined by the states of pins PB7 to PB0.
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...