Skip to content

Struct baton_link_config

ClassList > baton_link_config

Link configuration passed to baton_link_init .

  • #include <baton_link.h>

Public Attributes

Type Name
uint32_t baudrate
Bit rate; frame durations assume 8N1 (10 bits per byte).
void * context
Passed to write.
uint8_t inter_byte_timeout_ms
Silence that aborts a partially received frame (> 0).
bool rx_echo
true: the UART receives its own bytes (single wire).
uint8_t tx_gap_ms
Bus silence required before transmitting.
baton_write_fn write
Starts a transmission (required).

Public Attributes Documentation

variable baudrate

Bit rate; frame durations assume 8N1 (10 bits per byte).

uint32_t baton_link_config::baudrate;


variable context

Passed to write.

void* baton_link_config::context;


variable inter_byte_timeout_ms

Silence that aborts a partially received frame (> 0).

uint8_t baton_link_config::inter_byte_timeout_ms;


variable rx_echo

true: the UART receives its own bytes (single wire).

bool baton_link_config::rx_echo;


variable tx_gap_ms

Bus silence required before transmitting.

uint8_t baton_link_config::tx_gap_ms;


variable write

Starts a transmission (required).

baton_write_fn baton_link_config::write;



The documentation for this class was generated from the following file inc/baton_link.h