/**************************************************************************//* *//* Copyright (c) Microsoft Corporation. All rights reserved. *//* *//* This software is licensed under the Microsoft Software License *//* Terms for Microsoft Azure RTOS. Full text of the license can be *//* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA *//* and in the root directory of this software. *//* */.../**************************************************************************/#ifndefNX_STM32_PHY_DRIVER_H#defineNX_STM32_PHY_DRIVER_H#ifdef__cplusplusextern"C"{#endif#include<stdint.h>#defineETH_PHY_STATUS_ERROR((int32_t)-1)#defineETH_PHY_STATUS_OK((int32_t)0)#defineETH_PHY_STATUS_LINK_ERROR((int32_t)0)#defineETH_PHY_STATUS_LINK_DOWN((int32_t)1)#defineETH_PHY_STATUS_100MBITS_FULLDUPLEX((int32_t)2)#defineETH_PHY_STATUS_100MBITS_HALFDUPLEX((int32_t)3)#defineETH_PHY_STATUS_10MBITS_FULLDUPLEX((int32_t)4)#defineETH_PHY_STATUS_10MBITS_HALFDUPLEX((int32_t)5)#defineETH_PHY_STATUS_AUTONEGO_NOT_DONE((int32_t)6)9 definestypedefvoid*nx_eth_phy_handle_t;int32_tnx_eth_phy_init(void);int32_tnx_eth_phy_get_link_state(void);int32_tnx_eth_phy_set_link_state(int32_tlinkstate);nx_eth_phy_handle_tnx_eth_phy_get_handle(void);#ifdef__cplusplus}extern "C" { ... }#endif/* ... */...#endif
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.