|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Resolved PHY link status snapshot. More...
#include <ra8_rmac.h>
Data Fields | |
| bool | up |
| true iff BMSR.LINK_STATUS = 1. | |
| ra8_rmac_phy_speed_t | speed |
| Negotiated speed/duplex when up. | |
| uint8_t | link_up |
| Link up. | |
| uint8_t | auto_neg_done |
| Auto neg done. | |
| uint16_t | bmsr |
| Bmsr. | |
| uint16_t | partner_ability |
| Partner ability. | |
Resolved PHY link status snapshot.
Snapshot of resolved link parameters.
Populated by ra8_rmac_phy_auto_neg_wait and ra8_rmac_phy_link_status. up mirrors IEEE 802.3 Clause 22 BMSR.LINK_STATUS (bit 2). When up is true, speed reflects the negotiated speed/duplex pair resolved against the link partner. When up is false the speed value is k_ra8_rmac_phy_speed_unknown.
Definition at line 180 of file ra8_rmac.h.
| uint8_t ra8_rmac_phy_link_t::auto_neg_done |
Auto neg done.
Definition at line 96 of file ra8_rmac_phy.h.
Referenced by ra8_rmac_phy_link_status_get().
| uint16_t ra8_rmac_phy_link_t::bmsr |
| uint8_t ra8_rmac_phy_link_t::link_up |
Link up.
Definition at line 95 of file ra8_rmac_phy.h.
Referenced by ra8_rmac_phy_link_status_get().
| uint16_t ra8_rmac_phy_link_t::partner_ability |
Partner ability.
Definition at line 99 of file ra8_rmac_phy.h.
Referenced by internal_resolve_speed(), and ra8_rmac_phy_link_status_get().
| ra8_rmac_phy_speed_t ra8_rmac_phy_link_t::speed |
Negotiated speed/duplex when up.
Speed.
Definition at line 182 of file ra8_rmac.h.
Referenced by internal_resolve_speed(), ra8_rmac_phy_auto_neg_wait(), ra8_rmac_phy_link_status(), and ra8_rmac_phy_link_status_get().
| bool ra8_rmac_phy_link_t::up |
true iff BMSR.LINK_STATUS = 1.
Definition at line 181 of file ra8_rmac.h.
Referenced by ra8_rmac_phy_auto_neg_wait(), and ra8_rmac_phy_link_status().