Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
NanostackPhy Class Referenceabstract

PHY driver class for Nanostack. More...

#include <NanostackPhy.h>

Inheritance diagram for NanostackPhy:
NanostackEthernetPhy NanostackRfPhy

Public Member Functions

virtual int8_t phy_register ()=0
 Register this physical interface with Nanostack. More...
 
virtual void get_mac_address (uint8_t *mac)=0
 Read the mac address of this physical interface. More...
 
virtual void set_mac_address (uint8_t *mac)=0
 Set the mac address of this physical interface. More...
 

Detailed Description

PHY driver class for Nanostack.

Definition at line 22 of file NanostackPhy.h.

Member Function Documentation

virtual void get_mac_address ( uint8_t *  mac)
pure virtual

Read the mac address of this physical interface.

Note - some devices do not have a mac address in hardware.

virtual int8_t phy_register ( )
pure virtual

Register this physical interface with Nanostack.

Returns
Device driver ID or a negative error code on failure

Implemented in NanostackRfPhy.

virtual void set_mac_address ( uint8_t *  mac)
pure virtual

Set the mac address of this physical interface.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.