{{{ #!html
XCP
}}} [[BR]] = 概要 = * API一覧 ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| || [#Xcp_Init Xcp_Init] || 0|| 0x00|| || [#Xcp_GetVersionInfo Xcp_GetVersionInfo] || 1|| 0x01|| || [#Xcp_moduleRxIndication Xcp_RxIndication] || 3|| 0x03|| || [#Xcp_moduleTxConfirmation Xcp_TxConfirmation] || 2|| 0x02|| || [#Xcp_LoTriggerTransmit Xcp_TriggerTransmit] || 65|| 0x41|| || [#Xcp_SetTransmissionMode Xcp_SetTransmissionMode] || 5|| 0x05|| || [#Xcp_MainFunction Xcp_MainFunction] || 4|| 0x04|| * コンフィギュレーション一覧 * [#XcpConfig XcpConfig] * [#XcpDaqList XcpDaqList] * [#XcpDaqListNumber XcpDaqListNumber] * [#XcpDaqListType XcpDaqListType] * [#XcpMaxOdt XcpMaxOdt] * [#XcpMaxOdtEntries XcpMaxOdtEntries] * [#XcpDto XcpDto] * [#XcpDtoPid XcpDtoPid] * [#XcpDto2PduMapping XcpDto2PduMapping] * [#XcpOdt XcpOdt] * [#XcpOdtEntryMaxSize XcpOdtEntryMaxSize] * [#XcpOdtNumber XcpOdtNumber] * [#XcpOdt2DtoMapping XcpOdt2DtoMapping] * [#XcpOdtEntry XcpOdtEntry] * [#XcpOdtEntryAddress XcpOdtEntryAddress] * [#XcpOdtEntryLength XcpOdtEntryLength] * [#XcpOdtEntryNumber XcpOdtEntryNumber] * [#XcpDemEventParameterRefs XcpDemEventParameterRefs] * [#XCP_E_INIT_FAILED XCP_E_INIT_FAILED] * [#XcpEventChannel XcpEventChannel] * [#XcpEventChannelConsistency XcpEventChannelConsistency] * [#XcpEventChannelMaxDaqList XcpEventChannelMaxDaqList] * [#XcpEventChannelNumber XcpEventChannelNumber] * [#XcpEventChannelPriority XcpEventChannelPriority] * [#XcpEventChannelTimeCycle XcpEventChannelTimeCycle] * [#XcpEventChannelTimeUnit XcpEventChannelTimeUnit] * [#XcpEventChannelType XcpEventChannelType] * [#XcpEventChannelTriggeredDaqListRef XcpEventChannelTriggeredDaqListRef] * [#XcpPdu XcpPdu] * [#XcpRxPdu XcpRxPdu] * [#XcpRxPduId XcpRxPduId] * [#XcpRxPduRef XcpRxPduRef] * [#XcpTxPdu XcpTxPdu] * [#XcpTxPduId XcpTxPduId] * [#XcpTxPduRef XcpTxPduRef] * [#XcpGeneral XcpGeneral] * [#XcpDaqConfigType XcpDaqConfigType] * [#XcpDaqCount XcpDaqCount] * [#XcpDevErrorDetect XcpDevErrorDetect] * [#XcpIdentificationFieldType XcpIdentificationFieldType] * [#XcpMainFunctionPeriod XcpMainFunctionPeriod] * [#XcpMaxCto XcpMaxCto] * [#XcpMaxDto XcpMaxDto] * [#XcpMaxEventChannel XcpMaxEventChannel] * [#XcpMinDaq XcpMinDaq] * [#XcpOdtCount XcpOdtCount] * [#XcpOdtEntriesCount XcpOdtEntriesCount] * [#XcpOdtEntrySizeDaq XcpOdtEntrySizeDaq] * [#XcpOdtEntrySizeStim XcpOdtEntrySizeStim] * [#XcpOnCanEnabled XcpOnCanEnabled] * [#XcpOnCddEnabled XcpOnCddEnabled] * [#XcpOnEthernetEnabled XcpOnEthernetEnabled] * [#XcpOnFlexRayEnabled XcpOnFlexRayEnabled] * [#XcpPrescalerSupported XcpPrescalerSupported] * [#XcpSuppressTxSupport XcpSuppressTxSupport] * [#XcpTimestampTicks XcpTimestampTicks] * [#XcpTimestampType XcpTimestampType] * [#XcpTimestampUnit XcpTimestampUnit] * [#XcpVersionInfoApi XcpVersionInfoApi] * [#XcpCounterRef XcpCounterRef] * エラーコード一覧 * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される ||= エラーコード =||= Dec =||= Hex =|| || 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_RxIndication(PduIdType XcpRxPduId, PduInfoType* XcpRxPduPtr) }}} == Xcp_moduleTxConfirmation == {{{ void Xcp_TxConfirmation(PduIdType XcpTxPduId) }}} == Xcp_LoTriggerTransmit == {{{ Std_ReturnType Xcp_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