Infineon Logo AIROC BTSDK v4.4 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_transport_spi.h File Reference

Data Structures

struct  wiced_trans_spi_driver_state_t
 
struct  BTSPI_TRANSPORT_t
 

Macros

#define WICED_HCI_HEADER_LENGTH   5
 

Enumerations

enum  wiced_trans_spi_events_t { SPI_TX_DATA_EVENT = TRANSPORT_NEW_MSG_IN_MSG_QUEUE, SPI_RX_DMA_DONE_EVENT = ( 1 << 2 ), SPI_WAKEUP_EVENT = ( 1 << 3 ) }
 
enum  wiced_trans_spi_states_t {
  SPI_INIT_STATE, SPI_WAIT_FOR_RX_DMA_DONE_STATE, SPI_TX_START_STATE, SPI_RX_START_STATE,
  SPI_TX_DONE_STATE, SPI_RX_DONE_STATE, SPI_WAIT_FOR_CS_INTR_STATE
}
 
enum  wiced_trans_spi_rx_dma_sub_states_t { SPI_WAIT_FOR_HEADER_STATE = 1, SPI_WAIT_FOR_TX_COMPLETE_STATE, SPI_WAIT_FOR_RX_COMPLETE_STATE }
 

Functions

uint8_t wiced_transport_spi_get_device_role (void)
 
wiced_result_t wiced_transport_spi_slave_tx_data (uint8_t *p_data, uint16_t length)
 
wiced_result_t wiced_transport_spi_init (void)