Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

phy_device_driver_s Struct Reference

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_sphy_channel_pages
 Pointer to channel page list.
arm_net_phy_rx_fnphy_rx_cb
 PHY RX callback.
arm_net_phy_tx_done_fnphy_tx_done_cb
 Transmission done callback.
arm_net_virtual_rx_fnarm_net_virtual_rx_cb
 Virtual RX callback.
arm_net_virtual_tx_fnarm_net_virtual_tx_cb
 Virtual TX callback.
arm_net_virtual_config_rx_fnvirtual_config_rx_cb
 Virtual config receive callback.
arm_net_virtual_config_tx_fnvirtual_config_tx_cb
 Virtual config send callback.
arm_net_virtual_confirmation_rx_fnvirtual_confirmation_rx_cb
 Virtual confirmation receive callback.
uint16_t tunnel_type
 Tun driver type.
phy_rf_statistics_sphy_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.

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.

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.