Version 7 (modified by 4 years ago) ( diff ) | ,
---|
XCP
概要
- XCPに関する解説サイト
- API一覧
API ID
[Dec]ID
[Hex]R4.0.3 Xcp_Init 0 0x00 ○ Xcp_GetVersionInfo 1 0x01 ○ Xcp_<module>RxIndication 3 0x03 ○ Xcp_<module>TxConfirmation 2 0x02 ○ Xcp_<Lo>TriggerTransmit 65 0x41 ○ Xcp_SetTransmissionMode 5 0x05 ○ Xcp_MainFunction 4 0x04 ○
- コンフィギュレーション一覧(R4.0.3)
- XcpConfig (○)
- XcpDaqList (○)
- XcpDaqListNumber (○)
- XcpDaqListType (○)
- XcpMaxOdt (○)
- XcpMaxOdtEntries (○)
- XcpDto (○)
- XcpDtoPid (○)
- XcpDto2PduMapping (○)
- XcpOdt (○)
- XcpOdtEntryMaxSize (○)
- XcpOdtNumber (○)
- XcpOdt2DtoMapping (○)
- XcpOdtEntry (○)
- XcpOdtEntryAddress (○)
- XcpOdtEntryLength (○)
- XcpOdtEntryNumber (○)
- XcpDemEventParameterRefs (○)
- XcpEventChannel (○)
- XcpPdu (○)
- XcpRxPdu (○)
- XcpRxPduId (○)
- XcpRxPduRef (○)
- XcpTxPdu (○)
- XcpTxPduId (○)
- XcpTxPduRef (○)
- XcpRxPdu (○)
- XcpDaqList (○)
- XcpGeneral (○)
- XcpDaqConfigType (○)
- XcpDaqCount (○)
- XcpDevErrorDetect (○)
- XcpIdentificationFieldType (○)
- XcpMainFunctionPeriod (○)
- XcpMaxCto (○)
- XcpMaxDto (○)
- XcpMaxEventChannel (○)
- XcpMinDaq (○)
- XcpOdtCount (○)
- XcpOdtEntriesCount (○)
- XcpOdtEntrySizeDaq (○)
- XcpOdtEntrySizeStim (○)
- XcpOnCanEnabled (○)
- XcpOnCddEnabled (○)
- XcpOnEthernetEnabled (○)
- XcpOnFlexRayEnabled (○)
- XcpPrescalerSupported (○)
- XcpSuppressTxSupport (○)
- XcpTimestampTicks (○)
- XcpTimestampType (○)
- XcpTimestampUnit (○)
- XcpVersionInfoApi (○)
- XcpCounterRef (○)
- XcpConfig (○)
- エラーコード一覧
- "--"はDemにより決定される
エラーコード Dec Hex R4.0.3 XCP_E_INV_POINTER 1 0x01 ○ XCP_E_NOT_INITIALIZED 2 0x02 ○ XCP_E_INVALID_PDUID 3 0x03 ○ XCP_E_INIT_FAILED -- -- ○ XCP_E_NULL_POINTER 18 0x12 ○
API仕様
Xcp_Init
void Xcp_Init(const Xcp_ConfigType* Xcp_ConfigPtr)
Xcp_GetVersionInfo
void Xcp_GetVersionInfo(Std_VersionInfoType* versioninfo)
Xcp_moduleRxIndication
void Xcp_<module>RxIndication(PduIdType XcpRxPduId, PduInfoType* XcpRxPduPtr)
Xcp_moduleTxConfirmation
void Xcp_<module>TxConfirmation(PduIdType XcpTxPduId)
Xcp_LoTriggerTransmit
Std_ReturnType Xcp_<Lo>TriggerTransmit(PduIdType TxPduId, PduInfoType* PduInfoPtr)
Xcp_SetTransmissionMode
void Xcp_SetTransmissionMode(NetworkHandleType Channel, Xcp_TransmissionModeType Mode)
Xcp_MainFunction
void Xcp_MainFunction(void)
コンフィギュレーション仕様
XcpConfig
/AUTOSAR/EcucDefs/Xcp/XcpConfig
- 型:Container
- 多重度:1
XcpDaqList
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList
- 型:Container
- 多重度:1..*
XcpDaqListNumber
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpDaqListNumber
- 型:IntegerParam
- 多重度:1
XcpDaqListType
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpDaqListType
- 型:EnumerationParam
- 多重度:1
XcpMaxOdt
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpMaxOdt
- 型:IntegerParam
- 多重度:1
XcpMaxOdtEntries
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpMaxOdtEntries
- 型:IntegerParam
- 多重度:1
XcpDto
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpDto
- 型:Container
- 多重度:0..*
XcpDtoPid
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpDto/XcpDtoPid
- 型:IntegerParam
- 多重度:1
XcpDto2PduMapping
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpDto/XcpDto2PduMapping
- 型:Reference
- 多重度:1
XcpOdt
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt
- 型:Container
- 多重度:1..*
XcpOdtEntryMaxSize
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtEntryMaxSize
- 型:IntegerParam
- 多重度:1
XcpOdtNumber
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtNumber
- 型:IntegerParam
- 多重度:1
XcpOdt2DtoMapping
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdt2DtoMapping
- 型:Reference
- 多重度:1
XcpOdtEntry
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtEntry
- 型:Container
- 多重度:1..*
XcpOdtEntryAddress
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtEntry/XcpOdtEntryAddress
- 型:LinkerSymbol
- 多重度:1
XcpOdtEntryLength
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtEntry/XcpOdtEntryLength
- 型:IntegerParam
- 多重度:1
XcpOdtEntryNumber
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDaqList/XcpOdt/XcpOdtEntry/XcpOdtEntryNumber
- 型:IntegerParam
- 多重度:1
XcpDemEventParameterRefs
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDemEventParameterRefs
- 型:Container
- 多重度:0..1
XCP_E_INIT_FAILED
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpDemEventParameterRefs/XCP_E_INIT_FAILED
- 型:Reference
- 多重度:0..1
XcpEventChannel
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel
- 型:Container
- 多重度:1..*
XcpEventChannelConsistency
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelConsistency
- 型:EnumerationParam
- 多重度:1
XcpEventChannelMaxDaqList
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelMaxDaqList
- 型:IntegerParam
- 多重度:1
XcpEventChannelNumber
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelNumber
- 型:IntegerParam
- 多重度:1
XcpEventChannelPriority
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelPriority
- 型:IntegerParam
- 多重度:1
XcpEventChannelTimeCycle
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelTimeCycle
- 型:IntegerParam
- 多重度:1
XcpEventChannelTimeUnit
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelTimeUnit
- 型:EnumerationParam
- 多重度:0..1
XcpEventChannelType
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelType
- 型:EnumerationParam
- 多重度:1
XcpEventChannelTriggeredDaqListRef
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpEventChannel/XcpEventChannelTriggeredDaqListRef
- 型:Reference
- 多重度:1..*
XcpPdu
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu
- 型:Container
- 多重度:1..*
XcpRxPdu
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpRxPdu
- 型:Container
- 多重度:0..1
XcpRxPduId
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpRxPdu/XcpRxPduId
- 型:IntegerParam
- 多重度:1
XcpRxPduRef
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpRxPdu/XcpRxPduRef
- 型:Reference
- 多重度:1
XcpTxPdu
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpTxPdu
- 型:Container
- 多重度:0..1
XcpTxPduId
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpTxPdu/XcpTxPduId
- 型:IntegerParam
- 多重度:1
XcpTxPduRef
/AUTOSAR/EcucDefs/Xcp/XcpConfig/XcpPdu/XcpTxPdu/XcpTxPduRef
- 型:Reference
- 多重度:1
XcpGeneral
/AUTOSAR/EcucDefs/Xcp/XcpGeneral
- 型:Container
- 多重度:1
XcpDaqConfigType
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpDaqConfigType
- 型:EnumerationParam
- 多重度:1
XcpDaqCount
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpDaqCount
- 型:IntegerParam
- 多重度:1
XcpDevErrorDetect
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpDevErrorDetect
- 型:BooleanParam
- 多重度:1
XcpIdentificationFieldType
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpIdentificationFieldType
- 型:EnumerationParam
- 多重度:1
XcpMainFunctionPeriod
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpMainFunctionPeriod
- 型:FloatParam
- 多重度:1
XcpMaxCto
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpMaxCto
- 型:IntegerParam
- 多重度:1
XcpMaxDto
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpMaxDto
- 型:IntegerParam
- 多重度:1
XcpMaxEventChannel
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpMaxEventChannel
- 型:IntegerParam
- 多重度:1
XcpMinDaq
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpMinDaq
- 型:IntegerParam
- 多重度:1
XcpOdtCount
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOdtCount
- 型:IntegerParam
- 多重度:1
XcpOdtEntriesCount
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOdtEntriesCount
- 型:IntegerParam
- 多重度:1
XcpOdtEntrySizeDaq
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOdtEntrySizeDaq
- 型:IntegerParam
- 多重度:1
XcpOdtEntrySizeStim
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOdtEntrySizeStim
- 型:IntegerParam
- 多重度:1
XcpOnCanEnabled
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOnCanEnabled
- 型:BooleanParam
- 多重度:1
XcpOnCddEnabled
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOnCddEnabled
- 型:BooleanParam
- 多重度:1
XcpOnEthernetEnabled
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOnEthernetEnabled
- 型:BooleanParam
- 多重度:1
XcpOnFlexRayEnabled
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpOnFlexRayEnabled
- 型:BooleanParam
- 多重度:1
XcpPrescalerSupported
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpPrescalerSupported
- 型:BooleanParam
- 多重度:1
XcpSuppressTxSupport
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpSuppressTxSupport
- 型:BooleanParam
- 多重度:1
XcpTimestampTicks
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpTimestampTicks
- 型:IntegerParam
- 多重度:1
XcpTimestampType
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpTimestampType
- 型:EnumerationParam
- 多重度:1
XcpTimestampUnit
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpTimestampUnit
- 型:EnumerationParam
- 多重度:1
XcpVersionInfoApi
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpVersionInfoApi
- 型:BooleanParam
- 多重度:1
XcpCounterRef
/AUTOSAR/EcucDefs/Xcp/XcpGeneral/XcpCounterRef
- 型:Reference
- 多重度:1
Note:
See TracWiki
for help on using the wiki.