Network Component  Version 7.3
MDK Middleware for IPv4 and IPv6 Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetETH: ETH Interface

Events generated by the Network - Ethernet Interface functions. More...

Functions

__STATIC_INLINE void EvrNetETH_InitInterface (void)
 Event on Ethernet interface initialize (Op) More...
 
__STATIC_INLINE void EvrNetETH_MacAddressConfigError (void)
 Event on Ethernet MAC address configuration error (Error) More...
 
__STATIC_INLINE void EvrNetETH_MacAddressSetup (const uint8_t *mac_address)
 Event on Ethernet MAC address setup (Detail) More...
 
__STATIC_INLINE void EvrNetETH_PhyDriverConfigError (void)
 Event on Ethernet PHY configuration error (Error) More...
 
__STATIC_INLINE void EvrNetETH_PhyDriverInitError (void)
 Event on Ethernet PHY initialization error (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip4ConfigError (void)
 Event on Ethernet IPv4 configuration error (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip6ConfigError (void)
 Event on Ethernet IPv6 configuration error (Error) More...
 
__STATIC_INLINE void EvrNetETH_ThreadCreateFailed (void)
 Event on Ethernet thread create failed (Error) More...
 
__STATIC_INLINE void EvrNetETH_SendFrame (uint32_t length, uint8_t ip_version)
 Event on Ethernet send frame (Op) More...
 
__STATIC_INLINE void EvrNetETH_LinkDownError (void)
 Event on Ethernet link down error (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip4LocalAddressUndefined (void)
 Event on Ethernet local IPv4 address undefined (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip4MacAddressUnresolved (const uint8_t *ip4_address)
 Event on Ethernet MAC address unresolved (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip6LocalAddressUndefined (void)
 Event on Ethernet local IPv6 address undefined (Error) More...
 
__STATIC_INLINE void EvrNetETH_Ip6MacAddressUnresolved (const uint8_t *ip6_address)
 Event on Ethernet MAC address unresolved (Error) More...
 
__STATIC_INLINE void EvrNetETH_InvalidIpVersion (uint8_t ip_version)
 Event on Ethernet invalid IP version (Error) More...
 
__STATIC_INLINE void EvrNetETH_HeaderInfo (const void *eth_header)
 Event on Ethernet send/receive frame header info (Detail) More...
 
__STATIC_INLINE void EvrNetETH_LinkDownStatus (void)
 Event on Ethernet link down status (Op) More...
 
__STATIC_INLINE void EvrNetETH_LinkUpStatus (int32_t speed, int32_t duplex)
 Event on Ethernet link up status (Op) More...
 
__STATIC_INLINE void EvrNetETH_ReceiveFrame (uint32_t length)
 Event on Ethernet receive frame (Op) More...
 
__STATIC_INLINE void EvrNetETH_Ip4Disabled (void)
 Event on Ethernet receive IPv4 disabled (Op) More...
 
__STATIC_INLINE void EvrNetETH_Ip6Disabled (void)
 Event on Ethernet receive IPv6 disabled (Op) More...
 
__STATIC_INLINE void EvrNetETH_ProtocolUnknown (uint16_t protocol)
 Event on Ethernet receive protocol unknown (Op) More...
 

Description

Events generated by the Network - Ethernet Interface functions.

Function Documentation

__STATIC_INLINE void EvrNetETH_HeaderInfo ( const void *  eth_header)

Event on Ethernet send/receive frame header info (Detail)

Parameters
eth_headerpointer to ethernet frame header of 14 bytes
  • DstAddr (6 bytes)
  • SrcAddr (6 bytes)
  • Protocol (2 bytes)
__STATIC_INLINE void EvrNetETH_InitInterface ( void  )

Event on Ethernet interface initialize (Op)

__STATIC_INLINE void EvrNetETH_InvalidIpVersion ( uint8_t  ip_version)

Event on Ethernet invalid IP version (Error)

Parameters
ip_versioninvalid IP protocol version value
__STATIC_INLINE void EvrNetETH_Ip4ConfigError ( void  )

Event on Ethernet IPv4 configuration error (Error)

__STATIC_INLINE void EvrNetETH_Ip4Disabled ( void  )

Event on Ethernet receive IPv4 disabled (Op)

__STATIC_INLINE void EvrNetETH_Ip4LocalAddressUndefined ( void  )

Event on Ethernet local IPv4 address undefined (Error)

__STATIC_INLINE void EvrNetETH_Ip4MacAddressUnresolved ( const uint8_t *  ip4_address)

Event on Ethernet MAC address unresolved (Error)

Parameters
ip4_addresspointer to IPv4 destination address
__STATIC_INLINE void EvrNetETH_Ip6ConfigError ( void  )

Event on Ethernet IPv6 configuration error (Error)

__STATIC_INLINE void EvrNetETH_Ip6Disabled ( void  )

Event on Ethernet receive IPv6 disabled (Op)

__STATIC_INLINE void EvrNetETH_Ip6LocalAddressUndefined ( void  )

Event on Ethernet local IPv6 address undefined (Error)

__STATIC_INLINE void EvrNetETH_Ip6MacAddressUnresolved ( const uint8_t *  ip6_address)

Event on Ethernet MAC address unresolved (Error)

Parameters
ip6_addresspointer to IPv6 destination address
__STATIC_INLINE void EvrNetETH_LinkDownError ( void  )

Event on Ethernet link down error (Error)

__STATIC_INLINE void EvrNetETH_LinkDownStatus ( void  )

Event on Ethernet link down status (Op)

__STATIC_INLINE void EvrNetETH_LinkUpStatus ( int32_t  speed,
int32_t  duplex 
)

Event on Ethernet link up status (Op)

Parameters
speedlink speed
  • 0: 10 Mbit
  • 1: 100 Mbit
  • 2: 1 Gbit
duplexlink duplex
  • 0: half duplex
  • 1: full duplex
__STATIC_INLINE void EvrNetETH_MacAddressConfigError ( void  )

Event on Ethernet MAC address configuration error (Error)

__STATIC_INLINE void EvrNetETH_MacAddressSetup ( const uint8_t *  mac_address)

Event on Ethernet MAC address setup (Detail)

Parameters
mac_addresspointer to MAC address
__STATIC_INLINE void EvrNetETH_PhyDriverConfigError ( void  )

Event on Ethernet PHY configuration error (Error)

__STATIC_INLINE void EvrNetETH_PhyDriverInitError ( void  )

Event on Ethernet PHY initialization error (Error)

__STATIC_INLINE void EvrNetETH_ProtocolUnknown ( uint16_t  protocol)

Event on Ethernet receive protocol unknown (Op)

Parameters
protocolunknown ethernet protocol type
__STATIC_INLINE void EvrNetETH_ReceiveFrame ( uint32_t  length)

Event on Ethernet receive frame (Op)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetETH_SendFrame ( uint32_t  length,
uint8_t  ip_version 
)

Event on Ethernet send frame (Op)

Parameters
lengthframe length in bytes
ip_versioninternet protocol version
  • 0: IPv4
  • 1: IPv6
__STATIC_INLINE void EvrNetETH_ThreadCreateFailed ( void  )

Event on Ethernet thread create failed (Error)