Version 7 (modified by 4 years ago) ( diff ) | ,
---|
CAN Transport Layer
概要
- API一覧
API ID
[Dec]ID
[Hex]R4.0.3 CanTp_Init 1 0x01 ○ CanTp_GetVersionInfo 7 0x07 ○ CanTp_Shutdown 2 0x02 ○ CanTp_Transmit 3 0x03 ○ CanTp_CancelTransmit 8 0x08 ○ CanTp_CancelReceive 9 0x09 ○ CanTp_ChangeParameter 10 0x0A ○ CanTp_ReadParameter 11 0x0B ○ CanTp_MainFunction 6 0x06 ○ CanTp_RxIndication 66 0x42 ○ CanTp_TxConfirmation 64 0x40 ○
- コンフィギュレーション一覧(R4.0.3)
- CanTpConfig (○)
- CanTpMainFunctionPeriod (○)
- CanTpChannel (○)
- CanTpChannelMode (○)
- CanTpRxNSdu (○)
- CanTpBs (○)
- CanTpNar (○)
- CanTpNbr (○)
- CanTpNcr (○)
- CanTpRxAddressingFormat (○)
- CanTpRxDl (○)
- CanTpRxNSduId (○)
- CanTpRxPaddingActivation (○)
- CanTpRxTaType (○)
- CanTpRxWftMax (○)
- CanTpSTmin (○)
- CanTpRxNSduRef (○)
- CanTpNAe (○)
- CanTpNAe (○)
- CanTpNSa (○)
- CanTpNSa (○)
- CanTpNTa (○)
- CanTpNTa (○)
- CanTpRxNPdu (○)
- CanTpRxNPduId (○)
- CanTpRxNPduRef (○)
- CanTpTxFcNPdu (○)
- CanTpTxNSdu (○)
- CanTpNas (○)
- CanTpNbs (○)
- CanTpNcs (○)
- CanTpTc (○)
- CanTpTxAddressingFormat (○)
- CanTpTxDl (○)
- CanTpTxNSduId (○)
- CanTpTxPaddingActivation (○)
- CanTpTxTaType (○)
- CanTpTxNSduRef (○)
- CanTpNAe (○)
- CanTpNAe (○)
- CanTpNSa (○)
- CanTpNSa (○)
- CanTpNTa (○)
- CanTpNTa (○)
- CanTpRxFcNPdu (○)
- CanTpRxFcNPduId (○)
- CanTpRxFcNPduRef (○)
- CanTpTxNPdu (○)
- CanTpGeneral (○)
- CanTpConfig (○)
- エラーコード一覧
エラーコード Dec Hex R4.0.3 CANTP_E_PARAM_CONFIG 1 0x01 ○ CANTP_E_PARAM_ID 2 0x02 ○ CANTP_E_PARAM_POINTER 3 0x03 ○ CANTP_E_UNINIT 32 0x20 ○ CANTP_E_INVALID_TX_ID 48 0x30 ○ CANTP_E_INVALID_RX_ID 64 0x40 ○ CANTP_E_INVALID_TX_BUFFER 80 0x50 ○ CANTP_E_INVALID_RX_BUFFER 96 0x60 ○ CANTP_E_INVALID_TX_LENGTH 112 0x70 ○ CANTP_E_INVALID_RX_LENGTH 128 0x80 ○ CANTP_E_INVALID_TATYPE 144 0x90 ○ CANTP_E_OPER_NOT_SUPPORTED 160 0xA0 ○ CANTP_E_COM 176 0xB0 ○ CANTP_E_RX_COM 192 0xC0 ○ CANTP_E_TX_COM 208 0xD0 ○
API仕様
CanTp_Init
void CanTp_Init(const CanTp_ConfigType* CfgPtr)
CanTp_GetVersionInfo
void CanTp_GetVersionInfo(Std_VersionInfoType* versioninfo)
CanTp_Shutdown
void CanTp_Shutdown(void)
CanTp_Transmit
Std_ReturnType CanTp_Transmit(PduIdType CanTpTxSduId, const PduInfoType* CanTpTxInfoPtr)
CanTp_CancelTransmit
Std_ReturnType CanTp_CancelTransmit(PduIdType CanTpTxSduId)
CanTp_CancelReceive
Std_ReturnType CanTp_CancelReceive(PduIdType CanTpRxSduId)
CanTp_ChangeParameter
Std_ReturnType CanTp_ChangeParameter(PduIdType id, TPParameterType parameter, uint16 value)
CanTp_ReadParameter
Std_ReturnType CanTp_ReadParameter(PduIdType id, TPParameterType parameter, uint16* value)
CanTp_MainFunction
void CanTp_MainFunction(void)
CanTp_RxIndication
void CanTp_RxIndication(PduIdType RxPduId, const PduInfoType* PduInfoPtr)
CanTp_TxConfirmation
void CanTp_TxConfirmation(PduIdType TxPduId)
コンフィギュレーション仕様
CanTpConfig
/AUTOSAR/EcucDefs/CanTp/CanTpConfig
- 型:Container
- 多重度:1
CanTpMainFunctionPeriod
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpMainFunctionPeriod
- 型:FloatParam
- 多重度:1
CanTpChannel
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel
- 型:Container
- 多重度:1..*
CanTpChannelMode
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpChannelMode
- 型:EnumerationParam
- 多重度:1
CanTpRxNSdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu
- 型:Container
- 多重度:0..*
CanTpBs
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpBs
- 型:IntegerParam
- 多重度:0..1
CanTpNar
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNar
- 型:FloatParam
- 多重度:0..1
CanTpNbr
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNbr
- 型:FloatParam
- 多重度:1
CanTpNcr
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNcr
- 型:FloatParam
- 多重度:0..1
CanTpRxAddressingFormat
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxAddressingFormat
- 型:EnumerationParam
- 多重度:1
CanTpRxDl
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxDl
- 型:IntegerParam
- 多重度:1
CanTpRxNSduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxNSduId
- 型:IntegerParam
- 多重度:1
CanTpRxPaddingActivation
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxPaddingActivation
- 型:EnumerationParam
- 多重度:1
CanTpRxTaType
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxTaType
- 型:EnumerationParam
- 多重度:1
CanTpRxWftMax
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxWftMax
- 型:IntegerParam
- 多重度:0..1
CanTpSTmin
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpSTmin
- 型:FloatParam
- 多重度:0..1
CanTpRxNSduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxNSduRef
- 型:Reference
- 多重度:1
CanTpNAe
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNAe
- 型:Container
- 多重度:0..1
CanTpNAe
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNAe/CanTpNAe
- 型:IntegerParam
- 多重度:1
CanTpNSa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNSa
- 型:Container
- 多重度:0..1
CanTpNSa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNSa/CanTpNSa
- 型:IntegerParam
- 多重度:1
CanTpNTa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNTa
- 型:Container
- 多重度:0..1
CanTpNTa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpNTa/CanTpNTa
- 型:IntegerParam
- 多重度:1
CanTpRxNPdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxNPdu
- 型:Container
- 多重度:1
CanTpRxNPduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxNPdu/CanTpRxNPduId
- 型:IntegerParam
- 多重度:1
CanTpRxNPduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpRxNPdu/CanTpRxNPduRef
- 型:Reference
- 多重度:1
CanTpTxFcNPdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpTxFcNPdu
- 型:Container
- 多重度:0..1
CanTpTxFcNPduConfirmationPduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpTxFcNPdu/CanTpTxFcNPduConfirmationPduId
- 型:IntegerParam
- 多重度:1
CanTpTxFcNPduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpRxNSdu/CanTpTxFcNPdu/CanTpTxFcNPduRef
- 型:Reference
- 多重度:1
CanTpTxNSdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu
- 型:Container
- 多重度:0..*
CanTpNas
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNas
- 型:FloatParam
- 多重度:1
CanTpNbs
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNbs
- 型:FloatParam
- 多重度:0..1
CanTpNcs
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNcs
- 型:FloatParam
- 多重度:0..1
CanTpTc
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTc
- 型:BooleanParam
- 多重度:1
CanTpTxAddressingFormat
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxAddressingFormat
- 型:EnumerationParam
- 多重度:1
CanTpTxDl
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxDl
- 型:IntegerParam
- 多重度:1
CanTpTxNSduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxNSduId
- 型:IntegerParam
- 多重度:1
CanTpTxPaddingActivation
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxPaddingActivation
- 型:EnumerationParam
- 多重度:1
CanTpTxTaType
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxTaType
- 型:EnumerationParam
- 多重度:1
CanTpTxNSduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxNSduRef
- 型:Reference
- 多重度:1
CanTpNAe
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNAe
- 型:Container
- 多重度:0..1
CanTpNAe
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNAe/CanTpNAe
- 型:IntegerParam
- 多重度:1
CanTpNSa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNSa
- 型:Container
- 多重度:0..1
CanTpNSa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNSa/CanTpNSa
- 型:IntegerParam
- 多重度:1
CanTpNTa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNTa
- 型:Container
- 多重度:0..1
CanTpNTa
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpNTa/CanTpNTa
- 型:IntegerParam
- 多重度:1
CanTpRxFcNPdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpRxFcNPdu
- 型:Container
- 多重度:0..1
CanTpRxFcNPduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpRxFcNPdu/CanTpRxFcNPduId
- 型:IntegerParam
- 多重度:1
CanTpRxFcNPduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpRxFcNPdu/CanTpRxFcNPduRef
- 型:Reference
- 多重度:1
CanTpTxNPdu
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxNPdu
- 型:Container
- 多重度:1
CanTpTxNPduConfirmationPduId
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxNPdu/CanTpTxNPduConfirmationPduId
- 型:IntegerParam
- 多重度:1
CanTpTxNPduRef
/AUTOSAR/EcucDefs/CanTp/CanTpConfig/CanTpChannel/CanTpTxNSdu/CanTpTxNPdu/CanTpTxNPduRef
- 型:Reference
- 多重度:1
CanTpGeneral
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral
- 型:Container
- 多重度:1
CanTpChangeParameterApi
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral/CanTpChangeParameterApi
- 型:BooleanParam
- 多重度:1
CanTpDevErrorDetect
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral/CanTpDevErrorDetect
- 型:BooleanParam
- 多重度:1
CanTpPaddingByte
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral/CanTpPaddingByte
- 型:IntegerParam
- 多重度:1
CanTpReadParameterApi
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral/CanTpReadParameterApi
- 型:BooleanParam
- 多重度:1
CanTpVersionInfoApi
/AUTOSAR/EcucDefs/CanTp/CanTpGeneral/CanTpVersionInfoApi
- 型:BooleanParam
- 多重度:1
Note:
See TracWiki
for help on using the wiki.