Bouffalo SDK  1.0
Bouffalolab Software Development Kit
phy state definition
Collaboration diagram for phy state definition:

Macros

#define PHY_STATE_DOWN   (0) /* PHY is not usable */
 
#define PHY_STATE_READY   (1) /* PHY is OK, wait for controller */
 
#define PHY_STATE_UP   (2) /* Network is ready for TX/RX */
 
#define PHY_STATE_RUNNING   (3) /* working */
 
#define PHY_STATE_NOLINK   (4) /* no cable connected */
 
#define PHY_STATE_STOPPED   (5) /* PHY has been stopped */
 
#define PHY_STATE_TESTING   (6) /* in test mode */
 

Detailed Description

Macro Definition Documentation

◆ PHY_STATE_DOWN

#define PHY_STATE_DOWN   (0) /* PHY is not usable */

Definition at line 45 of file bflb_emac.h.

◆ PHY_STATE_NOLINK

#define PHY_STATE_NOLINK   (4) /* no cable connected */

Definition at line 49 of file bflb_emac.h.

◆ PHY_STATE_READY

#define PHY_STATE_READY   (1) /* PHY is OK, wait for controller */

Definition at line 46 of file bflb_emac.h.

◆ PHY_STATE_RUNNING

#define PHY_STATE_RUNNING   (3) /* working */

Definition at line 48 of file bflb_emac.h.

◆ PHY_STATE_STOPPED

#define PHY_STATE_STOPPED   (5) /* PHY has been stopped */

Definition at line 50 of file bflb_emac.h.

◆ PHY_STATE_TESTING

#define PHY_STATE_TESTING   (6) /* in test mode */

Definition at line 51 of file bflb_emac.h.

◆ PHY_STATE_UP

#define PHY_STATE_UP   (2) /* Network is ready for TX/RX */

Definition at line 47 of file bflb_emac.h.