XCORE SDK
XCORE Software Development Kit
Enumerations
ENUM

Enumerations

enum  sl_wfx_register_address_t {
  SL_WFX_CONFIG_REG_ID = 0x0000 , SL_WFX_CONTROL_REG_ID = 0x0001 , SL_WFX_IN_OUT_QUEUE_REG_ID = 0x0002 , SL_WFX_AHB_DPORT_REG_ID = 0x0003 ,
  SL_WFX_SRAM_BASE_ADDR_REG_ID = 0x0004 , SL_WFX_SRAM_DPORT_REG_ID = 0x0005 , SL_WFX_TSET_GEN_R_W_REG_ID = 0x0006 , SL_WFX_FRAME_OUT_REG_ID = 0x0007
}
 Enum listing the registers of the WFx solution.
 
enum  sl_wfx_state_t {
  SL_WFX_STARTED = (1 << 0) , SL_WFX_STA_INTERFACE_CONNECTED = (1 << 1) , SL_WFX_AP_INTERFACE_UP = (1 << 2) , SL_WFX_SLEEPING = (1 << 3) ,
  SL_WFX_POWER_SAVE_ACTIVE = (1 << 4)
}
 Enum listing the different state of the WFx chip.
 
enum  sl_wfx_interface_t { SL_WFX_STA_INTERFACE = 0x00 , SL_WFX_SOFTAP_INTERFACE = 0x01 }
 Enum listing available interfaces in WFx Wi-Fi solution. More...
 
enum  sl_wfx_antenna_config_t {
  SL_WFX_ANTENNA_1_ONLY = 0 , SL_WFX_ANTENNA_2_ONLY , SL_WFX_ANTENNA_TX1_RX2 , SL_WFX_ANTENNA_TX2_RX1 ,
  SL_WFX_ANTENNA_DIVERSITY
}
 Enum listing the different antenna configurations. More...
 
enum  sl_wfx_received_message_type_t { SL_WFX_CONFIRMATION_MESSAGE = 0 , SL_WFX_INDICATION_MESSAGE = 1 , SL_WFX_MANAGEMENT_MESSAGE = 2 , SL_WFX_ETHERNET_DATA_MESSAGE = 3 }
 Enum listing different message types received from WFx. The information is found in the control register using SL_WFX_CONT_FRAME_TYPE_INFO mask. More...
 
enum  sl_wfx_buffer_type_t { SL_WFX_TX_FRAME_BUFFER , SL_WFX_RX_FRAME_BUFFER , SL_WFX_CONTROL_BUFFER }
 Enumerates the different types of buffer.
 
enum  sl_wfx_host_bus_transfer_type_t { SL_WFX_BUS_WRITE = (1 << 0) , SL_WFX_BUS_READ = (1 << 1) , SL_WFX_BUS_WRITE_AND_READ = SL_WFX_BUS_WRITE | SL_WFX_BUS_READ }
 Enumerates the different types of bus transfers.
 

Detailed Description

Enumeration Type Documentation

◆ sl_wfx_antenna_config_t

Enum listing the different antenna configurations.

Enumerator
SL_WFX_ANTENNA_1_ONLY 

RF output 1 is used.

SL_WFX_ANTENNA_2_ONLY 

RF output 2 is used.

SL_WFX_ANTENNA_TX1_RX2 

RF output 1 is used for TX, RF 2 for RX.

SL_WFX_ANTENNA_TX2_RX1 

RF output 2 is used for TX, RF 1 for RX.

SL_WFX_ANTENNA_DIVERSITY 

WF200 uses an antenna diversity algorithm.

◆ sl_wfx_interface_t

Enum listing available interfaces in WFx Wi-Fi solution.

For convenience, interface 0 is associated with the station interface and interface 1 is associated with the softap interface.

Enumerator
SL_WFX_STA_INTERFACE 

Interface 0, linked to the station.

SL_WFX_SOFTAP_INTERFACE 

Interface 1, linked to the softap.

◆ sl_wfx_received_message_type_t

Enum listing different message types received from WFx. The information is found in the control register using SL_WFX_CONT_FRAME_TYPE_INFO mask.

Enumerator
SL_WFX_CONFIRMATION_MESSAGE 

Frame type indicating a confirmation message is available.

SL_WFX_INDICATION_MESSAGE 

Frame type indicating an indication message is available.

SL_WFX_MANAGEMENT_MESSAGE 

Reserved from Low MAC interface.

SL_WFX_ETHERNET_DATA_MESSAGE 

Frame type indicating message encapsulating a data frame is available.