|  | WE310F5
    39.00.000
    | 
SPI library implementation. More...
Go to the source code of this file.
| Data Structures | |
| struct | M2MB_SPI_FRAME_CFG_S | 
| Macros | |
| #define | NULL 0 | 
| Typedefs | |
| typedef void(* | M2MB_SPI_FRAME_DATA_RECV_T) (VOID *ctx, UINT8 *data, UINT32 length) | 
| typedef struct M2MB_SPI_FRAME_CFG_S | M2MB_SPI_FRAME_CFG_T | 
| Functions | |
| INT32 | m2mb_spi_fmt_init (HANDLE *h, HANDLE spi, M2MB_SPI_FRAME_CFG_T *pCfg) | 
| UINT8 * | m2mb_spi_fmt_read (HANDLE h, UINT32 *len) | 
| INT32 | m2mb_spi_fmt_write (HANDLE h, UINT8 *buf, UINT32 length) | 
SPI library implementation.
m2m/m2m_generic/common/m2mb_inc/m2mb_spi.h
The following functions are implemented: m2mb_spi_fmt_init m2mb_spi_fmt_read m2mb_spi_fmt_write
Dependencies: inc/m2mb_types.h inc/driver/m2mb_spi.h
Definition in file m2mb_spi_frame.h.
| #define NULL 0 | 
Definition at line 31 of file m2mb_spi_frame.h.
| typedef struct M2MB_SPI_FRAME_CFG_S M2MB_SPI_FRAME_CFG_T | 
Definition at line 42 of file m2mb_spi_frame.h.
| INT32 m2mb_spi_fmt_init | ( | HANDLE * | h, | 
| HANDLE | spi, | ||
| M2MB_SPI_FRAME_CFG_T * | pCfg | ||
| ) |