CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches

Configure and control the Ethernet MAC interface. More...

Macros

#define ARM_ETH_MAC_CONFIGURE   (0x01UL)
 Configure MAC; arg = configuration.
 
#define ARM_ETH_MAC_CONTROL_TX   (0x02UL)
 Transmitter; arg: 0=disabled (default), 1=enabled.
 
#define ARM_ETH_MAC_CONTROL_RX   (0x03UL)
 Receiver; arg: 0=disabled (default), 1=enabled.
 
#define ARM_ETH_MAC_FLUSH   (0x04UL)
 Flush buffer; arg = ARM_ETH_MAC_FLUSH_...
 
#define ARM_ETH_MAC_SLEEP   (0x05UL)
 Sleep mode; arg: 1=enter and wait for Magic packet, 0=exit.
 
#define ARM_ETH_MAC_VLAN_FILTER   (0x06UL)
 VLAN Filter for received frames; arg15..0: VLAN Tag; arg16: optional ARM_ETH_MAC_VLAN_FILTER_ID_ONLY; 0=disabled (default)
 

Description

Configure and control the Ethernet MAC interface.

Macro Definition Documentation

◆ ARM_ETH_MAC_CONFIGURE

#define ARM_ETH_MAC_CONFIGURE   (0x01UL)

Configure MAC; arg = configuration.

See also
ARM_ETH_MAC_Control

◆ ARM_ETH_MAC_CONTROL_TX

#define ARM_ETH_MAC_CONTROL_TX   (0x02UL)

Transmitter; arg: 0=disabled (default), 1=enabled.

See also
ARM_ETH_MAC_Control

◆ ARM_ETH_MAC_CONTROL_RX

#define ARM_ETH_MAC_CONTROL_RX   (0x03UL)

Receiver; arg: 0=disabled (default), 1=enabled.

See also
ARM_ETH_MAC_Control

◆ ARM_ETH_MAC_FLUSH

#define ARM_ETH_MAC_FLUSH   (0x04UL)

Flush buffer; arg = ARM_ETH_MAC_FLUSH_...

See also
ARM_ETH_MAC_Control

◆ ARM_ETH_MAC_SLEEP

#define ARM_ETH_MAC_SLEEP   (0x05UL)

Sleep mode; arg: 1=enter and wait for Magic packet, 0=exit.

See also
ARM_ETH_MAC_Control

◆ ARM_ETH_MAC_VLAN_FILTER

#define ARM_ETH_MAC_VLAN_FILTER   (0x06UL)

VLAN Filter for received frames; arg15..0: VLAN Tag; arg16: optional ARM_ETH_MAC_VLAN_FILTER_ID_ONLY; 0=disabled (default)

See also
ARM_ETH_MAC_Control