rt-thread/bsp/microchip/same54/bsp/ethernet_phy_main.h
Kevin Liu 7847c5e98d
Microchip SAM MCU新增ethernet支持和驱动更新 (#5821)
* Microchip SAM MCU BSP update and add ethernet driver

1. Update Microchip SAM MCU BSP, add I2C, GMAC, ADC driver support. 2. Add ethernet driver support of SAM MCU for RT-Thread.

* Add GMAC and I2C driver support

1. Update MCU BSP to support I2C/ADC/GMAC peripherals. 2. Add I2C and ethernet driver and LWIP support. 3. Update serial driver.

* Add I2C driver and move some files to the common folder

1. Add I2C driver. 2. Move the same drivers and demo code to same folder to reduce duplicated code.
2022-04-19 14:32:02 +08:00

31 lines
624 B
C

/*
* Code generated from Atmel Start.
*
* This file will be overwritten when reconfiguring your Atmel Start project.
* Please copy examples or other code you want to keep to a separate file or main.c
* to avoid loosing it when reconfiguring.
*/
#ifndef ETHERNET_PHY_MAIN_H
#define ETHERNET_PHY_MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
#include <ethernet_phy.h>
extern struct ethernet_phy_descriptor MACIF_PHY_desc;
void ethernet_phys_init(void);
void MACIF_PHY_example(void);
/**
* \brief Ethernet PHY devices
*/
void ethernet_phys_init(void);
#ifdef __cplusplus
}
#endif
#endif /* ETHERNET_PHY_MAIN_H */