libsbp  v2.4.7
uart_channel_t Struct Reference

State of the UART channel. More...

#include <piksi.h>

Data Fields

float tx_throughput
 UART transmit throughput [kB/s]. More...
 
float rx_throughput
 UART receive throughput [kB/s]. More...
 
u16 crc_error_count
 UART CRC error count. More...
 
u16 io_error_count
 UART IO error count. More...
 
u8 tx_buffer_level
 UART transmit buffer percentage utilization (ranges from 0 to 255) More...
 
u8 rx_buffer_level
 UART receive buffer percentage utilization (ranges from 0 to 255) More...
 

Detailed Description

State of the UART channel.

Throughput, utilization, and error counts on the RX/TX buffers of this UART channel. The reported percentage values must be normalized.

Definition at line 131 of file piksi.h.

Field Documentation

u16 crc_error_count

UART CRC error count.

Definition at line 134 of file piksi.h.

u16 io_error_count

UART IO error count.

Definition at line 135 of file piksi.h.

u8 rx_buffer_level

UART receive buffer percentage utilization (ranges from 0 to 255)

Definition at line 139 of file piksi.h.

float rx_throughput

UART receive throughput [kB/s].

Definition at line 133 of file piksi.h.

u8 tx_buffer_level

UART transmit buffer percentage utilization (ranges from 0 to 255)

Definition at line 136 of file piksi.h.

float tx_throughput

UART transmit throughput [kB/s].

Definition at line 132 of file piksi.h.


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