Struct 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).
variable context¶
Passed to write.
variable inter_byte_timeout_ms¶
Silence that aborts a partially received frame (> 0).
variable rx_echo¶
true: the UART receives its own bytes (single wire).
variable tx_gap_ms¶
Bus silence required before transmitting.
variable write¶
Starts a transmission (required).
The documentation for this class was generated from the following file inc/baton_link.h