|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
PHY link state snapshot. More...
#include <ra8_eth.h>
Data Fields | |
| uint8_t | link_up |
| 1 if BMSR.LINK_STATUS asserted, else 0. | |
| uint16_t | speed_mbps |
| Negotiated PHY speed (10/100/1000). | |
| uint8_t | full_duplex |
| 1 if full duplex, 0 if half. | |
| uint16_t | bmsr |
| Raw BMSR (PHY register 0x01) snapshot. | |
PHY link state snapshot.
Returned by ra8_eth_link_status. Mirrors the IEEE-802.3 BMSR link-up bit and the negotiated speed / duplex from BMCR / GBSR.
| uint16_t ra8_eth_link_t::bmsr |
Raw BMSR (PHY register 0x01) snapshot.
Definition at line 248 of file ra8_eth.h.
Referenced by internal_phy_read_link().
| uint8_t ra8_eth_link_t::full_duplex |
1 if full duplex, 0 if half.
Definition at line 247 of file ra8_eth.h.
Referenced by internal_phy_read_link().
| uint8_t ra8_eth_link_t::link_up |
1 if BMSR.LINK_STATUS asserted, else 0.
Definition at line 245 of file ra8_eth.h.
Referenced by internal_handle_get_status(), internal_phy_read_link(), and ra8_eth_link_status().
| uint16_t ra8_eth_link_t::speed_mbps |
Negotiated PHY speed (10/100/1000).
Definition at line 246 of file ra8_eth.h.
Referenced by internal_phy_read_link().