WE310F5  39.00.000
M2MB_SLAVE_SDIO_S Struct Reference

#include <m2mb_sdio_slave.h>

Data Fields

CHAR rx_buffer [M2MB_SDIO_SLAVE_RECEIVE_BUFFER_COUNT][M2MB_SDIO_SLAVE_RECEIVE_BUFFER_SIZE]
 
UINT8 rx_get_index
 
UINT8 rx_inuse_index
 
UINT8 rx_recycle_index
 
M2MB_SLAVE_SDIO_WRITE_REQUEST_T write_req
 
M2MB_SLAVE_SDIO_BUFFER_T rx_buf_info [M2MB_SDIO_SLAVE_RECEIVE_BUFFER_COUNT]
 
M2MB_SLAVE_SDIO_BUFFER_T tx_buf_info [M2MB_SDIO_SLAVE_WRITE_BUFFER_MAX]
 
UINT8 tx_buffer [M2MB_SDIO_SLAVE_WRITE_BUFFER_MAX][2048]
 
UINT16 tx_pend_len
 
UINT16 tx_done_len
 
UINT8 rx_enque_cnt
 
UINT8 rx_pause
 
M2MB_OS_SEM_HANDLE sem_handle
 
M2MB_OS_EV_HANDLE tx_sem
 
UINT8 init_done
 
INT32 instance_id
 
INT32 mbox_id
 
UINT8 enable
 

Detailed Description

Structure used for SDIO slave

Definition at line 106 of file m2mb_sdio_slave.h.

Field Documentation

◆ enable

UINT8 enable

device enable or disable

Definition at line 131 of file m2mb_sdio_slave.h.

◆ init_done

UINT8 init_done

initialization

Definition at line 128 of file m2mb_sdio_slave.h.

◆ instance_id

INT32 instance_id

instance id

Definition at line 129 of file m2mb_sdio_slave.h.

◆ mbox_id

INT32 mbox_id

MBOX ID

Definition at line 130 of file m2mb_sdio_slave.h.

◆ rx_buf_info

◆ rx_buffer

◆ rx_enque_cnt

UINT8 rx_enque_cnt

Number of rx buffers currently enqued

Definition at line 123 of file m2mb_sdio_slave.h.

◆ rx_get_index

UINT8 rx_get_index

next buffer index to read (to be read by application)

Definition at line 109 of file m2mb_sdio_slave.h.

◆ rx_inuse_index

UINT8 rx_inuse_index

This buffer currently used by application

Definition at line 110 of file m2mb_sdio_slave.h.

◆ rx_pause

UINT8 rx_pause

RX pause state

Definition at line 124 of file m2mb_sdio_slave.h.

◆ rx_recycle_index

UINT8 rx_recycle_index

rx buffer index to recycle

Definition at line 111 of file m2mb_sdio_slave.h.

◆ sem_handle

M2MB_OS_SEM_HANDLE sem_handle

counting semaphore - indicates receive complete event

Definition at line 125 of file m2mb_sdio_slave.h.

◆ tx_buf_info

◆ tx_buffer

Definition at line 116 of file m2mb_sdio_slave.h.

◆ tx_done_len

UINT16 tx_done_len

Number of bytes already transmitted

Definition at line 122 of file m2mb_sdio_slave.h.

◆ tx_pend_len

UINT16 tx_pend_len

Number of bytes pending for tx

Definition at line 121 of file m2mb_sdio_slave.h.

◆ tx_sem

event handler for init complete and write

Definition at line 126 of file m2mb_sdio_slave.h.

◆ write_req

Definition at line 112 of file m2mb_sdio_slave.h.


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