Structure to represent a command queue.

Public Attributes#

void *

Pointer to mutex.

uint32_t

Flags.

bool

Indicates if the commands are sequential.

bool

Indicates if a command is currently being processed.

uint16_t

Type of the frame associated with the command.

uint8_t

ID of the firmware queue for the command.

uint32_t

Counter for received packets.

uint32_t

Counter for transmitted packets.

uint16_t

ID of the packet associated with the command.

uint8_t

Flags associated with the command.

uint32_t

Command tick count.

uint32_t

Command timeout.

void *

Context data associated with the command.

bool

indicates queue is initialiazed or not.

Public Attribute Documentation#

tx_queue#

sli_si91x_buffer_queue_t sli_si91x_command_queue_t::tx_queue

TX queue.


rx_queue#

sli_si91x_buffer_queue_t sli_si91x_command_queue_t::rx_queue

RX queue.


event_queue#

sli_si91x_buffer_queue_t sli_si91x_command_queue_t::event_queue

Event queue.


mutex#

void* sli_si91x_command_queue_t::mutex

Pointer to mutex.


flag#

uint32_t sli_si91x_command_queue_t::flag

Flags.


sequential#

bool sli_si91x_command_queue_t::sequential

Indicates if the commands are sequential.


command_in_flight#

bool sli_si91x_command_queue_t::command_in_flight

Indicates if a command is currently being processed.


frame_type#

uint16_t sli_si91x_command_queue_t::frame_type

Type of the frame associated with the command.


firmware_queue_id#

uint8_t sli_si91x_command_queue_t::firmware_queue_id

ID of the firmware queue for the command.


rx_counter#

uint32_t sli_si91x_command_queue_t::rx_counter

Counter for received packets.


tx_counter#

uint32_t sli_si91x_command_queue_t::tx_counter

Counter for transmitted packets.


packet_id#

uint16_t sli_si91x_command_queue_t::packet_id

ID of the packet associated with the command.


flags#

uint8_t sli_si91x_command_queue_t::flags

Flags associated with the command.


command_tickcount#

uint32_t sli_si91x_command_queue_t::command_tickcount

Command tick count.


command_timeout#

uint32_t sli_si91x_command_queue_t::command_timeout

Command timeout.


sdk_context#

void* sli_si91x_command_queue_t::sdk_context

Context data associated with the command.


is_queue_initialiazed#

bool sli_si91x_command_queue_t::is_queue_initialiazed

indicates queue is initialiazed or not.