ETHERNET SMART BRIDGE
Alberto Carboni, Alessio CiarciĆ , Jacopo Grecuccio, Lorenzo Zaia
|
Low-Level driver for communication between CPU and LAN9211 in an IP-Manager-based environment. More...
#include "Fpgaipm.h"
Go to the source code of this file.
Functions | |
void | ETH_SMB_PIORead (uint16_t lan9211_reg, uint32_t *data) |
This Function is used to read 32 bits from a LAN9211 register. More... | |
void | ETH_SMB_PIOWrite (uint16_t lan9211_reg, uint32_t data) |
This Function is used to write 32 bits from a LAN9211 register. More... | |
Low-Level driver for communication between CPU and LAN9211 in an IP-Manager-based environment.
void ETH_SMB_PIORead | ( | uint16_t | lan9211_reg, |
uint32_t * | data | ||
) |
This Function is used to read 32 bits from a LAN9211 register.
lan9211_reg | The address of the target register |
data | The pointer to the buffer where the data will be stored |
void ETH_SMB_PIOWrite | ( | uint16_t | lan9211_reg, |
uint32_t | data | ||
) |
This Function is used to write 32 bits from a LAN9211 register.
lan9211_reg | The address of the target register |
data | The value to be written |