CMSIS-Driver  Version 2.8.0
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ethernet MAC Configuration

Specifies speed mode, link mode, checksum, and frame filtering modes. More...

Macros

#define ARM_ETH_MAC_SPEED_10M   (ARM_ETH_SPEED_10M << ARM_ETH_MAC_SPEED_Pos)
 10 Mbps link speed More...
 
#define ARM_ETH_MAC_SPEED_100M   (ARM_ETH_SPEED_100M << ARM_ETH_MAC_SPEED_Pos)
 100 Mbps link speed More...
 
#define ARM_ETH_MAC_SPEED_1G   (ARM_ETH_SPEED_1G << ARM_ETH_MAC_SPEED_Pos)
 1 Gpbs link speed More...
 
#define ARM_ETH_MAC_DUPLEX_HALF   (ARM_ETH_DUPLEX_HALF << ARM_ETH_MAC_DUPLEX_Pos)
 Half duplex link. More...
 
#define ARM_ETH_MAC_DUPLEX_FULL   (ARM_ETH_DUPLEX_FULL << ARM_ETH_MAC_DUPLEX_Pos)
 Full duplex link. More...
 
#define ARM_ETH_MAC_LOOPBACK   (1UL << 4)
 Loop-back test mode. More...
 
#define ARM_ETH_MAC_CHECKSUM_OFFLOAD_RX   (1UL << 5)
 Receiver Checksum offload. More...
 
#define ARM_ETH_MAC_CHECKSUM_OFFLOAD_TX   (1UL << 6)
 Transmitter Checksum offload. More...
 
#define ARM_ETH_MAC_ADDRESS_BROADCAST   (1UL << 7)
 Accept frames with Broadcast address. More...
 
#define ARM_ETH_MAC_ADDRESS_MULTICAST   (1UL << 8)
 Accept frames with any Multicast address. More...
 
#define ARM_ETH_MAC_ADDRESS_ALL   (1UL << 9)
 Accept frames with any address (Promiscuous Mode) More...
 

Description

Specifies speed mode, link mode, checksum, and frame filtering modes.

The function ARM_ETH_MAC_Control with control = ARM_ETH_MAC_CONFIGURE configures the Ethernet MAC interface as specified with arg listed bellow.

Macro Definition Documentation

#define ARM_ETH_MAC_SPEED_10M   (ARM_ETH_SPEED_10M << ARM_ETH_MAC_SPEED_Pos)

10 Mbps link speed

#define ARM_ETH_MAC_SPEED_100M   (ARM_ETH_SPEED_100M << ARM_ETH_MAC_SPEED_Pos)

100 Mbps link speed

#define ARM_ETH_MAC_SPEED_1G   (ARM_ETH_SPEED_1G << ARM_ETH_MAC_SPEED_Pos)

1 Gpbs link speed

#define ARM_ETH_MAC_DUPLEX_HALF   (ARM_ETH_DUPLEX_HALF << ARM_ETH_MAC_DUPLEX_Pos)

Half duplex link.

#define ARM_ETH_MAC_DUPLEX_FULL   (ARM_ETH_DUPLEX_FULL << ARM_ETH_MAC_DUPLEX_Pos)

Full duplex link.

#define ARM_ETH_MAC_LOOPBACK   (1UL << 4)

Loop-back test mode.

#define ARM_ETH_MAC_CHECKSUM_OFFLOAD_RX   (1UL << 5)

Receiver Checksum offload.

#define ARM_ETH_MAC_CHECKSUM_OFFLOAD_TX   (1UL << 6)

Transmitter Checksum offload.

#define ARM_ETH_MAC_ADDRESS_BROADCAST   (1UL << 7)

Accept frames with Broadcast address.

#define ARM_ETH_MAC_ADDRESS_MULTICAST   (1UL << 8)

Accept frames with any Multicast address.

#define ARM_ETH_MAC_ADDRESS_ALL   (1UL << 9)

Accept frames with any address (Promiscuous Mode)