CLASSIC
Modul: canif
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_CANIF_SECTION_7_4_1_Dynamic_Transmit_L_PDUs
Wortlaut
7.4.1 Dynamic Transmit L-PDUs
Definition of dynamic Transmit L-PDUs: L-PDUs which allow reconfiguration of the CanId during runtime (CanIfTxPduType) or where the ID or parts thereof are provided as MetaData of the L-SDU. The Data Length and the pointer to the data buffer are both determined by the upper layer module at call of CanIf_Transmit() and cannot be reconfigured. The function CanIf_SetDynamicTxId() (see [SWS_CANIF_00189]) reconfigures the CanId of a dynamic L-PDU with CanIfTxPduType.
[SWS_CANIF_00188] ⌈CanIf shall process the two most significant bits of the CanId (see [1, Specification of CAN Driver], definition of Can_IdType [SWS_Can_00416]) to determine which type of CanId is used and thus how the dynamic Transmit L-PDU shall be transmitted.⌋
[SWS_CANIF_00673] ⌈The CanIf shall guarantee data consistency of the CanId in case of running function CanIf_SetDynamicTxId(). This service may be interrupted by a pre-emptive call of CanIf_Transmit() affecting the same L-PDU, see [SWS_CANIF_00064].⌋
[SWS_CANIF_00855] ⌈If CanIfTxPduCanIdMask and CanIfTxPduCanId are omitted, the CanId is directly taken from the MetaData.⌋
[SWS_CANIF_00856] ⌈CanIfTxPduCanIdMask shall be ignored when meta data configuration does not contain CAN_ID_32 for this L-SDU.⌋
[SWS_CANIF_00854] ⌈If the MetaDataItem CAN_ID_32, CanIfTxPduCanIdMask and CanIfTxPduCanId are available, CanIfTxPduCanIdMask defines the bits in CanIfTxPduCanId (including information about the CAN ID type and CAN standard encoded in the Can_IdType) that shall appear in the actual CanId, the other bits are taken from the MetaData.⌋ Note: The resulting ID could be calculated in the following way: (CanIfTxPduCanId & CanIfTxPduCanIdMask) | (<dynamic ID parts> & ∼CanIfTxPduCanIdMask)
[SWS_CANIF_00857] ⌈CanIf_Init() (see [SWS_CANIF_00085]) initializes the CanIds of the dynamic Transmit L-PDUs with CanIfTxPduType to the value configured via CanIfTxPduCanId.⌋
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 34 |
| Ziel-Modul | canif (classic) |
| Ziel-Anforderung | SWS_Can_00416 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |