WE310F5  39.00.000
M2MB_SPI_FRAME_CFG_S Struct Reference

#include <m2mb_spi_frame.h>

Data Fields

UINT32 gpio_no
 
UINT8 role
 
UINT16 max_frame_size
 
M2MB_SPI_FRAME_DATA_RECV_T rcb
 
VOIDctx
 

Detailed Description

Definition at line 48 of file m2mb_spi_frame.h.

Field Documentation

◆ ctx

VOID* ctx

User context to be passed in the callback

Definition at line 55 of file m2mb_spi_frame.h.

◆ gpio_no

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.

◆ max_frame_size

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.

◆ rcb

Callback to indicate data received

Definition at line 54 of file m2mb_spi_frame.h.

◆ role

UINT8 role

1: Master, 0: Slave

Definition at line 51 of file m2mb_spi_frame.h.


The documentation for this struct was generated from the following file: