SLIP device definitions. More...
SLIP device definitions.
Definition in file slipdev.h.
#include <stdint.h>
#include "cib.h"
#include "net/netdev.h"
#include "periph/uart.h"
#include "tsrb.h"
Go to the source code of this file.
Data Structures | |
struct | slipdev_params_t |
Configuration parameters for a slipdev. More... | |
struct | slipdev_t |
Device descriptor for slipdev. More... | |
Macros | |
#define | CONFIG_SLIPDEV_BUFSIZE (2048U) |
UART buffer size used for TX and RX buffers. More... | |
Functions | |
void | slipdev_setup (slipdev_t *dev, const slipdev_params_t *params) |
Setup a slipdev device state. More... | |
Device state definitions | |
enum | { SLIPDEV_STATE_NONE = 0, SLIPDEV_STATE_NET, SLIPDEV_STATE_STDIN } |