Select one of the symbols to view example projects that use it.
 
Outline
...
...
#define NX_STM32_PHY_DRIVER_H
#include <stdint.h>
#define ETH_PHY_STATUS_ERROR
#define ETH_PHY_STATUS_OK
#define ETH_PHY_STATUS_LINK_ERROR
#define ETH_PHY_STATUS_LINK_DOWN
#define ETH_PHY_STATUS_100MBITS_FULLDUPLEX
#define ETH_PHY_STATUS_100MBITS_HALFDUPLEX
#define ETH_PHY_STATUS_10MBITS_FULLDUPLEX
#define ETH_PHY_STATUS_10MBITS_HALFDUPLEX
#define ETH_PHY_STATUS_AUTONEGO_NOT_DONE
nx_eth_phy_handle_t
nx_eth_phy_init();
nx_eth_phy_get_link_state();
nx_eth_phy_set_link_state(int32_t);
nx_eth_phy_get_handle();
Files
loading...
CodeScopeSTM32 Libraries and Samplesnetxduocommon/drivers/ethernet/nx_stm32_phy_driver.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/**************************************************************************/ /* */ /* 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. */ /* */... /**************************************************************************/ #ifndef NX_STM32_PHY_DRIVER_H #define NX_STM32_PHY_DRIVER_H #ifdef __cplusplus extern "C" { #endif #include <stdint.h> #define ETH_PHY_STATUS_ERROR ((int32_t)-1) #define ETH_PHY_STATUS_OK ((int32_t) 0) #define ETH_PHY_STATUS_LINK_ERROR ((int32_t) 0) #define ETH_PHY_STATUS_LINK_DOWN ((int32_t) 1) #define ETH_PHY_STATUS_100MBITS_FULLDUPLEX ((int32_t) 2) #define ETH_PHY_STATUS_100MBITS_HALFDUPLEX ((int32_t) 3) #define ETH_PHY_STATUS_10MBITS_FULLDUPLEX ((int32_t) 4) #define ETH_PHY_STATUS_10MBITS_HALFDUPLEX ((int32_t) 5) #define ETH_PHY_STATUS_AUTONEGO_NOT_DONE ((int32_t) 6) 9 defines typedef void * nx_eth_phy_handle_t; int32_t nx_eth_phy_init(void); int32_t nx_eth_phy_get_link_state(void); int32_t nx_eth_phy_set_link_state(int32_t linkstate); nx_eth_phy_handle_t nx_eth_phy_get_handle(void); #ifdef __cplusplus }extern "C" { ... } #endif/* ... */ ...#endif