slipdev_t Struct Reference

Device descriptor for slipdev. More...

Detailed Description

Device descriptor for slipdev.

Definition at line 120 of file slipdev.h.

#include <slipdev.h>

Data Fields

netdev_t netdev
 parent class
 
slipdev_params_t config
 configuration parameters
 
chunk_ringbuf_t rb
 Ringbuffer to store received frames. More...
 
uint8_t rxmem [CONFIG_SLIPDEV_BUFSIZE]
 memory used by RX buffer
 
uint8_t state
 Device state. More...
 
- Data Fields inherited from netdev
const struct netdev_driverdriver
 ptr to that driver's interface.
 
netdev_event_cb_t event_callback
 callback for device events
 
void * context
 ptr to network stack context
 

Field Documentation

◆ rb

chunk_ringbuf_t slipdev_t::rb

Ringbuffer to store received frames.


Definition at line 123 of file slipdev.h.

◆ state

uint8_t slipdev_t::state

Device state.

See also
Device state definitions

Definition at line 134 of file slipdev.h.


The documentation for this struct was generated from the following file: