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

Sync/Async:

Reentrancy:

Parameters (in):

Synchronous

Non Reentrant

CtrlIdx Index of the addresses ETH controller.

DataPtr Pointer to the message buffer, where Application expects ingress time stamping

None

Parameters

(inout):

Parameters (out):

timeQualPtr quality of HW time stamp, e.g. based on current drift timeStampPtr current time stamp

None

Return value:

Description:

Reads back the ingress time stamp on a dedicated message object.

It must be called within the RxIndication() function.

⌋()

[SWS_EthIf_00173]

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_00174]

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_00175]

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

⌋()

[SWS_EthIf_00176]

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

⌋()

[SWS_EthIf_00177]

Caveat: The function requires previous initialization (EthIf_Init).

⌋()

8.3.22 EthIf_SetCorrectionTime

[SWS_EthIf_00178]

Service name:

Syntax:

EthIf_SetCorrectionTime void

) const const

EthIf_SetCorrectionTime( uint8

Eth_TimeIntDiffType*

CtrlIdx, timeOffsetPtr,

Eth_RateRatioType* rateRatioPtr

Service ID[hex]:

0x26

Sync/Async:

Synchronous

Reentrancy:

Non Reentrant

CtrlIdx Index of the addresses ETH controller.

Parameters (in):

timeOffsetPtr offset between time stamp grandmaster and time stamp by local clock:

(OriginTimeStampSync[FUP]

– IngressTimeStampSync) + Pdelay rateRatioPtr time elements to calculate and to modify the ratio of the frequency of

45 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface

- AUTOSAR confidential -

advertisement

Related manuals

Download PDF

advertisement

Table of contents