128
Rabbit 3000 Microprocessor
9.7 Parallel Port G
Parallel Port G is a byte-wide port with each bit programmable for data direction and
drive. These are simple inputs and outputs controlled and reported in the Port G Data Reg-
ister. As outputs, the bits of the port are buffered, with the data written to the Port G Data
Register transferred to the output pins on a selected timing edge. The outputs of Timer A1,
Timer B1, or Timer B2 can be used for this function, with each nibble of the port having a
separate select field to control this timing.
These inputs and outputs are also used for access to other peripherals on the chip. As out-
puts, Port G can carry the data and clock outputs from Serial Ports E and F. As inputs, Port
G can carry the data and clock inputs for these two serial ports.
The following registers are described in Table 9-17 and in Table 9-18.
Table 9-16. Parallel Port G Registers
Register Name
Mnemonic
I/O address
R/W
Reset
Port G Data Register
PGDR
0x48
R/W
xxxxxxxx
Port G Control Register
PGCR
0x4C
W
xx00xx00
Port G Function Register
PGFR
0x4D
W
xxxxxxxx
Port G Drive Control Register
PGDCR
0x4E
W
xxxxxxxx
Port G Data Direction Register
PGDDR
0x4F
W
00000000
Table 9-17. Parallel Port G Data Register Functions
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PGDR (R/W)
adr = 048h
PG7
PG6
PG5
PG4
PG3
PG2
PG1
PG0
PGDCR (W)
adr = 04Eh
out =
open
drain
out =
open
drain
out =
open
drain
out =
open
drain
out =
open
drain
out =
open
drain
out =
open
drain
out =
open
drain
PGFR (W)
adr = 04Dh
x
SOUT_E
RCLK_E
TCLK_E
x
SOUT_F
RCLK_F
TCLK_F
PGDDR (W)
adr = 04Fh
dir =
out
dir =
out
dir =
out
dir =
out
dir =
out
dir =
out
dir =
out
dir =
out
Содержание 3000
Страница 1: ...Rabbit 3000 Microprocessor User s Manual 019 0108 020426 A...
Страница 8: ...Rabbit 3000 Microprocessor...
Страница 28: ...20 Rabbit 3000 Microprocessor...
Страница 73: ...User s Manual 65 6 RABBIT INTERNAL I O REGISTERS...
Страница 122: ...114 Rabbit 3000 Microprocessor...
Страница 138: ...130 Rabbit 3000 Microprocessor...
Страница 150: ...142 Rabbit 3000 Microprocessor...
Страница 188: ...180 Rabbit 3000 Microprocessor...
Страница 208: ...200 Rabbit 3000 Microprocessor...
Страница 228: ...220 Rabbit 3000 Microprocessor...
Страница 232: ...224 Rabbit 3000 Microprocessor...
Страница 238: ...230 Rabbit 3000 Microprocessor...
Страница 260: ...252 Rabbit 3000 Microprocessor...
Страница 266: ......