Specification of Ethernet Interface

Add to My manuals
77 Pages

advertisement

Specification of Ethernet Interface | Manualzz

Specification of Ethernet Interface

AUTOSAR Release 4.2.2

the grandmaster in relation to the frequency of the Local Clock with: ratio = OriginTimeStampDelta / IngressTimeStampDelta

Parameters

(inout):

None

Parameters (out):

None

Return value:

None

Description:

Allows the Time Slave to adjust the local ETH Reference clock in HW.

⌋()

[SWS_EthIf_00179]

If default error detection is enabled: the function shall check that the service EthIf_Init was previously called. If the check fails, the function shall raise the default error

ETHIF_E_NOT_INITIALIZED.

⌋()

[SWS_EthIf_00180]

If default error detection is enabled: the function shall check the parameter CtrlIdx for being valid. If the check fails, the function shall raise the default error

ETHIF_E_INV_CTRL_IDX.

⌋()

[SWS_EthIf_00181]

If default error detection is enabled: the function shall check the parameter timeOffsetPtr and timeRatioPtr for being valid. If the check fails, the function shall raise the default error ETHIF_E_PARAM_POINTER.

⌋()

[SWS_EthIf_00182]

The function shall be pre compile time configurable On/Off by the configuration parameter: EthIfGlobalTimeSupport.

⌋()

[SWS_EthIf_00183]

Caveat: The function requires previous initialization (EthIf_Init).

⌋()

8.3.23 EthIf_SetGlobalTime

[SWS_EthIf_00184]

Service name:

Syntax:

EthIf_SetGlobalTime

Std_ReturnType

) const

EthIf_SetGlobalTime( uint8

Eth_TimeStampType*

CtrlIdx, timeStampPtr

Service ID[hex]:

0x27

Sync/Async:

Reentrancy:

Synchronous

Non Reentrant

Parameters (in):

Parameters

(inout):

CtrlIdx timeStampPtr

None

Index of the addresses ETH controller. new time stamp

Parameters (out):

None

Return value:

Description:

Std_ReturnType E_OK:

E_NOT_OK: failed successful

Allows the Time Master to adjust the global ETH Reference clock in HW.

We can use this method to set a global time base on ETH in general or to synchronize the global ETH time base with another time base, e.g. FlexRay.

⌋()

46 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface

- AUTOSAR confidential -

advertisement

Related manuals

Download PDF

advertisement

Table of contents