![]() |
WL865E4-P
36.07.001
|
#include <m2mb_spi_slave.h>
Structure used for SPI slave
Definition at line 107 of file m2mb_spi_slave.h.
UINT8 enable |
device enable or disable
Definition at line 136 of file m2mb_spi_slave.h.
M2MB_OS_EV_HANDLE ev_init_handle |
event handler for init complete
Definition at line 131 of file m2mb_spi_slave.h.
M2MB_OS_EV_HANDLE ev_tx_handle |
event handler for write
Definition at line 130 of file m2mb_spi_slave.h.
UINT8 init_done |
initialization
Definition at line 133 of file m2mb_spi_slave.h.
INT32 instance_id |
instance id
Definition at line 134 of file m2mb_spi_slave.h.
INT32 mbox_id |
MBOX ID
Definition at line 135 of file m2mb_spi_slave.h.
Definition at line 115 of file m2mb_spi_slave.h.
Definition at line 109 of file m2mb_spi_slave.h.
UINT8 rx_enque_cnt |
Number of rx buffers currently enqued
Definition at line 127 of file m2mb_spi_slave.h.
UINT8 rx_get_index |
next buffer index to read (to be read by application)
Definition at line 110 of file m2mb_spi_slave.h.
UINT8 rx_inuse_index |
This buffer currently used by application
Definition at line 111 of file m2mb_spi_slave.h.
UINT8 rx_pause |
RX pause state
Definition at line 128 of file m2mb_spi_slave.h.
UINT8 rx_recycle_index |
rx buffer index to recycle
Definition at line 112 of file m2mb_spi_slave.h.
M2MB_OS_SEM_HANDLE sem_handle |
counting semaphore - indicates receive complete event
Definition at line 129 of file m2mb_spi_slave.h.
M2MB_SLAVE_SPI_BUFFER_T tx_buf_info[M2MB_SPI_SLAVE_WRITE_BUFFER_MAX] |
Definition at line 116 of file m2mb_spi_slave.h.
UINT8 tx_buffer[M2MB_SPI_SLAVE_WRITE_BUFFER_MAX][2048] |
Definition at line 117 of file m2mb_spi_slave.h.
UINT16 tx_done_len |
Number of bytes already transmitted
Definition at line 125 of file m2mb_spi_slave.h.
UINT16 tx_pend_len |
Number of bytes pending for tx
Definition at line 124 of file m2mb_spi_slave.h.
M2MB_SLAVE_SPI_WRITE_REQUEST_T write_req |
write req
Definition at line 113 of file m2mb_spi_slave.h.