![]() |
WE310F5
39.00.000
|
#include <m2mb_spi.h>
Definition at line 133 of file m2mb_spi.h.
M2MB_SPI_ID_t accessId |
access ID
Definition at line 163 of file m2mb_spi_master.h.
UINT8 bits_per_word |
Definition at line 142 of file m2mb_spi.h.
UINT32 bits_per_word |
bits per word; any value from 3 to 31
Definition at line 172 of file m2mb_spi_master.h.
UINT16 buffer_size |
Definition at line 147 of file m2mb_spi.h.
HANDLE callback_ctxt |
Pointer to a client object that will be returned as an argument to callback_fn
Definition at line 140 of file m2mb_spi.h.
m2mb_spi_ind_callback callback_fn |
Definition at line 139 of file m2mb_spi.h.
M2MB_SPI_CALLBACK_FN_T callback_fn |
Callback function; if NULL, transfer operates in synchronous mode
Definition at line 169 of file m2mb_spi_master.h.
UINT32 clk_freq_Hz |
Host sets the SPI clock frequency closest (>=) to the requested frequency. Must be at least 960000
Definition at line 141 of file m2mb_spi.h.
M2MB_SPI_CLK_MODE_T clk_mode |
CLK mode
Definition at line 167 of file m2mb_spi_master.h.
UINT8 cs_clk_delay_cycles |
Definition at line 143 of file m2mb_spi.h.
UINT32 cs_clk_delay_cycles |
Number of clock cycles to wait after asserting CS before starting transfer
Definition at line 173 of file m2mb_spi_master.h.
M2MB_SPI_CS_MODE_T cs_mode |
CS mode
Definition at line 137 of file m2mb_spi.h.
M2MB_SPI_CS_POLARITY_T cs_polarity |
CS polarity
Definition at line 136 of file m2mb_spi.h.
M2MB_SPI_BYTE_ORDER_T endianness |
Endianness
Definition at line 138 of file m2mb_spi.h.
UINT8 inter_word_delay_cycles |
Definition at line 144 of file m2mb_spi.h.
UINT32 inter_word_delay_cycles |
Number of clock cycles to wait between SPI words
Definition at line 174 of file m2mb_spi_master.h.
BOOLEAN loopback_mode |
Definition at line 145 of file m2mb_spi.h.
UINT32 loopback_mode |
Normally 0. If set, the SPI controller will enable Loopback mode used primarily for testing
Definition at line 175 of file m2mb_spi_master.h.
M2MB_SPI_SHIFT_MODE_T spi_mode |
Shift mode
Definition at line 135 of file m2mb_spi.h.