![]() |
WE310F5
39.00.000
|
#include <m2mb_spi_frame.h>
Data Fields | |
| UINT32 | gpio_no |
| UINT8 | role |
| UINT16 | max_frame_size |
| M2MB_SPI_FRAME_DATA_RECV_T | rcb |
| VOID * | ctx |
Definition at line 48 of file m2mb_spi_frame.h.
| VOID* ctx |
User context to be passed in the callback
Definition at line 55 of file m2mb_spi_frame.h.
| UINT32 gpio_no |
GPIO number to indicate data to be sent from Slave to Master
Definition at line 50 of file m2mb_spi_frame.h.
| UINT16 max_frame_size |
Maximum frame size user can handle. For both Transmission and reception buffer will be allocated for this size
Definition at line 52 of file m2mb_spi_frame.h.
Callback to indicate data received
Definition at line 54 of file m2mb_spi_frame.h.
| UINT8 role |
1: Master, 0: Slave
Definition at line 51 of file m2mb_spi_frame.h.