DEENESPTFRRUARHIKOZHNL
AUTOSAR_SWS_EthernetInterface FIG-fb5570e3c85f0471 892 × 703 px 1 Release(s)

Figure 7: Frame Transmission in Polling Mode [SWS_EthIf_00115] In each call of EthIf_MainFunctionTx the component shall call Eth_TxConfirmation for all Ethernet Controller Drivers. Note: The Ethernet Interface expects that each Ethernet Controller Driver issues confirmations for all transmitted frames using the call-back function EthIf_TxConfirmation. [SWS_EthIf_00125] EthIf_ TxConfirmation shall forward the confirmation to the registered call-back functions <User>_TxConfirmation.

SHA-256 Inhalts-Fingerabdruck: fb5570e3c85f04716d3b3fa106e140dc87ca036f13120549460d2a3537a22a18
✦ KI-generierte Bildanalyse & technische Beschreibung Modell: gemini-3.8-flash (via agy) · Rezept figure-series@1 · erstellt am 2026-10-08

1. Diagrammtyp & Architektur-Kontext

UML-Sequenzdiagramm zur Darstellung des synchronen Sendeablaufs sowie der asynchronen Sendebestätigung im Polling-Betrieb innerhalb des AUTOSAR Classic Platform Ethernet-Stacks (Schichtenarchitektur zwischen Upper Layer, Ethernet Interface und Ethernet Driver).

2. Komponenten, Entitäten & Schnittstellen

Beteiligte Komponenten (Lifelines):

  • UL: Upper Layer
  • :EthIf: AUTOSAR Ethernet Interface («module»)
  • :Eth: AUTOSAR Ethernet Driver («module»)

Schnittstellen und Funktionsaufrufe:

  • ProvideTxBuffer(BufReq_ReturnType, uint8, Eth_FrameType, uint8, Eth_BufIdxType**, uint8***, uint16**) (UL -> EthIf)
  • Eth_ProvideTxBuffer(BufReq_ReturnType, uint8, uint8, Eth_BufIdxType**, uint8***, uint16**) (EthIf -> Eth)
  • EthIf_Transmit(Std_ReturnType, uint8, Eth_BufIdxType, Eth_FrameType, boolean, uint16, const uint8*) (UL -> EthIf)
  • Transmit(Std_ReturnType, uint8, Eth_BufIdxType, Eth_FrameType , boolean, uint16, const uint8*) (EthIf -> Eth)
  • EthIf_MainFunctionTx() (zyklische Entität / Eigenaufruf von EthIf)
  • TxConfirmation(void, uint8) (EthIf -> Eth)
  • EthIf_TxConfirmation(uint8, Eth_BufIdxType, Std_ReturnType) (Eth -> EthIf Callback)
  • UL_TxConfirmation(CtrlIdx, Bufidx) (EthIf -> UL Callback)

3. Dynamisches Verhalten & Sequenzablauf

  1. Pufferanforderung: Die Upper Layer (UL) ruft synchron ProvideTxBuffer an :EthIf auf. Das :EthIf delegiert die Pufferallokation via Eth_ProvideTxBuffer an den Treiber :Eth. Die Antworten werden synchron über die Schichten zurückgereicht.
  2. Sendeanforderung: UL initiiert die Übertragung über EthIf_Transmit. :EthIf ruft daraufhin synchron Transmit auf :Eth auf; beide Rückgabewerte kehren synchron zum jeweiligen Aufrufer zurück.
  3. Polling und Bestätigung: Im zyklischen Taskkontext führt :EthIf EthIf_MainFunctionTx() aus. Darin triggert :EthIf aktiv das Polling über TxConfirmation(void, uint8) an :Eth.
  4. Der Treiber bestätigt den Versand über den Rückruf EthIf_TxConfirmation an :EthIf.
  5. :EthIf leitet die Bestätigung mittels UL_TxConfirmation(CtrlIdx, Bufidx) an die obere Schicht (UL) weiter.
  6. Schließlich kehrt der Kontrollfluss zum Polling-Aufruf und der EthIf_MainFunctionTx() zurück.

4. Normative Relevanz & Entwickler-Hinweise

Das Diagramm illustriert [SWS_EthIf_00115] und [SWS_EthIf_00125]. Es legt fest, dass im Polling-Modus die Übertragungsbestätigung treiberseitig nicht interruptgetrieben, sondern durch expliziten Polling-Aufruf aus EthIf_MainFunctionTx ausgelöst wird. Treiber müssen Bestätigungen über EthIf_TxConfirmation melden, welche von EthIf an die registrierten Callbacks der oberen Schicht (<User>_TxConfirmation) weitergeleitet werden müssen.

Versionsvergleich KI-generiert · gemini-3.8-flash (via agy)

R19-11 → R20-11 normative Änderung Vorgänger: FIG-5941c70928c07c07
  • Signatur von ProvideTxBuffer (UL -> EthIf): Zeiger-Ebenen der Ausgabeparameter von einfach (Eth_BufIdxType*, uint8**, uint16*) auf doppelt (Eth_BufIdxType**, uint8***, uint16**) geändert.
  • Signatur von Eth_ProvideTxBuffer (EthIf -> Eth): Zeiger-Ebenen der Ausgabeparameter von einfach (Eth_BufIdxType*, uint8**, uint16*) auf doppelt (Eth_BufIdxType**, uint8***, uint16**) geändert.
R20-11 → R21-11 normative Änderung Nachfolger: FIG-cb44ac0ad00b8aac
  • Aufruf ProvideTxBuffer (UL -> EthIf) umbenannt zu EthIf_ProvideTxBuffer.
  • Aufruf Transmit (EthIf -> Eth) umbenannt bzw. spezifiziert zu Eth_Transmit.
  • Polling-Aufruf TxConfirmation (EthIf -> Eth) umbenannt bzw. spezifiziert zu Eth_TxConfirmation.

Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Erkannte Spezifikationsbelege & Anforderungen auf dieser Seite

Aus dem Dokument extrahierter Text & Kontext

Beschriftungen im Schaubild:

UL «module» | :EthIf | «module» | :Eth | Transmit(Std_ReturnType, uint8, Eth_BufIdxType, Eth_FrameType , boolean, uint16, const uint8*) | Eth_ProvideTxBuffer(BufReq_ReturnType, uint8, uint8, Eth_BufIdxType**, uint8***, uint16**) | EthIf_MainFunctionTx() | EthIf_Transmit(Std_ReturnType, uint8, Eth_BufIdxType, Eth_FrameType, boolean, uint16, const uint8*) | TxConfirmation(void, uint8) | EthIf_TxConfirmation(uint8, Eth_BufIdxType, Std_ReturnType) | ProvideTxBuffer(BufReq_ReturnType, uint8, Eth_FrameType, uint8, Eth_BufIdxType**, uint8***, uint16**) | UL_TxConfirmation(CtrlIdx, Bufidx)

Vorkommen in AUTOSAR-Releases (1)

Release Dokument Seite Nr. Bildunterschrift im Dokument
R20-11 AUTOSAR_SWS_EthernetInterface S. 136 7 Figure 7: Frame Transmission in Polling Mode [SWS_EthIf_00115] In each call of EthIf_MainFunctionTx the component shall call Eth_TxConfirmation for all Ethernet Controller Drivers. Note: The Ethernet Interface expects that each Ethernet Controller Driver issues confirmations for all transmitted frames using the call-back function EthIf_TxConfirmation. [SWS_EthIf_00125] EthIf_ TxConfirmation shall forward the confirmation to the registered call-back functions <User>_TxConfirmation.