|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Pluggable MDIO bus interface. More...
#include <ra8_ether_phy.h>
Data Fields | |
| ra8_err_t(* | read )(void *ctx, uint8_t phy_addr, uint8_t reg_addr, uint16_t *out_data) |
| Read a 16-bit Clause-22 register. | |
| ra8_err_t(* | write )(void *ctx, uint8_t phy_addr, uint8_t reg_addr, uint16_t data) |
| Write a 16-bit Clause-22 register. | |
| void * | ctx |
| Opaque context pointer forwarded to read / write. | |
Pluggable MDIO bus interface.
Definition at line 82 of file ra8_ether_phy.h.
| void* ra8_ether_phy_io_t::ctx |
Opaque context pointer forwarded to read / write.
Definition at line 102 of file ra8_ether_phy.h.
| ra8_err_t(* ra8_ether_phy_io_t::read) (void *ctx, uint8_t phy_addr, uint8_t reg_addr, uint16_t *out_data) |
Read a 16-bit Clause-22 register.
| [in] | ctx | User context handed back unchanged. |
| [in] | phy_addr | PHY address (0..31). |
| [in] | reg_addr | Register index (0..31). |
| [out] | out_data | Receives the 16-bit register value. |
Definition at line 91 of file ra8_ether_phy.h.
Referenced by ra8_ether_phy_open().
| ra8_err_t(* ra8_ether_phy_io_t::write) (void *ctx, uint8_t phy_addr, uint8_t reg_addr, uint16_t data) |
Write a 16-bit Clause-22 register.
| [in] | ctx | User context handed back unchanged. |
| [in] | phy_addr | PHY address (0..31). |
| [in] | reg_addr | Register index (0..31). |
| [in] | data | 16-bit register value. |
Definition at line 100 of file ra8_ether_phy.h.
Referenced by ra8_ether_phy_open().