Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os by
phy_device_driver_s Struct Reference
Device driver structure. More...
#include <arm_hal_phy.h>
Data Fields | |
phy_link_type_e | link_type |
Define driver types. | |
driver_data_request_e | data_request_layer |
Define interface data OUT protocol. | |
uint8_t * | PHY_MAC |
Pointer to 64-bit or 48-bit MAC address. | |
uint16_t | phy_MTU |
Define MAX PHY layer MTU size. | |
char * | driver_description |
Short driver platform description. | |
uint8_t | phy_tail_length |
Define PHY driver needed TAIL Length. | |
uint8_t | phy_header_length |
Define PHY driver needed header length before PDU. | |
int8_t(* | state_control )(phy_interface_state_e, uint8_t) |
Function pointer for control PHY driver state. | |
int8_t(* | tx )(uint8_t *, uint16_t, uint8_t, data_protocol_e) |
Function pointer for PHY driver write operation. | |
int8_t(* | address_write )(phy_address_type_e, uint8_t *) |
Function pointer for PHY driver address write. | |
int8_t(* | extension )(phy_extension_type_e, uint8_t *) |
Function pointer for PHY driver extension control. | |
const phy_device_channel_page_s * | phy_channel_pages |
Pointer to channel page list. | |
arm_net_phy_rx_fn * | phy_rx_cb |
PHY RX callback. | |
arm_net_phy_tx_done_fn * | phy_tx_done_cb |
Transmission done callback. | |
arm_net_virtual_rx_fn * | arm_net_virtual_rx_cb |
Virtual RX callback. | |
arm_net_virtual_tx_fn * | arm_net_virtual_tx_cb |
Virtual TX callback. | |
uint16_t | tunnel_type |
Tun driver type. |
Detailed Description
Device driver structure.
Definition at line 198 of file arm_hal_phy.h.
Field Documentation
int8_t(* address_write)(phy_address_type_e, uint8_t *) |
Function pointer for PHY driver address write.
Definition at line 209 of file arm_hal_phy.h.
Virtual RX callback.
Initialized by arm_net_phy_register().
Definition at line 217 of file arm_hal_phy.h.
Virtual TX callback.
Initialized by arm_net_phy_register().
Definition at line 218 of file arm_hal_phy.h.
Define interface data OUT protocol.
Definition at line 201 of file arm_hal_phy.h.
char* driver_description |
Short driver platform description.
Needs to end with zero.
Definition at line 204 of file arm_hal_phy.h.
int8_t(* extension)(phy_extension_type_e, uint8_t *) |
Function pointer for PHY driver extension control.
Definition at line 210 of file arm_hal_phy.h.
Define driver types.
Definition at line 200 of file arm_hal_phy.h.
Pointer to channel page list.
Definition at line 211 of file arm_hal_phy.h.
uint8_t phy_header_length |
Define PHY driver needed header length before PDU.
Definition at line 206 of file arm_hal_phy.h.
uint8_t* PHY_MAC |
Pointer to 64-bit or 48-bit MAC address.
Definition at line 202 of file arm_hal_phy.h.
uint16_t phy_MTU |
Define MAX PHY layer MTU size.
Definition at line 203 of file arm_hal_phy.h.
PHY RX callback.
Initialized by arm_net_phy_register().
Definition at line 214 of file arm_hal_phy.h.
uint8_t phy_tail_length |
Define PHY driver needed TAIL Length.
Definition at line 205 of file arm_hal_phy.h.
Transmission done callback.
Initialized by arm_net_phy_register().
Definition at line 215 of file arm_hal_phy.h.
int8_t(* state_control)(phy_interface_state_e, uint8_t) |
Function pointer for control PHY driver state.
Definition at line 207 of file arm_hal_phy.h.
uint16_t tunnel_type |
Tun driver type.
Definition at line 219 of file arm_hal_phy.h.
int8_t(* tx)(uint8_t *, uint16_t, uint8_t, data_protocol_e) |
Function pointer for PHY driver write operation.
Definition at line 208 of file arm_hal_phy.h.
Generated on Tue Jul 12 2022 13:16:57 by
