CLASSIC
Modul: canif
Rolle: heuristic
Konfidenz: 85%
SNIP_CLASSIC_CANIF_FIGURE_Figure_9_5_CANINTERFACE
Wortlaut
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
CanDrv stores pending L-PDU IDs per HTH
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_CANInterface.pdf |
|---|---|
| Dokumentseite | Seite 157 |
| Ziel-Modul | canif (classic) |
| Ziel-Anforderung | SWS_Can_00276 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.85 |