FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
spi_periph.h File Reference

Data Structures

struct  spi_t
 

Macros

#define SPI_CMD_CFG_ID
 
#define SPI_CMD_SOT_ID
 
#define SPI_CMD_SEND_CMD_ID
 
#define SPI_CMD_SEND_ADDR_ID
 
#define SPI_CMD_DUMMY_ID
 
#define SPI_CMD_WAIT_ID
 
#define SPI_CMD_TX_DATA_ID
 
#define SPI_CMD_RX_DATA_ID
 
#define SPI_CMD_RPT_ID
 
#define SPI_CMD_EOT_ID
 
#define SPI_CMD_RPT_END_ID
 
#define SPI_CMD_RX_CHECK_ID
 
#define SPI_CMD_FULL_DUPL_ID
 
#define SPI_CMD_ID_OFFSET
 
#define SPI_CMD_CFG(clkdiv, cpha, cpol)
 
#define SPI_CMD_SOT(cs)
 
#define SPI_CMD_SEND_CMD(cmd_value, cmd_size, qpi)
 
#define SPI_CMD_SEND_ADDR(cmd_size, qpi)
 
#define SPI_CMD_DUMMY(dummy_cycle)
 
#define SPI_CMD_WAIT(event_id)
 
#define SPI_CMD_TX_DATA(data_size, qpi, byte_align)
 
#define SPI_CMD_RX_DATA(data_size, qpi, byte_align)
 
#define SPI_CMD_RPT(rpt_cnt)
 
#define SPI_CMD_EOT(event_gen)
 
#define SPI_CMD_RPT_END()
 
#define SPI_CMD_RX_CHECK(comp_data, status_size, check_type, byte_align, qpi)
 
#define SPI_CMD_FULL_DUPL(data_size, byte_align)
 

Macro Definition Documentation

#define SPI_CMD_CFG (   clkdiv,
  cpha,
  cpol 
)

Referenced by __pi_spi_freq_cb(), and __pi_spi_open().

#define SPI_CMD_CFG_ID
#define SPI_CMD_DUMMY (   dummy_cycle)
#define SPI_CMD_DUMMY_ID
#define SPI_CMD_EOT_ID
#define SPI_CMD_FULL_DUPL (   data_size,
  byte_align 
)

Referenced by __pi_spi_xfer_async().

#define SPI_CMD_FULL_DUPL_ID
#define SPI_CMD_ID_OFFSET
#define SPI_CMD_RPT (   rpt_cnt)
#define SPI_CMD_RPT_END ( )
#define SPI_CMD_RPT_END_ID
#define SPI_CMD_RPT_ID
#define SPI_CMD_RX_CHECK (   comp_data,
  status_size,
  check_type,
  byte_align,
  qpi 
)
#define SPI_CMD_RX_CHECK_ID
#define SPI_CMD_RX_DATA (   data_size,
  qpi,
  byte_align 
)
#define SPI_CMD_RX_DATA_ID
#define SPI_CMD_SEND_ADDR (   cmd_size,
  qpi 
)
#define SPI_CMD_SEND_ADDR_ID
#define SPI_CMD_SEND_CMD (   cmd_value,
  cmd_size,
  qpi 
)
#define SPI_CMD_SEND_CMD_ID
#define SPI_CMD_SOT_ID
#define SPI_CMD_TX_DATA (   data_size,
  qpi,
  byte_align 
)
#define SPI_CMD_TX_DATA_ID
#define SPI_CMD_WAIT (   event_id)
#define SPI_CMD_WAIT_ID