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 OmniWheels 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. | |
arm_net_virtual_config_rx_fn * | virtual_config_rx_cb |
Virtual config receive callback. | |
arm_net_virtual_config_tx_fn * | virtual_config_tx_cb |
Virtual config send callback. | |
arm_net_virtual_confirmation_rx_fn * | virtual_confirmation_rx_cb |
Virtual confirmation receive callback. | |
uint16_t | tunnel_type |
Tun driver type. |
Detailed Description
Device driver structure.
Definition at line 229 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 240 of file arm_hal_phy.h.
Virtual RX callback.
Initialized by arm_net_phy_register().
Definition at line 248 of file arm_hal_phy.h.
Virtual TX callback.
Initialized by arm_net_phy_register().
Definition at line 249 of file arm_hal_phy.h.
Define interface data OUT protocol.
Definition at line 232 of file arm_hal_phy.h.
char* driver_description |
Short driver platform description.
Needs to end with zero.
Definition at line 235 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 241 of file arm_hal_phy.h.
Define driver types.
Definition at line 231 of file arm_hal_phy.h.
Pointer to channel page list.
Definition at line 242 of file arm_hal_phy.h.
uint8_t phy_header_length |
Define PHY driver needed header length before PDU.
Definition at line 237 of file arm_hal_phy.h.
uint8_t* PHY_MAC |
Pointer to 64-bit or 48-bit MAC address.
Definition at line 233 of file arm_hal_phy.h.
uint16_t phy_MTU |
Define MAX PHY layer MTU size.
Definition at line 234 of file arm_hal_phy.h.
PHY RX callback.
Initialized by arm_net_phy_register().
Definition at line 245 of file arm_hal_phy.h.
uint8_t phy_tail_length |
Define PHY driver needed TAIL Length.
Definition at line 236 of file arm_hal_phy.h.
Transmission done callback.
Initialized by arm_net_phy_register().
Definition at line 246 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 238 of file arm_hal_phy.h.
uint16_t tunnel_type |
Tun driver type.
Definition at line 253 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 239 of file arm_hal_phy.h.
Virtual config receive callback.
Initialized by arm_net_phy_register().
Definition at line 250 of file arm_hal_phy.h.
Virtual config send callback.
Initialized by arm_net_phy_register().
Definition at line 251 of file arm_hal_phy.h.
Virtual confirmation receive callback.
Initialized by arm_net_phy_register().
Definition at line 252 of file arm_hal_phy.h.
Generated on Fri Jul 22 2022 04:54:14 by
