MCUSW
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.

Macros

#define ETHTRCV_PRE_COMPILE_VARIANT   (STD_ON)
 ETHTRCV Build Variant. Build variant pre-compile (STD_ON/STD_OFF) More...
 
#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. More...
 
#define ETHTRCV_LINKSTATUS_WAITCOUNT_TICKS   (0x7d0U)
 Wait for link status to become up after configuration. More...
 
#define ETHTRCV_WAKEUPSUPPORT_API   (ETHTRCV_WAKEUP_NOT_SUPPORTED)
 Enable/disable Ethernet transceiver EthTrcvWakeUpSupport APIs. More...
 
#define ETHTRCV_SETTRANSCEIVERMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver settransceivermode API. More...
 
#define ETHTRCV_GETTRANSCEIVERMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver gettransceivermodeapi API. More...
 
#define ETHTRCV_STARTAUTONEGOTIATION_API   (STD_ON)
 Enable/disable Ethernet transceiver startautonegotiation API. More...
 
#define ETHTRCV_GETLINKSTATE_API   (STD_ON)
 Enable/disable Ethernet transceiver getlinkstate API. More...
 
#define ETHTRCV_GETBAUDRATE_API   (STD_ON)
 Enable/disable Ethernet transceiver getbaudrate API. More...
 
#define ETHTRCV_GETDUPLEXMODE_API   (STD_ON)
 Enable/disable Ethernet transceiver getduplexmode API. More...
 
#define ETHTRCV_OS_COUNTER_ID   ((CounterType)OsCounter_0)
 Counter ID for counter used to count wait ticks. More...
 
#define ETHTRCV_TIMEOUT_DURATION   (160000U)
 ETH timeout. More...
 
#define ETHTRCV_DRV_CONFIG_0   ((const EthTrcv_ConfigType *) &EthTrcvConfig_0_PC)
 
EthTrcv Driver Configuration SW Version Info

Pre-compile switches for enabling/disabling ETHTRCV MCAL APIs

#define ETHTRCV_VERSION_INFO_API   (STD_ON)/** \brief Enable/Disable DEV error detection */
 Enable/Disable EthTrcv_GetVersionInfo() More...
 
#define ETHTRCV_DEV_ERROR_DETECT   (STD_ON)/* @} */
 
#define ETHTRCV_MAX_CONTROLLER   (2U)
 EthTrcv max number of controllers. More...
 
#define ETHTRCV_MAX_CONTROLLER_CFGS   (2U)
 EthTrcv max number of configurations. More...
 
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 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. More...
 
#define ETHTRCV_E_ACCESS   (ETHTRCV_DEM_NO_EVENT)
 Hardware failed. More...
 

Variables

struct EthTrcv_ConfigType_s EthTrcvConfig_0_PC
 ETHTRCV Configuration struct declaration. More...