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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
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. | |
phy_rf_statistics_s * | phy_rf_statistics |
PHY statistics. |
Detailed Description
Device driver structure.
Definition at line 272 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 282 of file arm_hal_phy.h.
Virtual RX callback.
Initialized by arm_net_phy_register().
Definition at line 290 of file arm_hal_phy.h.
Virtual TX callback.
Initialized by arm_net_phy_register().
Definition at line 291 of file arm_hal_phy.h.
Define interface data OUT protocol.
Definition at line 274 of file arm_hal_phy.h.
char* driver_description |
Short driver platform description.
Needs to end with zero.
Definition at line 277 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 283 of file arm_hal_phy.h.
Define driver types.
Definition at line 273 of file arm_hal_phy.h.
Pointer to channel page list.
Definition at line 284 of file arm_hal_phy.h.
uint8_t phy_header_length |
Define PHY driver needed header length before PDU.
Definition at line 279 of file arm_hal_phy.h.
uint8_t* PHY_MAC |
Pointer to 64-bit or 48-bit MAC address.
Definition at line 275 of file arm_hal_phy.h.
uint16_t phy_MTU |
Define MAX PHY layer MTU size.
Definition at line 276 of file arm_hal_phy.h.
PHY statistics.
Definition at line 296 of file arm_hal_phy.h.
PHY RX callback.
Initialized by arm_net_phy_register().
Definition at line 287 of file arm_hal_phy.h.
uint8_t phy_tail_length |
Define PHY driver needed TAIL Length.
Definition at line 278 of file arm_hal_phy.h.
Transmission done callback.
Initialized by arm_net_phy_register().
Definition at line 288 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 280 of file arm_hal_phy.h.
uint16_t tunnel_type |
Tun driver type.
Definition at line 295 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 281 of file arm_hal_phy.h.
Virtual config receive callback.
Initialized by arm_net_phy_register().
Definition at line 292 of file arm_hal_phy.h.
Virtual config send callback.
Initialized by arm_net_phy_register().
Definition at line 293 of file arm_hal_phy.h.
Virtual confirmation receive callback.
Initialized by arm_net_phy_register().
Definition at line 294 of file arm_hal_phy.h.
Generated on Tue Jul 12 2022 13:55:35 by
