Freescale Semiconductor DSP56366 Car Stereo System User Manual


 
GPIO (PORT D) - Pins and Registers
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
10-14 Freescale Semiconductor
10.7.3 Port D Data Register (PDRD)
The read/write 24-bit Port D Data Register is used to read or write data to/from the DAX GPIO pins. Bits
PD[1:0] are used to read or write data from/to the corresponding port pins if they are configured as GPIO.
If a port pin [i] is configured as a GPIO input, then the corresponding PD[i] bit will reflect the value present
on this pin. If a port pin [i] is configured as a GPIO output, then the value written into the corresponding
PD[i] bit will be reflected on the this pin. Hardware and software reset clear all PDRD bits.
Figure 10-8 Port D Data Register (PDRD)
1 1 ADO 1 0 PD0 Output Enabled
1 1 ADO 1 1 ACI Enabled
Table 10-6 DAX Port GPIO Control Register Functionality
PDC1 PC1 ADO/PD1 pin PDC0 PC0 ACI/PD0 pin DAX state
7
PD1
1
PD0
04 3 25615 12 11 101314 89
read as zero, should be written with zero for future compatibility
23 20 19 182122 1617
PDRD - Port D Data Register - X:$FFFFD5