wiki:spec_TTCANInterface
TTCAN Interface


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
CanIf_TTGetControllerTime 51 0x33
CanIf_TTGetMasterState 52 0x34
CanIf_TTGetNTUActual 53 0x35
CanIf_TTGetErrorLevel 54 0x36
CanIf_TTSetNextIsGap 55 0x37
CanIf_TTSetEndOfGap 56 0x38
CanIf_TTSetTimeCommand 57 0x39
CanIf_TTGlobalTimePreset 58 0x3A
CanIf_TTSetExtClockSyncCommand 59 0x3B
CanIf_TTSetNTUAdjust 60 0x3C
CanIf_TTJobListExec_<Controller> 80 0x50
CanIf_TTGetSyncQuality 71 0x47
CanIf_TTSetTimeMark 72 0x48
CanIf_TTCancelTimeMark 73 0x49
CanIf_TTAckTimeMark 74 0x4A
CanIf_TTEnableTimeMarkIRQ 75 0x4B
CanIf_TTDisableTimeMarkIRQ 76 0x4C
CanIf_TTGetTimeMarkIRQStatus 77 0x4D
CanIf_TTApplWatchdogError 91 0x5B
CanIf_TTTimingError 92 0x5C
CanIf_TTSevereError 92 0x5C
CanIf_TTGap 93 0x5D
CanIf_TTStartOfCycle 94 0x5E
CanIf_TTTimeDisc 95 0x5F
CanIf_TTMasterStateChange 96 0x60
  • エラーコード一覧
    • "--"はDemにより決定される
エラーコード Dec Hex
CANIF_TT_E_JLE_SYNC -- --

API仕様

CanIf_TTGetControllerTime

Std_ReturnType CanIf_TTGetControllerTime(uint8 ControllerId, CanIf_TTTimeType* CanIf_TTGlobalTime, CanIf_TTTimeType* CanIf_TTLocalTime, CanIf_TTTimeType* CanIf_TTCycleTime, uint8* CanIf_TTCycleCount)

CanIf_TTGetMasterState

Std_ReturnType CanIf_TTGetMasterState(uint8 ControllerId, CanIf_TTMasterStateType* CanIf_TTMasterState)

CanIf_TTGetNTUActual

Std_ReturnType CanIf_TTGetNTUActual(uint8 ControllerId, float32 CanIf_TTNTUAct)

CanIf_TTGetErrorLevel

Std_ReturnType CanIf_TTGetErrorLevel(uint8 ControllerId, CanIf_TTErrorLevelType* CanIf_TTErrorLevel)

CanIf_TTSetNextIsGap

Std_ReturnType CanIf_TTSetNextIsGap(uint8 ControllerId)

CanIf_TTSetEndOfGap

Std_ReturnType CanIf_TTSetEndOfGap(uint8 ControllerId)

CanIf_TTSetTimeCommand

Std_ReturnType CanIf_TTSetTimeCommand(uint8 ControllerId)

CanIf_TTGlobalTimePreset

Std_ReturnType CanIf_TTGlobalTimePreset(uint8 ControllerId, CanIf_TTTimeType CanIf_TTGlobalTimePreset)

CanIf_TTSetExtClockSyncCommand

Std_ReturnType CanIf_TTSetExtClockSyncCommand(uint8 ControllerId)

CanIf_TTSetNTUAdjust

Std_ReturnType CanIf_TTSetNTUAdjust(uint8 ControllerId, float32 CanIf_TTNTUAdjust)

CanIf_TTJobListExec_<Controller>

void CanIf_TTJobListExec_<Controller>(void)

CanIf_TTGetSyncQuality

Std_ReturnType CanIf_TTGetSyncQuality(uint8 ControllerId, boolean* CanIf_TTClockSpeed, boolean* CanIf_TTGlobalTimePhase)

CanIf_TTSetTimeMark

Std_ReturnType CanIf_TTSetTimeMark(uint8 ControllerId, CanIf_TTTimeType CanIf_TTTimeMark, CanIf_TTTimeSourceType CanIf_TTTimeSource)

CanIf_TTCancelTimeMark

Std_ReturnType CanIf_TTCancelTimeMark(uint8 ControllerId)

CanIf_TTAckTimeMark

Std_ReturnType CanIf_TTAckTimeMark(uint8 ControllerId)

CanIf_TTEnableTimeMarkIRQ

Std_ReturnType CanIf_TTEnableTimeMarkIRQ(uint8 ControllerId)

CanIf_TTDisableTimeMarkIRQ

Std_ReturnType CanIf_TTDisableTimeMarkIRQ(uint8 ControllerId)

CanIf_TTGetTimeMarkIRQStatus

Std_ReturnType CanIf_TTGetTimeMarkIRQStatus(uint8 ControllerId, boolean* CanIf_TTIRQStatus)

CanIf_TTApplWatchdogError

Std_ReturnType CanIf_TTApplWatchdogError(uint8 ControllerId)

CanIf_TTTimingError

Std_ReturnType CanIf_TTTimingError(uint8 ControllerId, CanIf_TTTimingErrorIRQType CanIf_TTTimingErrorIRQ)

CanIf_TTSevereError

void CanIf_TTSevereError(uint8 ControllerId, CanIf_TTSevereErrorEnumType CanIf_TTSevereError)

CanIf_TTGap

Std_ReturnType CanIf_TTGap(uint8 ControllerId)

CanIf_TTStartOfCycle

Std_ReturnType CanIf_TTStartOfCycle(uint8 ControllerId, uint8 CanIf_TTCycleCount)

CanIf_TTTimeDisc

Std_ReturnType CanIf_TTTimeDisc(uint8 ControllerId)

CanIf_TTMasterStateChange

Std_ReturnType CanIf_TTMasterStateChange(uint8 ControllerId, CanIf_TTMasterStateType CanIf_TTMasterState)

コンフィギュレーション仕様

CanIfTTGeneral

/AUTOSAR/EcucDefs/CanIf/CanIfPrivateCfg/CanIfTTGeneral
  • 型:Container
  • 多重度:0..1

CanIfTTJoblist

/AUTOSAR/EcucDefs/CanIf/CanIfPrivateCfg/CanIfTTGeneral/CanIfTTJoblist
  • 型:BooleanParam
  • 多重度:1

CanIfTTMaxIsrDelay

/AUTOSAR/EcucDefs/CanIf/CanIfPrivateCfg/CanIfTTGeneral/CanIfTTMaxIsrDelay
  • 型:IntegerParam
  • 多重度:1

CanIfTTTxFrameTriggering

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfTxPduCfg/CanIfTTTxFrameTriggering
  • 型:Container
  • 多重度:0..1

CanIfTTTxJoblistTimeMark

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfTxPduCfg/CanIfTTTxFrameTriggering/CanIfTTTxJoblistTimeMark
  • 型:IntegerParam
  • 多重度:0..1

CanIfTTTxHwObjectTriggerIdRef

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfTxPduCfg/CanIfTTTxFrameTriggering/CanIfTTTxHwObjectTriggerIdRef
  • 型:Reference
  • 多重度:1

CanIfTTRxFrameTriggering

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfRxPduCfg/CanIfTTRxFrameTriggering
  • 型:Container
  • 多重度:0..1

CanTTRxJoblistTimeMark

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfRxPduCfg/CanIfTTRxFrameTriggering/CanTTRxJoblistTimeMark
  • 型:IntegerParam
  • 多重度:0..1

CanIfTTRxHwObjectTriggerIdRef

/AUTOSAR/EcucDefs/CanIf/CanIfInitCfg/CanIfRxPduCfg/CanIfTTRxFrameTriggering/CanIfTTRxHwObjectTriggerIdRef
  • 型:Reference
  • 多重度:1
Last modified 2 years ago Last modified on 07/01/15 18:49:48