![Rabbit Rabbit 4000 User Manual Download Page 101](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714101.webp)
91
11.2.3 Other Registers
11.2.4 Interrupts
External interrupts can be accepted from pins PD1 or PD0; see Chapter 7 for more details.
11.3 Operation
The following steps must be taken before using Parallel Port D.
1. Select the desired input/output direction for each pin via PDDDR.
2. Select high/low or open-drain functionality for outputs via PDDCR.
3. If an alternative peripheral output function is desired for a pin, select it by via PDALR
or PDAHR and then enable it via PDFR. Refer to the appropriate peripheral chapter for
further use of that pin.
4. All these settings will be superseded if a 16-bit memory interface is selected since par-
allel port D is used for the upper half of the data bus in that mode.
Once Parallel Port D is set up, data can be read or written by accessing PDDR. The value
of an output pin read in from PDDR will reflect its current output value, but any value
written to an input pin will not appear until that pin becomes an output.
Register
Function
SACR, SBCR, SCCR,
SDCR, SECR, SFCR
Select a Parallel Port D pin as serial data (and
optional clock) input.
ICS1R, ICS2R
Select a Parallel Port D pin as a start/stop condition
input.
QDCR
Select a Parallel Port D pin as a decoder input.
I0CR, I1CR
Select a Parallel Port D pin as an external interrupt
input.
DMR0CR, DMR1CR
Select a Parallel Port D pin as an external DMA
request input.
MACR
Enable 16-bit data bus.
Summary of Contents for Rabbit 4000
Page 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Page 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Page 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Page 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Page 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Page 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Page 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Page 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Page 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Page 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Page 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Page 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Page 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Page 348: ...338 Rabbit 4000 Microprocessor User s Manual...