1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/w5500/init_dev.h
Stefan Schmidt 9d62ad4c5c driver/w5500: driver for the W5500 ethernet chip
- driver can be used with interrupt or in polling mode (default)
2024-05-02 22:07:17 +02:00

46 lines
770 B
C

/*
* Copyright (C) 2023 Stefan Schmidt
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Device-specific test header file W5500 ethernet device driver
*
* @author Stefan Schmidt <stemschmidt@gmail.com>
*/
#ifndef INIT_DEV_H
#define INIT_DEV_H
#include <stdint.h>
#include "kernel_defines.h"
#include "net/netdev.h"
#include "w5500.h"
#include "w5500_params.h"
#ifdef __cplusplus
extern "C" {
#endif
#define W5500_NUM ARRAY_SIZE(w5500_params)
#define NETDEV_ETH_MINIMAL_NUMOF W5500_NUM
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* INIT_DEV_H */
/** @} */