28#ifndef LIBBSP_ARM_XILINX_AXI_SPI_REGS_H
29#define LIBBSP_ARM_XILINX_AXI_SPI_REGS_H
34 uint32_t reserved1[7];
36#define XILINX_AXI_SPI_GLOBAL_IRQ_ENABLE BSP_BIT32(31)
40#define XILINX_AXI_SPI_IRQ_CMD_ERR BSP_BIT32(13)
41#define XILINX_AXI_SPI_IRQ_LOOP_ERR BSP_BIT32(12)
42#define XILINX_AXI_SPI_IRQ_MSB_ERR BSP_BIT32(11)
43#define XILINX_AXI_SPI_IRQ_SLV_ERR BSP_BIT32(10)
44#define XILINX_AXI_SPI_IRQ_CPOL_CPHA_ERR BSP_BIT32(9)
45#define XILINX_AXI_SPI_IRQ_RXNEMPTY BSP_BIT32(8)
46#define XILINX_AXI_SPI_IRQ_CS_MODE BSP_BIT32(7)
47#define XILINX_AXI_SPI_IRQ_TXHALF BSP_BIT32(6)
48#define XILINX_AXI_SPI_IRQ_RXOVR BSP_BIT32(5)
49#define XILINX_AXI_SPI_IRQ_RXFULL BSP_BIT32(4)
50#define XILINX_AXI_SPI_IRQ_TXUF BSP_BIT32(3)
51#define XILINX_AXI_SPI_IRQ_TXEMPTY BSP_BIT32(2)
52#define XILINX_AXI_SPI_IRQ_SLV_MODF BSP_BIT32(1)
53#define XILINX_AXI_SPI_IRQ_MODF BSP_BIT32(0)
54 uint32_t reserved3[5];
56#define XILINX_AXI_SPI_RESET 0x0000000a
57 uint32_t reserved4[7];
59#define XILINX_AXI_SPI_CONTROL_LSBFIRST BSP_BIT32(9)
60#define XILINX_AXI_SPI_CONTROL_MST_TRANS_INHIBIT BSP_BIT32(8)
61#define XILINX_AXI_SPI_CONTROL_MANUAL_CS BSP_BIT32(7)
62#define XILINX_AXI_SPI_CONTROL_RX_FIFO_RESET BSP_BIT32(6)
63#define XILINX_AXI_SPI_CONTROL_TX_FIFO_RESET BSP_BIT32(5)
64#define XILINX_AXI_SPI_CONTROL_CPHA BSP_BIT32(4)
65#define XILINX_AXI_SPI_CONTROL_CPOL BSP_BIT32(3)
66#define XILINX_AXI_SPI_CONTROL_MSTREN BSP_BIT32(2)
67#define XILINX_AXI_SPI_CONTROL_SPIEN BSP_BIT32(1)
68#define XILINX_AXI_SPI_CONTROL_LOOP BSP_BIT32(0)
70#define XILINX_AXI_SPI_STATUS_CMD_ERR BSP_BIT32(10)
71#define XILINX_AXI_SPI_STATUS_LOOP_ERR BSP_BIT32(9)
72#define XILINX_AXI_SPI_STATUS_MSB_ERR BSP_BIT32(8)
73#define XILINX_AXI_SPI_STATUS_SLV_ERR BSP_BIT32(7)
74#define XILINX_AXI_SPI_STATUS_CPOL_CPHA_ERR BSP_BIT32(6)
75#define XILINX_AXI_SPI_STATUS_SLV_MODE BSP_BIT32(5)
76#define XILINX_AXI_SPI_STATUS_MODF BSP_BIT32(4)
77#define XILINX_AXI_SPI_STATUS_TXFULL BSP_BIT32(3)
78#define XILINX_AXI_SPI_STATUS_TXEMPTY BSP_BIT32(2)
79#define XILINX_AXI_SPI_STATUS_RXFULL BSP_BIT32(1)
80#define XILINX_AXI_SPI_STATUS_RXEMPTY BSP_BIT32(0)
This header file provides utility macros for BSPs.
Definition: intercom.c:87
Definition: xilinx-axi-spi-regs.h:33