38#define SLIPDEV_END         (0xc0U) 
   39#define SLIPDEV_ESC         (0xdbU) 
   40#define SLIPDEV_END_ESC     (0xdcU) 
   41#define SLIPDEV_ESC_ESC     (0xddU) 
   48#define SLIPDEV_STDIO_START (0x0aU) 
   55#define SLIPDEV_CONFIG_START (0xa9U) 
uint_fast8_t uart_t
Define default UART type identifier.
 
void uart_write(uart_t uart, const uint8_t *data, size_t len)
Write data from the given buffer to the specified UART device.
 
Mutex for thread synchronization.
 
isrpipe_t slipdev_stdio_isrpipe
ISR pipe to hand read bytes to stdin.
 
mutex_t slipdev_mutex
Mutex to synchronize write operations to the UART between stdio sub-module and normal SLIP.
 
static void slipdev_write_byte(uart_t uart, uint8_t byte)
Writes one byte to UART.
 
void slipdev_write_bytes(uart_t uart, const uint8_t *data, size_t len)
Write multiple bytes SLIP-escaped to UART.
 
Context structure for isrpipe.
 
Low-level UART peripheral driver interface definition.