CMSIS-Driver
Version 2.8.0
Peripheral Interface for Middleware and Application Code
|
Data Structures | |
struct | ARM_DRIVER_ETH_PHY |
Access structure of the Ethernet PHY Driver. More... | |
Typedefs | |
typedef int32_t(* | ARM_ETH_PHY_Read_t )(uint8_t phy_addr, uint8_t reg_addr, uint16_t *data) |
Pointer to ARM_ETH_MAC_PHY_Read : Read Ethernet PHY Register. More... | |
typedef int32_t(* | ARM_ETH_PHY_Write_t )(uint8_t phy_addr, uint8_t reg_addr, uint16_t data) |
Pointer to ARM_ETH_MAC_PHY_Write : Write Ethernet PHY Register. More... | |
#define ARM_ETH_PHY_API_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2,2) /* API version */ |
#define _ARM_Driver_ETH_PHY_ | ( | n | ) | Driver_ETH_PHY##n |
#define ARM_Driver_ETH_PHY_ | ( | n | ) | _ARM_Driver_ETH_PHY_(n) |
#define ARM_ETH_PHY_SPEED_Pos 0 |
#define ARM_ETH_PHY_SPEED_Msk (3UL << ARM_ETH_PHY_SPEED_Pos) |
#define ARM_ETH_PHY_DUPLEX_Pos 2 |
#define ARM_ETH_PHY_DUPLEX_Msk (1UL << ARM_ETH_PHY_DUPLEX_Pos) |