Loading...
Searching...
No Matches
sam0_eth_netdev.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Dylan Laduranty
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
21
22#include <stdbool.h>
23
24#include "net/ethernet.h"
25#include "net/netdev.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
35
39typedef struct {
42
50
51#ifdef __cplusplus
52}
53#endif
54
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