![Rabbit Rabbit 4000 Скачать руководство пользователя страница 84](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714084.webp)
74
Rabbit 4000 Microprocessor User’s Manual
8.2 Dependencies
8.2.1 I/O Pins
Parallel Port A uses pins PA0 through PA7. These pins can be used as follows.
•
General-purpose 8-bit data input (write 0x080 to SPCR)
•
General-purpose 8-bit data output (write 0x084 to SPCR)
•
Slave port data bus (write 0x088 to SPCR)
•
Data bus of the auxiliary I/O bus (write 0x08C to SPCR)
All Parallel Port A bits are inputs at startup or reset.
See the associated peripheral chapters for details on how they use Parallel Port A.
8.2.2 Clocks
Any outputs on Parallel Port A are clocked by the peripheral clock.
8.2.3 Other Registers
8.2.4 Interrupts
There are no interrupts associated with Parallel Port A.
8.3 Operation
The following steps explain how to set up Parallel Port A.
1. Select the desired mode using SPCR.
2. If the slave port or auxiliary I/O bus is selected, refer to the chapters for those peripher-
als for further setup.
Once Parallel Port A is set up, data can be read or written by accessing PADR. Note that
Parallel Port A is not available for general-purpose I/O while the slave port or the auxiliary
I/O bus is selected. Selecting these options for Parallel Port A affects Parallel Port B
because Parallel Port B is then used for address and control signals.
Register
Function
SPCR
Used to set up Parallel Port A.
Содержание Rabbit 4000
Страница 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Страница 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Страница 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Страница 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Страница 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Страница 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Страница 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Страница 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Страница 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Страница 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Страница 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Страница 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Страница 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Страница 348: ...338 Rabbit 4000 Microprocessor User s Manual...