advertisement
Specification of Ethernet Interface
AUTOSAR Release 4.2.2
10.1.1 Variants
VARIANT-POST-
BUILD: All configuration parameters in container ‘EthGeneral’ shall be configurable at pre-compile time.
Use case: Object code delivery, selectable configuration
VARIANT-LINK-TIME
: All configuration parameters in container ‘EthGeneral’ shall be configurable at pre-compile time.
Use case: Object code delivery, single configuration
VARIANT-PRE-COMPILE: All configuration parameters shall be configurable at precompile time.
Use case: Execution time optimizations, fix configuration
10.1.2 EthIf
Module Name
Module Description
EthIf
Configuration of the EthIf (Ethernet Interface) module.
Post-Build Variant Support
true
Included Containers
Container Name
EthIfConfigSet
EthIfGeneral
Multiplicity Scope / Dependency
1
Collecting container for all parameters with post-build configuration classes.
1
This container contains the general configuration parameters of the Ethernet Interface.
10.1.3 EthIfGeneral
SWS Item
Container Name
Description
ECUC_EthIf_00001 :
EthIfGeneral
This container contains the general configuration parameters of the
Ethernet Interface.
Configuration Parameters
SWS Item
Name
Description
ECUC_EthIf_00004 :
EthIfDevErrorDetect
Switches the Default Error Tracer (Det) detection and notification ON or
OFF.
true: enabled (ON).
false: disabled (OFF).
Multiplicity
Type
Default value
1
EcucBooleanParamDef
--
Post-Build Variant Value
false
66 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface
- AUTOSAR confidential -
Specification of Ethernet Interface
AUTOSAR Release 4.2.2
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
Description
X All Variants
--
--
ECUC_EthIf_00005 :
EthIfEnableRxInterrupt
Enables / Disables receive interrupt.
Multiplicity
Type
Scope / Dependency
1
EcucBooleanParamDef
Default value
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
X All Variants
--
--
SWS Item
Name
Description
Multiplicity
Type
ECUC_EthIf_00006 :
EthIfEnableTxInterrupt
Enables / Disables the transmit interrupt.
1
EcucBooleanParamDef
Default value
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00034 :
EthIfGetBaudRate
X All Variants
--
--
Enables / Disables GetBaudRate API.
1
Type
Default value
EcucBooleanParamDef
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00035 :
EthIfGetCounterState
X All Variants
--
--
Enables / Disables GetCounterState API.
1
Type
Default value
EcucBooleanParamDef
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
ECUC_EthIf_00041 :
X All Variants
--
--
EthIfGetTransceiverWakeupModeApi
67 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface
- AUTOSAR confidential -
Specification of Ethernet Interface
AUTOSAR Release 4.2.2
Description
Multiplicity
Enables / Disables EthIf_GetTransceiverWakeupMode API
0..1
Type
EcucBooleanParamDef
Default value
Post-Build
false
Variant
false
Multiplicity
Post-Build Variant Value
false
Multiplicity Configuration Pre-compile time
Class
Link time
Post-build time
Value Configuration Class Pre-compile time
Scope / Dependency
Link time
X All Variants
--
--
X All Variants
--
Post-build time
-- scope: dependency: Only valid if EthIfWakeUpSupport is TRUE local
SWS Item
Name
Description
ECUC_EthIf_00039 :
EthIfGlobalTimeSupport
Multiplicity
Type
Scope / Dependency
Enables/Disables the Global Time APIs used amongst others by Global
Time Synchronization over Ethernet.
1
EcucBooleanParamDef
Default value
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
X All Variants
--
--
SWS Item
Name
Description
ECUC_EthIf_00023 :
EthIfMainFunctionPeriod
Multiplicity
Type
Specifies the period of main function EthIf_MainFunctionRx and
EthIf_MainFunctionTx in seconds. Ethernet Interface does not require this information but the BSW scheduler.
1
Range
Default value
EcucFloatParamDef
0 .. INF
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Scope / Dependency
Link time
Post-build time
scope: local
SWS Item
Name
Description
Multiplicity
Type
Range
Default value
X All Variants
--
--
ECUC_EthIf_00031 : (Obsolete)
EthIfMainFunctionRxTimeout
This parameter is deprecated and will be removed in future.
Old description: Timeout in seconds after which the EthIf stops to receive frames in an EthIfMainFunctionRx period.
Tags:
atp.Status=obsolete atp.StatusRevisionBegin=4.2.2
0..1
EcucFloatParamDef
0 .. INF
--
68 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface
- AUTOSAR confidential -
Specification of Ethernet Interface
AUTOSAR Release 4.2.2
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00003 :
EthIfMaxTrcvsTotal
X All Variants
--
--
Limits the total number of transceivers.
1
Type
Range
Default value
EcucIntegerParamDef
1 .. 255
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
Scope / Dependency
SWS Item
Name
Description
ECUC_EthIf_00024 :
EthIfPublicCddHeaderFile
X All Variants
--
--
Defines header files for callback functions which shall be included in case of CDDs. Range of characters is 1.. 32.
Multiplicity
Type
Default value maxLength minLength
0..*
EcucStringParamDef
--
32
1
regularExpression
Post-Build
--
Variant
false
Multiplicity
Post-Build Variant Value
false
Multiplicity Configuration Pre-compile time
Class
Link time
Post-build time
X All Variants
--
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: ECU
Scope / Dependency
SWS Item
Name
Description
ECUC_EthIf_00030 :
EthIfRxIndicationIterations
--
X All Variants
--
--
Maximum number of Ethernet frames per Ethernet controller polled from the Ethernet driver within EthIf_MainFunctionRx.
0..1
Multiplicity
Type
Range
EcucIntegerParamDef
0 .. 65535
Default value
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
X All Variants
--
--
Scope / Dependency
SWS Item
Name
ECUC_EthIf_00033 :
EthIfStartAutoNegotiation
69 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface
- AUTOSAR confidential -
Specification of Ethernet Interface
AUTOSAR Release 4.2.2
Description
Multiplicity
Enables / Disables StartAutoNegotiation API.
1
Type
EcucBooleanParamDef
Default value
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Scope / Dependency
Link time
Post-build time
scope: local
X All Variants
--
--
SWS Item
Name
Description
ECUC_EthIf_00009 :
EthIfTrcvLinkStateChgMainReload
Specifies the frequency of transceiver link state change checks in each period of main function EthIf_MainFunctionTx.
1
Multiplicity
Type
Range
Default value
EcucIntegerParamDef
1 .. 255
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Scope / Dependency
Link time
Post-build time
scope: local
X All Variants
--
--
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00007 :
EthIfVersionInfoApi
Enables / Disables version info API
1
Type
Default value
EcucBooleanParamDef
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
X All Variants
--
--
Scope / Dependency
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00008 :
EthIfVersionInfoApiMacro
Enables / Disables version info API macro implementation.
1
Type
Default value
EcucBooleanParamDef
--
Post-Build Variant Value
false
Value Configuration Class Pre-compile time
Link time
Post-build time
scope: local
X All Variants
--
--
Scope / Dependency
SWS Item
Name
Description
Multiplicity
ECUC_EthIf_00040 :
EthIfWakeUpSupport
Configures if wakeup is supported or not.
1
Type
Default value
EcucBooleanParamDef false
Post-Build Variant Value
false
70 of 77 Document ID 417: AUTOSAR_SWS_EthernetInterface
- AUTOSAR confidential -
advertisement
Related manuals
advertisement
Table of contents
- 2 AUTOSAR Release
- 8 Introduction and functional overview
- 10 Acronyms and abbreviations
- 11 Related documentation
- 11 Input documents
- 12 Related standards and norms
- 12 Related specification
- 13 Constraints and assumptions
- 13 Limitations
- 13 Applicability to car domains
- 14 Dependencies to other modules
- 14 File structure
- 14 Header file structure
- 16 Requirements traceability
- 22 Functional specification
- 22 Ethernet BSW stack
- 22 Indexing scheme for Ethernet controller
- 23 Indexing scheme for Ethernet switches
- 24 Ethernet Interface main function
- 24 Requirements
- 24 Configuration description
- 25 VLAN support
- 26 Wake up support
- 26 Error classification
- 26 Default Errors
- 26 Runtime Errors
- 26 Transient Faults
- 26 Production Errors
- 26 Extended Production Errors
- 27 API specification
- 27 Imported types
- 27 Type definitions
- 27 EthIf_ConfigType
- 28 EthIf_StateType
- 28 Function definitions
- 28 EthIf_Init
- 29 EthIf_SetControllerMode
- 29 EthIf_GetControllerMode
- 30 EthIf_SetTransceiverMode
- 31 EthIf_GetTransceiverMode
- 32 EthIf_ SetTransceiverWakeupMode
- 33 EthIf_ GetTransceiverWakeupMode
- 2 AUTOSAR Release
- 34 EthIf_ CheckWakeup
- 34 EthIf_GetPhysAddr
- 35 EthIf_SetPhysAddr
- 36 EthIf_UpdatePhysAddrFilter
- 37 EthIf_GetPortMacAddr
- 38 EthIf_GetArlTable
- 39 EthIf_GetBufferLevel
- 40 EthIf_GetDropCount
- 40 EthIf_StoreConfiguration
- 41 EthIf_ResetConfiguration
- 42 EthIf_GetCurrentTime
- 43 EthIf_EnableEgressTimeStamp
- 43 EthIf_GetEgressTimeStamp
- 44 EthIf_GetIngressTimeStamp
- 45 EthIf_SetCorrectionTime
- 46 EthIf_SetGlobalTime
- 47 EthIf_ProvideTxBuffer
- 49 EthIf_Transmit
- 50 EthIf_GetVersionInfo
- 50 Callback notifications
- 50 EthIf_RxIndication
- 51 EthIf_TxConfirmation
- 52 EthIf_CtrlModeIndication
- 53 EthIf_TrcvModeIndication
- 53 Scheduled functions
- 53 EthIf_MainFunctionRx
- 54 EthIf_MainFunctionTx
- 54 Expected Interfaces
- 54 Mandatory Interfaces
- 55 Optional Interfaces
- 55 Configurable interfaces
- 58 Sequence diagrams
- 58 Initialization
- 59 Communication Initialization
- 60 Data Transmission
- 61 Data Reception
- 62 Link State Change
- 63 Configuration specification
- 63 Containers and configuration parameters
- 66 Variants
- 66 EthIf
- 66 EthIfGeneral
- 71 EthIfConfigSet
- 71 EthIfController
- 73 EthIfFrameOwnerConfig
- 74 EthIfRxIndicationConfig
- 74 EthIfSwitch
- 75 EthIfTrcvLinkStateChgConfig
- 75 EthIfTxConfirmationConfig