444
16.3.2
Port B Data Register (PBDR)
PBDR is a 16-bit read/write register that stores data for port B. Bits PB15DR–PB0DR correspond
to the PB15/TP15/
IRQ7
–PB0/TP0/TIOCA2 pins. When the pins are used as ordinary outputs, they
will output whatever value is written in PBDR; when PBDR 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 PBDR is read. When a value is written to PBDR, that
value can be written into PBDR, but it will not affect the pin status. When the pin function is set to
timing pattern output and the TPC output is enabled by the TPC next data enable register (NDER),
no value can be written to PBDR. Table 16.4 shows port B data register read/write operations.
PBDR is initialized by a power-on reset. However, PBDR is not initialized by a manual reset, or in
standby mode or sleep mode.
Bit:
15
14
13
12
11
10
9
8
Bit name: PB15DR PB14DR PB13DR PB12DR PB11DR PB10DR PB9DR
PB8DR
Initial value:
0
0
0
0
0
0
0
0
R/W
:
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
7
6
5
4
3
2
1
0
Bit name:
PB7DR
PB6DR
PB5DR
PB4DR
PB3DR
PB2DR
PB1DR
PB0DR
Initial value:
0
0
0
0
0
0
0
0
R/W
:
R/WR/WR/WR/WR/WR/WR/WR/W
Table 16.4
Port B Data Register (PBDR) Read/Write Operations
PBIOR
Pin Status
Read
Write
0
Input
Pin status
Can write to PBDR, but it has no effect on pin
status
TPn
Pin status
Disabled
Other function
Pin status
Can write to PBDR, but it has no effect on pin
status
1
Output
PBDR value
Value written is output by pin
TPn
PBDR value
Disabled
Other function
PBDR value
Can write to PBDR, but it has no effect on pin
status
TPn: Timing pattern output
Содержание HD6417032
Страница 21: ......
Страница 35: ...xiv ...
Страница 85: ...50 ...
Страница 101: ...66 ...
Страница 129: ...94 ...
Страница 135: ...100 ...
Страница 343: ...308 ...
Страница 369: ...334 ...
Страница 383: ...348 ...
Страница 475: ...440 ...
Страница 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Страница 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Страница 689: ...654 ...