PebbleOS v4.47.0-1312-gf1984a001
Loading...
Searching...
No Matches
pbl_eth_callbacks Struct Reference

What the user does with what a controller reports. More...

#include <ethernet.h>

Data Fields

void(* rx_ready )(const struct pbl_eth *eth, void *arg)
 Received frames are waiting.
 
void(* tx_ready )(const struct pbl_eth *eth, void *arg)
 Room to send came back.
 
void(* link_changed )(const struct pbl_eth *eth, bool up, void *arg)
 The link came up or went down.
 

Detailed Description

What the user does with what a controller reports.

Field Documentation

◆ link_changed

void(* pbl_eth_callbacks::link_changed) (const struct pbl_eth *eth, bool up, void *arg)

The link came up or went down.

From thread context.

◆ rx_ready

void(* pbl_eth_callbacks::rx_ready) (const struct pbl_eth *eth, void *arg)

Received frames are waiting.

From the controller's interrupt.

◆ tx_ready

void(* pbl_eth_callbacks::tx_ready) (const struct pbl_eth *eth, void *arg)

Room to send came back.

From the controller's interrupt.


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