no-OS
|
#include <stdio.h>
#include <sleep.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <xil_cache.h>
#include <xparameters.h>
#include <inttypes.h>
#include "xil_printf.h"
#include "spi_engine.h"
#include "ad400x.h"
#include "no_os_error.h"
#include "no_os_delay.h"
Macros | |
#define | AD400x_EVB_SAMPLE_NO 10000 |
#define | AD400X_DMA_BASEADDR XPAR_AXI_AD40XX_DMA_BASEADDR |
#define | AD400X_SPI_ENGINE_BASEADDR XPAR_SPI_AD40XX_AXI_REGMAP_BASEADDR |
#define | AD400x_SPI_CS 0 |
#define | AD400x_SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ |
#define | SPI_ENGINE_OFFLOAD_EXAMPLE 1 |
Functions | |
int | main () |
#define AD400X_DMA_BASEADDR XPAR_AXI_AD40XX_DMA_BASEADDR |
#define AD400x_EVB_SAMPLE_NO 10000 |
#define AD400x_SPI_CS 0 |
#define AD400x_SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ |
#define AD400X_SPI_ENGINE_BASEADDR XPAR_SPI_AD40XX_AXI_REGMAP_BASEADDR |
#define SPI_ENGINE_OFFLOAD_EXAMPLE 1 |
int main | ( | ) |