wiki:spec_TTCANDriver
TTCAN Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Can_TTGetControllerTime 51 0x33
Can_TTGetMasterState 52 0x34
Can_TTGetNTUActual 53 0x35
Can_TTGetErrorLevel 54 0x36
Can_TTSetNextIsGap 55 0x37
Can_TTSetEndOfGap 56 0x38
Can_TTSetTimeCommand 57 0x39
Can_TTGlobalTimePreset 58 0x3A
Can_TTSetExtClockSyncCommand 59 0x3B
Can_TTSetNTUAdjust 60 0x3C
Can_TTGetSyncQuality 71 0x47
Can_TTSetTimeMark 72 0x48
Can_TTCancelTimeMark 73 0x49
Can_TTAckTimeMark 74 0x4A
Can_TTEnableTimeMarkIRQ 75 0x4B
Can_TTDisableTimeMarkIRQ 76 0x4C
Can_TTGetTimeMarkIRQStatus 77 0x4D
Can_TTReceive 0 0x00
Can_TTMainFunction_IRQ 80 0x50
  • エラーコード一覧
エラーコード Dec Hex
CAN_TT_E_NOT_MASTER 8 0x08
CAN_TT_E_NOT_CURRENT_MASTER 9 0x09
CAN_TT_E_CONSEQUTIVE_DISC 10 0x0A
CAN_TT_E_SYNC_DISABLED 11 0x0B

API仕様

Can_TTGetControllerTime

void Can_TTGetControllerTime(uint8 Controller, Can_TTTimeType* Can_TTGlobalTime, Can_TTTimeType* Can_TTLocalTime, Can_TTTimeType* Can_TTCycleTime, uint8* Can_TTCycleCount)

Can_TTGetMasterState

void Can_TTGetMasterState(uint8 Controller, Can_TTMasterStateType* Can_TTMasterState)

Can_TTGetNTUActual

void Can_TTGetNTUActual(uint8 Controller, Can_TTTURType* Can_TTTURAct)

Can_TTGetErrorLevel

void Can_TTGetErrorLevel(uint8 Controller, Can_TTErrorLevelType* Can_TTErrorLevel)

Can_TTSetNextIsGap

void Can_TTSetNextIsGap(uint8 Controller)

Can_TTSetEndOfGap

void Can_TTSetEndOfGap(uint8 Controller)

Can_TTSetTimeCommand

void Can_TTSetTimeCommand(uint8 Controller)

Can_TTGlobalTimePreset

void Can_TTGlobalTimePreset(uint8 Controller, Can_TTTimeType Can_TTGlobalTimePreset)

Can_TTSetExtClockSyncCommand

void Can_TTSetExtClockSyncCommand(uint8 Controller)

Can_TTSetNTUAdjust

void Can_TTSetNTUAdjust(uint8 Controller, Can_TTTURType Can_TTTURAdjust)

Can_TTGetSyncQuality

void Can_TTGetSyncQuality(uint8 Controller, boolean* Can_TTClockSpeed, boolean* Can_TTGlobalTimePhase)

Can_TTSetTimeMark

void Can_TTSetTimeMark(uint8 Controller, Can_TTTimeType Can_TTTimeMark, Can_TTTimeSourceType Can_TTTimeSource)

Can_TTCancelTimeMark

void Can_TTCancelTimeMark(uint8 Controller)

Can_TTAckTimeMark

void Can_TTAckTimeMark(uint8 Controller)

Can_TTEnableTimeMarkIRQ

void Can_TTEnableTimeMarkIRQ(uint8 Controller)

Can_TTDisableTimeMarkIRQ

void Can_TTDisableTimeMarkIRQ(uint8 Controller)

Can_TTGetTimeMarkIRQStatus

void Can_TTGetTimeMarkIRQStatus(uint8 Controller, boolean* Can_TTIRQStatus)

Can_TTReceive

void Can_TTReceive(uint8 Controller, uint8 Hrh, Can_IdType* CanId, uint8* CanDlc, uint8* CanSduPtr)

Can_TTMainFunction_IRQ

void Can_TTMainFunction_IRQ(void)

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

CanTTController

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController
  • 型:Container
  • 多重度:0..1

CanTTControllerApplWatchdogLimit

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerApplWatchdogLimit
  • 型:IntegerParam
  • 多重度:1

CanTTControllerCycleCountMax

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerCycleCountMax
  • 型:IntegerParam
  • 多重度:1

CanTTControllerExpectedTxTrigger

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerExpectedTxTrigger
  • 型:IntegerParam
  • 多重度:1

CanTTControllerExternalClockSynchronisation

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerExternalClockSynchronisation
  • 型:BooleanParam
  • 多重度:1

CanTTControllerGlobalTimeFiltering

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerGlobalTimeFiltering
  • 型:BooleanParam
  • 多重度:1

CanTTControllerInitialRefOffset

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerInitialRefOffset
  • 型:IntegerParam
  • 多重度:1

CanTTControllerInterruptEnable

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerInterruptEnable
  • 型:IntegerParam
  • 多重度:1

CanTTControllerLevel2

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerLevel2
  • 型:BooleanParam
  • 多重度:1

CanTTControllerNTUConfig

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerNTUConfig
  • 型:FloatParam
  • 多重度:1

CanTTControllerOperationMode

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerOperationMode
  • 型:EnumerationParam
  • 多重度:1

CanTTControllerSyncDeviation

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerSyncDeviation
  • 型:FloatParam
  • 多重度:1

CanTTControllerTURRestore

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerTURRestore
  • 型:BooleanParam
  • 多重度:1

CanTTControllerTimeMaster

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerTimeMaster
  • 型:BooleanParam
  • 多重度:1

CanTTControllerTimeMasterPriority

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerTimeMasterPriority
  • 型:IntegerParam
  • 多重度:1

CanTTControllerTxEnableWindowLength

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerTxEnableWindowLength
  • 型:IntegerParam
  • 多重度:1

CanTTControllerWatchTriggerGapTimeMark

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerWatchTriggerGapTimeMark
  • 型:IntegerParam
  • 多重度:1

CanTTControllerWatchTriggerTimeMark

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTControllerWatchTriggerTimeMark
  • 型:IntegerParam
  • 多重度:1

CanTTIRQProcessing

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanController/CanTTController/CanTTIRQProcessing
  • 型:EnumerationParam
  • 多重度:1

CanTTHardwareObjectTrigger

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger
  • 型:Container
  • 多重度:0..*

CanTTHardwareObjectBaseCycle

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger/CanTTHardwareObjectBaseCycle
  • 型:IntegerParam
  • 多重度:1

CanTTHardwareObjectCycleRepetition

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger/CanTTHardwareObjectCycleRepetition
  • 型:IntegerParam
  • 多重度:1

CanTTHardwareObjectTimeMark

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger/CanTTHardwareObjectTimeMark
  • 型:IntegerParam
  • 多重度:1

CanTTHardwareObjectTriggerId

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger/CanTTHardwareObjectTriggerId
  • 型:IntegerParam
  • 多重度:1

CanTTHardwareObjectTriggerType

/AUTOSAR/EcucDefs/Can/CanConfigSet/CanHardwareObject/CanTTHardwareObjectTrigger/CanTTHardwareObjectTriggerType
  • 型:EnumerationParam
  • 多重度:1
Last modified 2 years ago Last modified on 07/01/15 18:49:40