DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: std Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_STD_SECTION_9_5_Transmit_confirmation_with_buffering

Quelle: SWS_CANInterface.pdf (Seite 157) • Ziel-Anforderung: SWS_Std_00005

Wortlaut

9.5 Transmit confirmation (with buffering) «module» CanIf «Peripheral» CanController «module» Can alt Transmit Buffering [Buffer is filled] [Buffer is empty] «module» LSduR Remove L-PDU successfully requested for transmission from transmit buffer() Can_Write() Write L-PDU into CAN Hardware() Can_Write(Std_ReturnType, Can_HwHandleType, const Can_PduType*) Transmit Confirmation Interrupt() Write L-PDU into CAN Hardware() CanIf_TxConfirmation() LSduR_CanIfTxConfirmation(PduIdType, Std_ReturnType) CanIf_TxConfirmation(PduIdType) check transmit buffers for other pending L-PDU() Transmit Confirmation Interrupt() Figure 9.5: Transmit confirmation with buffering Activity Description Transmit interrupt Acknowledged CAN frame signals successful transmission to receiving CAN Controller and triggers transmit interrupt. Confirmation to CanIf CanDrv calls service CanIf_TxConfirmation(). Parameter CanTxPduId specifies the L-PDU previously transmitted by Can_Write(). CanDrv must store the all in HTHs pending L-PDU Ids in an array organized per HTH to avoid new search of the L-PDU ID for call of CanIf_TxConfirmation(). Check of transmit buffers The transmit buffers of CanIf checked, whether a pending L-PDU is stored or not. Transmit request passed to CanDrv In case of pending L-PDUs in the transmit buffers the highest priority order the latest L-PDU is requested for transmission by Can_Write(). It signals a successful L-PDU transmission to the upper layer. Thus Can_Write() can be called re-entrant. Remove transmitted L-PDU from transmit buffers The L-PDU pending for transmission is removed from the transmission buffers by CanIf. Confirmation to the upper layer Calling of the corresponding upper layer confirmation service LSduR_CanIfTxConfirmation(id, E_OK). It signals a successful L-SDU transmission to the upper layer.

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_CANInterface.pdf
Dokumentseite Seite 157
Ziel-Modul std (classic)
Ziel-Anforderung SWS_Std_00005
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95