Loading...
Searching...
No Matches
sam0_eth_netdev.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Dylan Laduranty
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#include <stdbool.h>
20
21#include "net/ethernet.h"
22#include "net/netdev.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
32
36typedef struct {
39
47
48#ifdef __cplusplus
49}
50#endif
51
Definitions low-level network driver interface.
Definitions for Ethernet.
void sam0_eth_setup(netdev_t *dev)
Setup SAM0 Ethernet peripheral.
const netdev_driver_t sam0_eth_driver
Reference to the netdev device driver struct.
struct netdev netdev_t
Forward declaration for netdev struct.
Definition netdev.h:288
struct netdev_driver netdev_driver_t
Structure to hold driver interface -> function mapping.
Device descriptor for SAM0-ETH devices.
netdev_t * netdev
netdev parent struct