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

[SWS_EthIf_00080]

If default error detection is enabled: the function shall check the parameter

PhysAddrPtr for being valid. If the check fails, the function shall raise the default error

ETHIF_E_PARAM_POINTER otherwise (if DET is disabled) return E_NOT_OK.

⌋()

[SWS_EthIf_00081]

Caveat: The function requires previous buffer request (EthIf_ProvideTxBuffer).

⌋()

8.3.26 EthIf_GetVersionInfo

[SWS_EthIf_00082]

Service name:

Syntax:

EthIf_GetVersionInfo void

)

Std_VersionInfoType*

EthIf_GetVersionInfo(

VersionInfoPtr

Service ID[hex]:

0x0b

Sync/Async:

Synchronous

Reentrancy:

Reentrant

Parameters (in):

None

Parameters

(inout):

None

Parameters (out):

VersionInfoPtr Version information of this module

Return value:

None

Description:

Returns the version information of this module

⌋()

[SWS_EthIf_00127]

If default error detection is enabled: the function shall check the parameter

VersionInfoPtr for being valid. If the check fails, the function shall raise the default error ETHIF_E_PARAM_POINTER.

⌋()

8.4 Callback notifications

This is a list of functions provided for other modules. File EthIf_Cbk.h shall provide the function prototypes of the callback functions.

8.4.1 EthIf_RxIndication

[SWS_EthIf_00085]

Service name:

Syntax:

EthIf_RxIndication void

) const uint8

Eth_FrameType boolean uint8*

Eth_DataType* uint16

EthIf_RxIndication(

CtrlIdx,

FrameType,

IsBroadcast,

PhysAddrPtr,

DataPtr,

LenByte

Service ID[hex]:

0x10

Sync/Async:

Synchronous

Reentrancy:

Non Reentrant

Parameters (in):

CtrlIdx Index of the Ethernet controller within the context of the Ethernet

50 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface

- AUTOSAR confidential -

advertisement

Related manuals

Download PDF

advertisement

Table of contents