MCUSW
Loading...
Searching...
No Matches
EthTrcv_Cfg.h File Reference

Introduction

This file contains generated pre compile configuration file for Ethernet Transceiver MCAL driver.

Go to the source code of this file.

ETHTRCV DEM Error codes to report

Pre-compile switches for enabling/disabling DEM events

#define DemConf_DemEventParameter_ETHTRCV_DEM_NO_EVENT   (0xFFFFU)
 
#define ETHTRCV_DEM_NO_EVENT   DemConf_DemEventParameter_ETHTRCV_DEM_NO_EVENT
 
#define ETHTRCV_E_HARDWARE_ERROR   (ETHTRCV_DEM_NO_EVENT)
 Hardware failed.
 
#define ETHTRCV_E_ACCESS   (ETHTRCV_DEM_NO_EVENT)
 Hardware failed.
 
#define EthTrcvConf_EthTrcvConfig_EthTrcvConfig_0   (0U)
 EthTrcv controller ID Configured controller ID(s)
 
#define ETHTRCV_DRV_CONFIG_0   ((const EthTrcv_ConfigType *) &EthTrcvConfigSet)
 
struct EthTrcv_ConfigType_s EthTrcvConfigSet
 ETHTRCV Configuration struct declaration.
 

Macros

#define ETHTRCV_PRE_COMPILE_VARIANT   (STD_ON)
 ETHTRCV Build Variant. Build variant pre-compile (STD_ON/STD_OFF)
 
#define ETHTRCV_ETHIF_CBK_HEADER   "EthIf_Cbk.h"
 EthIf Callback Header File to include inside the EthTrcv driver.
 
EthTrcv Driver Configuration SW Version Info

Pre-compile switches for enabling/disabling ETHTRCV MCAL APIs

#define ETHTRCV_VERSION_INFO_API   (STD_ON)
 Enable/Disable EthTrcv_GetVersionInfo()
 
#define ETHTRCV_DEV_ERROR_DETECT   (STD_ON)
 Enable/Disable DEV error detection.
 
#define ETHTRCV_MAX_CONTROLLER   (1U)
 EthTrcv max number of controllers.
 
EthTrcv Controller names

Symbolic names for the EthTrcvControllerId.

#define ETHTRCV_CONTROLLER_ID_0   (0U)
 
EthTrcv Transceiver names

Symbolic names for the EthTrcv.

#define ETHTRCV_CONTROLLER_ID_0_TRCV_ID_0   (0U)
 
EthTrcv Wake-up Modes

Ethernet Transceiver wakeup support definitions used to configure wake-up to polling or interrupt or to not used/not supported.

#define ETHTRCV_WAKEUP_BY_INTERRUPT   (0x0U)
 Interrupt based wake up for Ethernet Transceiver.
 
#define ETHTRCV_WAKEUP_BY_POLLING   (0x1U)
 Polling based wake up for Ethernet Transceiver.
 
#define ETHTRCV_WAKEUP_NOT_SUPPORTED   (0x2U)
 Wake up for Ethernet Transceiver not supported.
 
#define ETHTRCV_AUTONEG_STATUS_WAITCOUNT_TICKS   (0x7d0U)
 EthTrcv auto-negotiation wait count Transceiver delay after auto-negotiation started to auto-negotiation completed. Transceiver (PHY) sets auto-negotiation status bit in status register once it is complete. Depending on Transceiver type, MDIO frequency it will take different time. change count value if transceiver detection fails in auto-negotiation.
 
#define ETHTRCV_LINKSTATUS_WAITCOUNT_TICKS   (0x7d0U)
 Wait for link status to become up after configuration.
 
#define ETHTRCV_WAKEUPSUPPORT_API   (ETHTRCV_WAKEUP_NOT_SUPPORTED)
 Enable/disable Ethernet transceiver EthTrcvWakeUpSupport APIs.
 
#define ETHTRCV_SETTRANSCEIVERMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver settransceivermode API.
 
#define ETHTRCV_GETTRANSCEIVERMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver gettransceivermodeapi API.
 
#define ETHTRCV_STARTAUTONEGOTIATION_API   (STD_ON)
 Enable/disable Ethernet transceiver startautonegotiation API.
 
#define ETHTRCV_GETLINKSTATE_API   (STD_ON)
 Enable/disable Ethernet transceiver getlinkstate API.
 
#define ETHTRCV_GETBAUDRATE_API   (STD_ON)
 Enable/disable Ethernet transceiver getbaudrate API.
 
#define ETHTRCV_GETDUPLEXMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver getduplexmode API.
 
#define ETHTRCV_GETPHYIDENTIFIER_API   (STD_OFF)
 Enable/disable Ethernet transceiver getphyidentifier API.
 
#define ETHTRCV_TIMEOUT_DURATION   (160000U)
 ETH timeout.
 
#define ETHTRCV_GETCABLEDIAGNOSTICSRESULT_API   (STD_ON)
 Cabled diagnostic result.
 
#define ETHTRCV_GETPHYSIGNALQUALITY_API   (STD_ON)
 Signal quality.
 
#define ETHTRCV_SETPHYLOOPBACKMODE_API   (STD_ON)
 Set loopback mode.
 
#define ETHTRCV_SETPHYTESTMODE_API   (STD_ON)
 Set phy test mode.
 
#define ETHTRCV_SETPHYTXMODE_API   (STD_ON)
 Set phy tx mode.
 
#define ETHTRCV_DEM_EVENT_SUPPORT   (STD_OFF)
 ETHTRCV support DEM event feature.