Bouffalo SDK  1.0
Bouffalolab Software Development Kit
spi feature control cmd definition
Collaboration diagram for spi feature control cmd definition:

Macros

#define SPI_CMD_SET_DATA_WIDTH   (0x01)
 
#define SPI_CMD_GET_DATA_WIDTH   (0x02)
 
#define SPI_CMD_CLEAR_TX_FIFO   (0x03)
 
#define SPI_CMD_CLEAR_RX_FIFO   (0x04)
 
#define SPI_CMD_SET_CS_INTERVAL   (0x05)
 
#define SPI_CMD_RX_IGNORE   (0x06)
 
#define SPI_CMD_SET_MODE   (0x07)
 
#define SPI_CMD_GET_MODE   (0x08)
 
#define SPI_CMD_SET_FREQ   (0x09)
 
#define SPI_CMD_GET_FREQ   (0x0A)
 
#define SPI_CMD_SET_BIT_ORDER   (0x0B)
 
#define SPI_CMD_GET_BIT_ORDER   (0x0C)
 
#define SPI_CMD_SET_BYTE_ORDER   (0x0E)
 
#define SPI_CMD_GET_BYTE_ORDER   (0x0F)
 

Detailed Description

Macro Definition Documentation

◆ SPI_CMD_CLEAR_RX_FIFO

#define SPI_CMD_CLEAR_RX_FIFO   (0x04)

Definition at line 110 of file bflb_spi.h.

◆ SPI_CMD_CLEAR_TX_FIFO

#define SPI_CMD_CLEAR_TX_FIFO   (0x03)

Definition at line 109 of file bflb_spi.h.

◆ SPI_CMD_GET_BIT_ORDER

#define SPI_CMD_GET_BIT_ORDER   (0x0C)

Definition at line 118 of file bflb_spi.h.

◆ SPI_CMD_GET_BYTE_ORDER

#define SPI_CMD_GET_BYTE_ORDER   (0x0F)

Definition at line 120 of file bflb_spi.h.

◆ SPI_CMD_GET_DATA_WIDTH

#define SPI_CMD_GET_DATA_WIDTH   (0x02)

Definition at line 108 of file bflb_spi.h.

◆ SPI_CMD_GET_FREQ

#define SPI_CMD_GET_FREQ   (0x0A)

Definition at line 116 of file bflb_spi.h.

◆ SPI_CMD_GET_MODE

#define SPI_CMD_GET_MODE   (0x08)

Definition at line 114 of file bflb_spi.h.

◆ SPI_CMD_RX_IGNORE

#define SPI_CMD_RX_IGNORE   (0x06)

Definition at line 112 of file bflb_spi.h.

◆ SPI_CMD_SET_BIT_ORDER

#define SPI_CMD_SET_BIT_ORDER   (0x0B)

Definition at line 117 of file bflb_spi.h.

◆ SPI_CMD_SET_BYTE_ORDER

#define SPI_CMD_SET_BYTE_ORDER   (0x0E)

Definition at line 119 of file bflb_spi.h.

◆ SPI_CMD_SET_CS_INTERVAL

#define SPI_CMD_SET_CS_INTERVAL   (0x05)

Definition at line 111 of file bflb_spi.h.

◆ SPI_CMD_SET_DATA_WIDTH

#define SPI_CMD_SET_DATA_WIDTH   (0x01)

Definition at line 107 of file bflb_spi.h.

◆ SPI_CMD_SET_FREQ

#define SPI_CMD_SET_FREQ   (0x09)

Definition at line 115 of file bflb_spi.h.

◆ SPI_CMD_SET_MODE

#define SPI_CMD_SET_MODE   (0x07)

Definition at line 113 of file bflb_spi.h.