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

) uint8 uint8

Eth_TimeStampQualType*

Eth_TimeStampType*

CtrlIdx,

BufIdx, timeQualPtr, timeStampPtr

Service ID[hex]:

0x24

Sync/Async:

Reentrancy:

Synchronous

Non Reentrant

Parameters (in):

CtrlIdx

BufIdx

Index of the addresses ETH controller.

Index of the message buffer, where Application expects egress time stamping

Parameters

(inout):

None

Parameters (out):

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

Return value:

None

Description:

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

It must be called within the TxConfirmation() function.

⌋()

[SWS_EthIf_00167]

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

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

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

⌋()

[SWS_EthIf_00170]

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

⌋()

[SWS_EthIf_00171]

Caveat: The function requires previous initialization (EthIf_Init).

⌋()

8.3.21 EthIf_GetIngressTimeStamp

[SWS_EthIf_00172]

Service name:

Syntax:

EthIf_GetIngressTimeStamp void uint8

Eth_DataType*

EthIf_GetIngressTimeStamp(

CtrlIdx,

DataPtr,

)

Eth_TimeStampQualType*

Eth_TimeStampType* timeQualPtr, timeStampPtr

Service ID[hex]:

0x25

44 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface

- AUTOSAR confidential -

advertisement

Related manuals

Download PDF

advertisement

Table of contents