drv_mdio.h 421 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-09-29 WangQiang the first version
  9. *
  10. */
  11. #ifndef DRV_MDIO_H__
  12. #define DRV_MDIO_H__
  13. #include <rtdevice.h>
  14. #include "fsl_enet.h"
  15. rt_mdio_t *rt_hw_mdio_register(void *hw_obj, char *name);
  16. rt_mdio_t *rt_hw_mdio_get(void);
  17. #endif /*DRV_MDIO_H__*/