Maxim-integrated Analog Essentials Getting Started Guide for Zedboa Bedienungsanleitung Seite 21

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 22
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 20
Analog Essentials Getting Started Guide
21
Zedboard Version
Appendix A: Project Notes
1. Pmod port JA, JB, JC and JD each have a dedicated I
2
C port, SPI port UART and octal GPIO. These
communications peripherals are multiplexed to the physical port via an HDL designed multiplexer. (Refer to the
diagram in the Typical System Architecture section.) An example of this can be seen in the maximPMOD.c file at
about the midpoint, as shown in the clip below.
(Note that in Pmod port JE is not driven by the logic within this project.)
2. The functions in maximDeviceSpecificUtilities.c are used to access the major functionality provided by the
Maxim ICs. In general, these functions return an integer value (TRUE/FALSE) that describes whether or not the
function successfully completed. Although it is not required to check this return value, it is good programming
practice to do so.
3. Functions will typically require a peripheral port address. These ports are named as follows:
a. XPAR_IIC_0_BASEADDR
b. XPAR_SPI_0_BASEADDR
c. XPAR_AXI_UARTLITE_0_BASEADDR
4. GPIO calls receive a pointer to a Xilinx XGpio instance
a. XGpio portA;
b. XGpio_Initialize(&portA, XPAR_AXI_GPIO_0_DEVICE_ID);
Since the functions return TRUE/FALSE as a pass/fail indication, when the functions return a value, that value is passed
back to the calling function via a pointer.
Seitenansicht 20
1 2 ... 16 17 18 19 20 21 22

Kommentare zu diesen Handbüchern

Keine Kommentare