Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
epacket_interface_common_data Struct Reference

Common data struct for all interfaces. More...

#include <interface.h>

Data Fields

epacket_receive_handler receive_handler
 Handler run on packets received on the interface.
struct k_work_delayable receive_timeout
 Work item that disables receiving at the end of an epacket_receive window.
struct k_spinlock callback_lock
 Lock protecting epacket_interface_common_data::callback_list.
sys_slist_t callback_list
 List of registered epacket_interface_cb callbacks.
const struct device * dev
 Interface device this data belongs to.

Detailed Description

Common data struct for all interfaces.

Must be first member in interface data struct

Field Documentation

◆ callback_list

sys_slist_t epacket_interface_common_data::callback_list

List of registered epacket_interface_cb callbacks.

◆ callback_lock

struct k_spinlock epacket_interface_common_data::callback_lock

◆ dev

const struct device* epacket_interface_common_data::dev

Interface device this data belongs to.

◆ receive_handler

epacket_receive_handler epacket_interface_common_data::receive_handler

Handler run on packets received on the interface.

◆ receive_timeout

struct k_work_delayable epacket_interface_common_data::receive_timeout

Work item that disables receiving at the end of an epacket_receive window.


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