CMSIS-Driver: Driver_ETH_MAC.c File Reference

| CMSIS-Driver Version 2.04 Peripheral Interface for Middleware and Application Code

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Driver_ETH_MAC.c File Reference

## Functions
ARM_DRIVER_VERSION | ARM_ETH_MAC_GetVersion (void)
| Get driver version.
ARM_ETH_MAC_CAPABILITIES | ARM_ETH_MAC_GetCapabilities (void)
| Get driver capabilities.
int32_t | ARM_ETH_MAC_Initialize (ARM_ETH_MAC_SignalEvent_t cb_event)
| Initialize Ethernet MAC Device.
int32_t | ARM_ETH_MAC_Uninitialize (void)
| De-initialize Ethernet MAC Device.
int32_t | ARM_ETH_MAC_PowerControl (ARM_POWER_STATE state)
| Control Ethernet MAC Device Power.
int32_t | ARM_ETH_MAC_GetMacAddress (ARM_ETH_MAC_ADDR *ptr_addr)
| Get Ethernet MAC Address.
int32_t | ARM_ETH_MAC_SetMacAddress (const ARM_ETH_MAC_ADDR *ptr_addr)
| Set Ethernet MAC Address.
int32_t | ARM_ETH_MAC_SetAddressFilter (const ARM_ETH_MAC_ADDR *ptr_addr, uint32_t num_addr)
| Configure Address Filter.
int32_t | ARM_ETH_MAC_SendFrame (const uint8_t *frame, uint32_t len, uint32_t flags)
| Send Ethernet frame.
int32_t | ARM_ETH_MAC_ReadFrame (uint8_t *frame, uint32_t len)
| Read data of received Ethernet frame.
uint32_t | ARM_ETH_MAC_GetRxFrameSize (void)
| Get size of received Ethernet frame.
int32_t | ARM_ETH_MAC_GetRxFrameTime (ARM_ETH_MAC_TIME *time)
| Get time of received Ethernet frame.
int32_t | ARM_ETH_MAC_GetTxFrameTime (ARM_ETH_MAC_TIME *time)
| Get time of transmitted Ethernet frame.
int32_t | ARM_ETH_MAC_Control (uint32_t control, uint32_t arg)
| Control Ethernet Interface.
int32_t | ARM_ETH_MAC_ControlTimer (uint32_t control, ARM_ETH_MAC_TIME *time)
| Control Precision Timer.
int32_t | ARM_ETH_MAC_PHY_Read (uint8_t phy_addr, uint8_t reg_addr, uint16_t *data)
| Read Ethernet PHY Register through Management Interface.
int32_t | ARM_ETH_MAC_PHY_Write (uint8_t phy_addr, uint8_t reg_addr, uint16_t data)
| Write Ethernet PHY Register through Management Interface.
void | ARM_ETH_MAC_SignalEvent (uint32_t event)
| Callback function that signals a Ethernet Event.