Go to the documentation of this file.
48 #ifdef CONFIG_SLIPDEV_BUFSIZE_EXP
49 #define CONFIG_SLIPDEV_BUFSIZE (1<<CONFIG_SLIPDEV_BUFSIZE_EXP)
52 #ifndef CONFIG_SLIPDEV_BUFSIZE
53 #define CONFIG_SLIPDEV_BUFSIZE (2048U)
netdev_t netdev
parent class
slipdev_params_t config
configuration parameters
@ SLIPDEV_STATE_NET
Device writes handles data as network device.
@ SLIPDEV_STATE_NONE
Device is in no mode (currently did not receiving any data frame)
void slipdev_setup(slipdev_t *dev, const slipdev_params_t *params)
Setup a slipdev device state.
@ SLIPDEV_STATE_STDIN
Device writes received data to stdin.
uart_t uart
UART interface the device is connected to.
uint8_t state
Device state.
unsigned int uart_t
Define default UART type identifier.
Configuration parameters for a slipdev.
Low-level UART peripheral driver interface definition.
Definitions low-level network driver interface.
Structure to hold driver state.
Circular integer buffer interface.
Device descriptor for slipdev.
thread-safe ringbuffer struct
uint32_t baudrate
baudrate to use with slipdev_params_t::uart
#define CONFIG_SLIPDEV_BUFSIZE
UART buffer size used for TX and RX buffers.
Thread-safe ringbuffer interface definition.