![Rabbit Rabbit 4000 Скачать руководство пользователя страница 173](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714173.webp)
163
18.2 Dependencies
18.2.1 I/O Pins
When the slave port is enabled by writing to SPCR, the following pins are enabled for
slave port mode. Note that enabling the slave port mode will override any general-purpose
I/O or auxiliary I/O bus settings for these pins; when the slave port is enabled they will
perform slave port functionality.
18.2.2 Clocks
All slave port operations are based on the processor clock.
18.2.3 Interrupts
A slave port interrupt occurs on the slave device whenever the master writes to SPD0R.
The /SLVATTN pin is asserted whenever the slave device writes to SPD0R. Either if these
conditions is cleared when either the master or slave reads or writes any of the slave port
registers.
The slave port interrupt vector is in the IIR at offset 0x080. It can be set as Priority 1, 2, or
3 by writing to SPCR.
Table 18-2. Slave Port Pin Functionality
Pin(s)
Slave Port
Signal
Direction
Functionality
PA0–PA7
SD0–SD7
Bidirectional
Slave data bus
PB7
/SLVATTN
Output
Slave interrupt request (output)
PB6
/SCS
Input
Slave chip select
PB4–PB5
SA0–SA1
Input
Slave address bus
PB3
/SRD
Input
Slave port read strobe
PB2
/SWR
Input
Slave port write strobe
PE7
/SCS
Input
Alternate slave chip select
Содержание 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...