导图社区 AUTOAR4.2.2CANTP容器20230712A
AUTOAR4.2.2CANTP容器,Post-Build Variant Support true.
编辑于2023-08-18 16:34:58 安徽CANTp
Post-Build Variant Support true
CanTpConfig
CanTpMainFunctionPeriod
Allow to configure the time for the MainFunction (as float in seconds). The CanTpMainFunctionPeriod should be assigned a value which is optimal regarding all of the timers configured for CanTp in TX and RX data transfer i.e. the differences from the configured timing should be as small as possible. Please note: This period shall be the same as call cycle time of the periodic task were CanTp Main function is called.
EcucFloatParamDef0..0.255)
CanTpMaxChannelCnt(0..1)
Maximum number of channels. This parameter is needed only in case of post-build loadable implementation using static memory allocation.
EcucIntegerParamDef
CanTpChannel(1..*)
CanTpChannelMode
The CAN Transport Layer supports half and full duplex channel modes.
CANTP_MODE_FULL_DUPLEX
CANTP_MODE_HALF_DUPLEX
CanTpRxNSdu(0..*)
The following parameters needs to be configured for each CAN N-SDU that the CanTp module receives via the CanTpChannel.
CanTpBs(0..1)
Sets the number of N-PDUs the CanTp receiver allows the sender to send, before waiting for an authorization to continue transmission of the following N-PDUs.For further details on this parameter value see ISO 15765-2 specification.
EcucIntegerParamDef(0..255)
CanTpNar(0..1)
Value in seconds of the N_Ar timeout. N_Ar is the time for transmission of a CAN frame (any N_PDU) on the receiver side.
EcucFloatParamDef
CanTpNbr(0..1)
Value in seconds of the performance requirement for (N_Br + N_Ar). N_Br is the elapsed time between the receiving indication of a FF or CF or the transmit confirmation of a FC, until the transmit request of the next FC.
EcucFloatParamDef
CanTpNcr(0..1)
Value in seconds of the N_Cr timeout. N_Cr is the time until reception of the next Consecutive Frame N_PDU.
EcucFloatParamDef
CanTpRxAddressingFormat
Declares which communication addressing mode is supported for this RxNSdu. Definition of Enumeration values: CanTpStandard to use normal addressing format. CanTpExtended to use extended addressing format. CanTpMixed to use mixed 11 bit addressing format. CanTpNormalFixed to use normal fixed addressing format. CanTpMixed29Bit to use mixed 29 bit addressing format.
CANTP_EXTENDED Extended addressing format
CANTP_MIXED Mixed 11 bit addressing format
CANTP_MIXED29BIT Mixed 29 bit addressing format
CANTP_NORMALFIXED Normal fixed addressing format
CANTP_STANDARD Normal addressing format
CanTpRxNSduId
Unique identifier user by the upper layer to call CanTp_CancelReceive, CanTp_ChangeParameter and CanTp_ReadParameter.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpRxPaddingActivation
Defines if the receive frame uses padding or not. This parameter is restricted to 8 byte N-PDUs. Definition of enumeration values: CanTpOn: The N-PDU received uses padding for SF, FC and the last CF. (N-PDU length is always ≥ 8 bytes in case of CAN 2.0) CanTpOff: The N-PDU received does not use padding for SF, CF and the last CF. (N-PDU length is dynamic - any valid DLC value). Note: The mandatory mapping to the next higher valid DLC value for N-PDUs with a length > 8 bytes is not affected by this parameter.
CANTP_OFF
CANTP_ON
CanTpRxTaType
Declares the communication type of this Rx N-SDU.
CANTP_CANFD_FUNCTIONAL Functional request type
CANTP_CANFD_PHYSICAL Physical request type
CANTP_FUNCTIONAL Functional request type
CANTP_PHYSICAL Physical request type
CanTpRxWftMax(0..1)
This parameter indicates how many Flow Control wait N-PDUs can be consecutively transmitted by the receiver. It is local to the node and is not transmitted inside the FC protocol data unit. CanTpRxWftMax is used to avoid sender nodes being potentially hookedup in case of a temporarily reception inability on the part of the receiver nodes, whereby the sender could be waiting continuously.
EcucIntegerParamDef(0..65535)
CanTpSTmin(0..1)
Sets the duration of the minimum time the CanTp sender shall wait between the transmissions of two CF N-PDUs. For further details on this parameter value see ISO 15765-2 specification
EcucFloatParamDef
CanTpRxNSduRef
Reference to a Pdu in the COM-Stack
Reference to [ Pdu ] (CANTP2PDUR)
CanTpNAe(0..1)
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_MIXED or CANTP_MIXED29BIT.
CanTpNAe
This parameter contains the transport protocol address extension value.
EcucIntegerParamDef(0 .. 255)
CanTpNSa(0..1)
This container is required for each RxNSdu and TxNSdu with RxTaType CANTP_PHYSICAL and CanTpAddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT.
CanTpNSa
This parameter contains the transport protocol source address value.
EcucIntegerParamDef(0 .. 255)
CanTpNTa(0..1)
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT.
CanTpNTa
This parameter contains the transport protocol target address value.
EcucIntegerParamDef(0 .. 255)
CanTpRxNPdu
Used for grouping of the ID of a PDU and the Reference to a PDU.
CanTpRxNPduId
The N-PDU identifier attached to the RxNsdu is identified by CanTpRxNSduId. Each RxNsdu identifier is linked to only one SF/FF/CF N-PDU identifier. Nevertheless, in the case of extended or mixed addressing format, the same N-PDU identifier can be used for several N-SDU identifiers. The distinction is made by the N_TA or N_AE value (first data byte of SF or FF frames).
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpRxNPduRef
Reference to a Pdu in the COM-Stack.
Reference to [ Pdu ] (CANIF2CANTP)
CanTpTxFcNPdu(0..1)
Used for grouping of the ID of a PDU and the Reference to a PDU.
CanTpTxFcNPduConfirmationPduId
Handle Id to be used by the CanIf to confirm the transmission of the CanTpTxFcNPdu to the CanIf module.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpTxFcNPduRef
Reference to a Pdu in the COM-Stack.
Reference to [ Pdu ]
CanTpTxNSdu(0..*)
The following parameters needs to be configured for each CAN N-SDU that the CanTp module transmits via the CanTpChannel.
CanTpNas
Value in second of the N_As timeout. N_As is the time for transmission of a CAN frame (any N_PDU) on the part of the sender.
EcucFloatParamDef
CanTpNbs(0..1)
Value in seconds of the N_Bs timeout. N_Bs is the time of transmission until reception of the next Flow Control N_PDU
EcucFloatParamDef
CanTpNcs(0..1)
Value in seconds of the performance requirement of (N_Cs + N_As). N_Cs is the time which elapses between the transmit request of a CF N-PDU until the transmit request of the next CF N-PDU
EcucFloatParamDef
CanTpTc
Switch for enabling Transmit Cancellation and Receive Cancellation.
EcucBooleanParamDef
CanTpTxAddressingFormat
Declares which communication addressing mode is supported for this RxNSdu. Definition of Enumeration values: CanTpStandard to use normal addressing format. CanTpExtended to use extended addressing format. CanTpMixed to use mixed 11 bit addressing format. CanTpNormalFixed to use normal fixed addressing format. CanTpMixed29Bit to use mixed 29 bit addressing format.
CANTP_EXTENDED Extended addressing format
CANTP_MIXED Mixed 11 bit addressing format
CANTP_MIXED29BIT Mixed 29 bit addressing format
CANTP_NORMALFIXED Normal fixed addressing format
CANTP_STANDARD Normal addressing format
CanTpTxNSduId
Unique identifier to a structure that contains all useful information to process the transmission of a TxNsdu.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpRxPaddingActivation
Defines if the receive frame uses padding or not. This parameter is restricted to 8 byte N-PDUs. Definition of enumeration values: CanTpOn: The N-PDU received uses padding for SF, FC and the last CF. (N-PDU length is always ≥ 8 bytes in case of CAN 2.0) CanTpOff: The N-PDU received does not use padding for SF, CF and the last CF. (N-PDU length is dynamic - any valid DLC value). Note: The mandatory mapping to the next higher valid DLC value for N-PDUs with a length > 8 bytes is not affected by this parameter.
CANTP_OFF
CANTP_ON
CanTpTxTaType
Declares the communication type of this TxNsdu. Enumeration values: CanTpPhysical. Used for 1:1 communication. CanTpFunctional. Used for 1:n communication.
CANTP_FUNCTIONAL Functional request type
CANTP_PHYSICAL Physical request type
CanTpTxNSduRef
Reference to a Pdu in the COM-Stack
Reference to [ Pdu ]
CanTpNAe(0..1)
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_MIXED or CANTP_MIXED29BIT.
CanTpNAe
This parameter contains the transport protocol address extension value.
EcucIntegerParamDef(0 .. 255)
CanTpNSa(0..1)
This container is required for each RxNSdu and TxNSdu with RxTaType CANTP_PHYSICAL and CanTpAddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT.
CanTpNTa
This parameter contains the transport protocol target address value.
EcucIntegerParamDef(0 .. 255)
CanTpNTa(0..1)
This container is required for each RxNSdu and TxNSdu with AddressingFormat CANTP_EXTENDED. When DynIdSupport is enabled, this container is also required for each RxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT. When DynIdSupport is enabled and GenericConnectionSupport is not enabled, this container is also required for each TxNSdu with AddressingFormat CANTP_NORMALFIXED or CANTP_MIXED29BIT.
CanTpNSa
This parameter contains the transport protocol source address value.
EcucIntegerParamDef(0 .. 255)
CanTpRxFcNPdu(0..1)
Used for grouping of the ID of a PDU and the Reference to a PDU.
CanTpRxFcNPduId
The N-PDU identifier attached to the RxNsdu is identified by CanTpRxNSduId. Each RxNsdu identifier is linked to only one SF/FF/CF N-PDU identifier. Nevertheless, in the case of extended or mixed addressing format, the same N-PDU identifier can be used for several N-SDU identifiers. The distinction is made by the N_TA or N_AE value (first data byte of SF or FF frames).
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpRxFcNPduRef
Reference to a Pdu in the COM-Stack.
Reference to [ Pdu ]
CanTpTxNPdu
Used for grouping of the ID of a PDU and the Reference to a PDU.
CanTpTxNPduConfirmationPduId
Handle Id to be used by the CanIf to confirm the transmission of the CanTpTxNPdu to the CanIf module.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
CanTpTxNPduRef
Reference to [ Pdu ]
CanTpGeneral
CanTpChangeParameterApi
This parameter, if set to true, enables the CanTp_ChangeParameterRequest Api for this Module.
EcucBooleanParamDef
CanTpDevErrorDetect
EcucBooleanParamDef
CanTpDynIdSupport(0..1)
Enable support for dynamic ID handling via N-PDU MetaData.
EcucBooleanParamDef
CanTpFlexibleDataRateSupport(0..1)
Enable support for CAN FD frames.
EcucBooleanParamDef
CanTpGenericConnectionSupport(0..1)
Enable support for the handling of generic connections using N-SDUs with MetaData. Requires CanTpDynIdSupport.
EcucBooleanParamDef
CanTpPaddingByte
Used for the initialization of unused bytes with a certain value
EcucIntegerParamDef(0..255)
CanTpReadParameterApi
This parameter, if set to true, enables the CanTp_ReadParameterApi for this module.
EcucBooleanParamDef
CanTpVersionInfoApi
The function CanTp_GetVersionInfo is configurable (On/Off) by this configuration parameter.
EcucBooleanParamDef