Loading...
Searching...
No Matches

ethos netdev device More...

Detailed Description

ethos netdev device

Definition at line 111 of file ethos.h.

#include <ethos.h>

Data Fields

netdev_t netdev
 extended netdev structure
 
uart_t uart
 UART device the to use.
 
uint8_t mac_addr [6]
 this device's MAC address
 
uint8_t remote_mac_addr [6]
 this device's MAC address
 
tsrb_t inbuf
 ringbuffer for incoming data
 
line_state_t state
 Line status variable.
 
unsigned frametype
 type of currently incoming frame
 
mutex_t out_mutex
 mutex used for locking concurrent sends
 
- 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

◆ frametype

unsigned ethos_t::frametype

type of currently incoming frame

Definition at line 118 of file ethos.h.

◆ inbuf

tsrb_t ethos_t::inbuf

ringbuffer for incoming data

Definition at line 116 of file ethos.h.

◆ mac_addr

uint8_t ethos_t::mac_addr[6]

this device's MAC address

Definition at line 114 of file ethos.h.

◆ netdev

netdev_t ethos_t::netdev

extended netdev structure

Definition at line 112 of file ethos.h.

◆ out_mutex

mutex_t ethos_t::out_mutex

mutex used for locking concurrent sends

Definition at line 119 of file ethos.h.

◆ remote_mac_addr

uint8_t ethos_t::remote_mac_addr[6]

this device's MAC address

Definition at line 115 of file ethos.h.

◆ state

line_state_t ethos_t::state

Line status variable.

Definition at line 117 of file ethos.h.

◆ uart

uart_t ethos_t::uart

UART device the to use.

Definition at line 113 of file ethos.h.


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