This function initializes the Ethernet Transceiver controller. All the required initialization for the transceiver driver is performed in this function.
This function Obtains the PHY identifier of the Ethernet Transceiver according to IEEE 802.3-2015 chapter 22.2.4.3.1 PHY Identifer.
This function Retrieves the cable diagnostics result of a given transceiver.
This function Activates a given transmission mode.
This function Obtains the current signal quality of the link of the indexed transceiver.
This function Activates a given loopback mode.
This function Activates a given test mode.
This function obtains the duplex mode of the indexed transceiver.
This function obtains the baud rate of the indexed transceiver.
This function obtains the link state of the indexed transceiver.
This function restarts the negotiation of the transmission parameters used by the indexed.
This function obtains the state of the indexed transceiver.
This function enables / disables the indexed transceiver.
* Service name : EthTrcv_Init
* Syntax : void EthTrcv_TransceiverInit(
* uint8 TrcvIdx
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x02
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx tranceiver controller index
* Parameters (inout): None
* Parameters (out) : None
* Return value : Std_ReturnType
* E_OK: Service accepted
* E_NOT_OK: Service denied
* Description : Initializes the Ethernet Transceiver Driver.
*
* Service name : EthTrcv_SetTransceiverMode
* Syntax : Std_ReturnType EthTrcv_SetTransceiverMode(
* uint8 TrcvIdx,
* EthTrcv_ModeType CtrlMode
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x03
* Sync/Async : Asynchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* CtrlMode
* ETHTRCV_MODE_DOWN: disable the transceiver
* ETHTRCV_MODE_ACTIVE: enable the transceiver
* Parameters (inout): None
* Parameters (out) : None
* Return value : Std_ReturnType
* E_OK: Service accepted
* E_NOT_OK: Service denied
* Description : Enables / disables the indexed transceiver.
*
* Service name : EthTrcv_GetTransceiverMode
* Syntax : Std_ReturnType EthTrcv_GetTransceiverMode(
* uint8 TrcvIdx,
* EthTrcv_ModeType* TrcvModePtr
* )
* Mode : User Mode (Non-Privileged Mode)
* Service ID[hex] : 0x04
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (inout): None
* Parameters (out) : None
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the state of the indexed transceiver.
*
* Service name : EthTrcv_StartAutoNegotiation
* Syntax : Std_ReturnType EthTrcv_StartAutoNegotiation(
* uint8 TrcvIdx
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x05
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (inout): None
* Parameters (out) : None
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Restarts the negotiation of the transmission parameters
* used by the indexed.
*
* Service name : EthTrcv_GetLinkState
* Syntax : Std_ReturnType EthTrcv_GetLinkState(
* uint8 TrcvIdx,
* EthTrcv_LinkStateType* LinkStatePtr
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x06
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (inout): None
* Parameters (out) : LinkStatePtr
* ETHTRCV_LINK_STATE_DOWN: transceiver is disconnected
* ETHTRCV_LINK_STATE_ACTIVE: transceiver is connected
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the link state of the indexed transceiver.
*
* Service name : EthTrcv_GetBaudRate
* Syntax : Std_ReturnType EthTrcv_GetBaudRate(
* uint8 TrcvIdx,
* EthTrcv_BaudRateType* BaudRatePtr
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x07
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (inout): None
* Parameters (out) : BaudRatePtr
* ETHTRCV_BAUD_RATE_10MBIT: 10MBit connection
* ETHTRCV_BAUD_RATE_100MBIT: 100MBit connection
* ETHTRCV_BAUD_RATE_1000MBIT: 1000MBit connection
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the baud rate of the indexed transceiver.
*
* Service name : EthTrcv_GetDuplexMode
* Syntax : Std_ReturnType EthTrcv_GetDuplexMode(
* uint8 TrcvIdx,
* EthTrcv_DuplexModeType* DuplexModePtr
* )
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x08
* Sync/Async : Synchronous
* Reentrancy : Non Reentrant
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (inout): None
* Parameters (out) : DuplexModePtr
* ETHTRCV_DUPLEX_MODE_HALF: half duplex connections
* ETHTRCV_DUPLEX_MODE_FULL: full duplex connection
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the duplex mode of the indexed transceiver.
*
* Service name : EthTrcv_SetPhyTestMode
* Syntax : Std_ReturnType EthTrcv_SetPhyTestMode(
* uint8 TrcvIdx,
* EthTrcv_PhyTestModeType Mode)
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] :0x11
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (in) : Mode. Test mode to be activated. Refer to the \ref EthTrcv_PhyTestModeType.
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Activates a given test mode
*
* Service name : EthTrcv_SetPhyLoopbackMode
* Syntax : Std_ReturnType EthTrcv_SetPhyLoopbackMode(
* uint8 TrcvIdx,
* EthTrcv_PhyLoopbackModeType Mode
* )
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] :0x12
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (in) : Mode. Refer to the \ref EthTrcv_PhyLoopbackModeType.
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Activates a given loopback mode.
*
* Service name : EthTrcv_GetPhySignalQuality
* Syntax : Std_ReturnType EthTrcv_GetPhySignalQuality(
* uint8 TrcvIdx,
* uint32* SignalQualityPtr
* )
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] :0x12
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (Out) : SignalQualityPtr Pointer to the memory where the signal
* quality shall be stored.
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the current signal quality of the link of the indexed transceiver.
*
* Service name : EthTrcv_SetPhyTxMode
* Syntax : Std_ReturnType EthTrcv_SetPhyTxMode(
* uint8 TrcvIdx,
* EthTrcv_PhyTxModeType Mode
* )
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] :0x13
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (in) : Mode Transmission mode to be activated. Refer to \ref EthTrcv_PhyTxModeType
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Activates a given transmission mode.
*
* Service name : EthTrcv_GetCableDiagnosticsResult
* Syntax : Std_ReturnType EthTrcv_GetCableDiagnosticsResult(
* uint8 TrcvIdx,
* EthTrcv_CableDiagResultType* ResultPtr
* )
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] :0x14
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (out) : ResultPtr. Transmission mode to be activated. Refer to \ref
* EthTrcv_CableDiagResultType
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Retrieves the cable diagnostics result of a given transceiver..
*
* Service name : EthTrcv_GetPhyIdentifier
* Syntax : Std_ReturnType EthTrcv_GetPhyIdentifier(
* uint8 TrcvIdx,
* uint32* OrgUniqueIdPtr,
* uint8* ModelNrPtr,
* uint8* RevisionNrPtr
* )
*
* Mode : Supervisor Mode (Privileged Mode)
* Service ID[hex] : 0x15
* Sync/Async : Synchronous
* Reentrancy : Reentrant for different TrcvIdx. Non reentrant for the same TrcvIdx
* Parameters (in) : TrcvIdx. Index of the transceiver within the context
* of the Ethernet Transceiver Driver
* Parameters (in) : OrgUniqueIdPtr Pointer to the memory where the Organizationally Unique
* Identifier shall be stored.
* Parameters (in) : ModelNrPtr Pointer to the memory where the Manufacturer's Model
* Number shall be stored.
* Parameters (in) : RevisionNrPtr Pointer to the memory where the Revision Number
* shall be stored.
* Return value : Std_ReturnType
* E_OK: success
* E_NOT_OK: transceiver could not be initialized
* Description : Obtains the PHY identifier of the Ethernet Transceiver according to
* IEEE 802.3-2015 chapter 22.2.4.3.1 PHY Identifer..
*