no-OS
Classes | Macros | Typedefs | Enumerations | Variables
spi_extra.h File Reference
#include <stdint.h>
#include "no-os/spi.h"
Include dependency graph for spi_extra.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xil_spi_init_param
 Structure holding the initialization parameters for Xilinx platform specific SPI parameters when using xil_spi_ops. More...
 
struct  xil_spi_desc
 Xilinx platform specific SPI descriptor. More...
 

Macros

#define SPI_CS_DECODE   0x01
 
#define SPI_DEASSERT_CURRENT_SS   0x0F
 

Typedefs

typedef struct xil_spi_init_param xil_spi_init_param
 
typedef struct xil_spi_desc xil_spi_desc
 

Enumerations

enum  xil_spi_type {
  SPI_PL,
  SPI_PS,
  SPI_ENGINE
}
 Xilinx platform architecture sections. More...
 

Variables

const struct spi_platform_ops spi_eng_platform_ops
 SPI engine platform ops structure. More...
 
const struct spi_platform_ops xil_spi_ops
 Xilinx specific SPI platform ops structure. More...
 
const struct spi_platform_ops xil_spi_reg_ops_pl
 Xilinx SPI PS register functions. No extra param needed. More...
 

Macro Definition Documentation

◆ SPI_CS_DECODE

#define SPI_CS_DECODE   0x01

◆ SPI_DEASSERT_CURRENT_SS

#define SPI_DEASSERT_CURRENT_SS   0x0F

Typedef Documentation

◆ xil_spi_desc

typedef struct xil_spi_desc xil_spi_desc

◆ xil_spi_init_param

Enumeration Type Documentation

◆ xil_spi_type

Xilinx platform architecture sections.

Enumerator
SPI_PL 

Programmable Logic

SPI_PS 

Processing System

SPI_ENGINE 

SPI Engine

Variable Documentation

◆ spi_eng_platform_ops

const struct spi_platform_ops spi_eng_platform_ops

SPI engine platform ops structure.

SPI engine platform ops structure.

◆ xil_spi_ops

const struct spi_platform_ops xil_spi_ops

Xilinx specific SPI platform ops structure.

Xilinx specific SPI platform ops structure.

Spi engine platform specific SPI platform ops structure.

◆ xil_spi_reg_ops_pl

const struct spi_platform_ops xil_spi_reg_ops_pl

Xilinx SPI PS register functions. No extra param needed.