Loading...
Searching...
No Matches
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.
 
uint8_t rxmem [CONFIG_SLIPDEV_BUFSIZE]
 memory used by RX buffer
 
uint8_t state
 Device state.
 
- 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

◆ config

slipdev_params_t slipdev_t::config

configuration parameters

Definition at line 122 of file slipdev.h.

◆ netdev

netdev_t slipdev_t::netdev

parent class

Definition at line 121 of file slipdev.h.

◆ rb

chunk_ringbuf_t slipdev_t::rb

Ringbuffer to store received frames.


Definition at line 123 of file slipdev.h.

◆ rxmem

uint8_t slipdev_t::rxmem[CONFIG_SLIPDEV_BUFSIZE]

memory used by RX buffer

Definition at line 129 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: