wiki:spec/Tm

Version 2 (modified by fujisft-shigihara, 4 years ago) ( diff )

--

Time Service


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R4.2.2
Tm_GetVersionInfo 1 0x01
Tm_ResetTimer1us16bit 2 0x02
Tm_GetTimeSpan1us16bit 3 0x03
Tm_ShiftTimer1us16bit 4 0x04
Tm_SyncTimer1us16bit 5 0x05
Tm_BusyWait1us16bit 6 0x06
Tm_ResetTimer1us24bit 7 0x07
Tm_GetTimeSpan1us24bit 8 0x08
Tm_ShiftTimer1us24bit 9 0x09
Tm_SyncTimer1us24bit 10 0x0A
Tm_BusyWait1us24bit 11 0x0B
Tm_ResetTimer1us32bit 12 0x0C
Tm_GetTimeSpan1us32bit 13 0x0D
Tm_ShiftTimer1us32bit 14 0x0E
Tm_SyncTimer1us32bit 15 0x0F
Tm_BusyWait1us32bit 16 0x10
Tm_ResetTimer100us32bit 17 0x11
Tm_GetTimeSpan100us32bit 18 0x12
Tm_ShiftTimer100us32bit 19 0x13
Tm_SyncTimer100us32bit 20 0x14
  • エラーコード一覧
エラーコード Dec Hex R4.2.2
TM_E_PARAM_POINTER 1 0x01
TM_E_PARAM_VALUE 2 0x02
TM_E_HARDWARE_TIMER 3 0x03

API仕様

Tm_GetVersionInfo

void Tm_GetVersionInfo(Std_VersionInfoType* VersionInfoPtr)

Tm_ResetTimer1us16bit

Std_ReturnType Tm_ResetTimer1us16bit(Tm_PredefTimer1us16bitType* TimerPtr)

Tm_GetTimeSpan1us16bit

Std_ReturnType Tm_GetTimeSpan1us16bit(const Tm_PredefTimer1us16bitType* TimerPtr, uint16* TimeSpanPtr)

Tm_ShiftTimer1us16bit

void Tm_ShiftTimer1us16bit(Tm_PredefTimer1us16bitType* TimerPtr, uint16 TimeValue)

Tm_SyncTimer1us16bit

void Tm_SyncTimer1us16bit(Tm_PredefTimer1us16bitType* TimerDstPtr, const Tm_PredefTimer1us16bitType* TimerSrcPtr)

Tm_BusyWait1us16bit

Std_ReturnType Tm_BusyWait1us16bit(uint8 WaitingTimeMin)

Tm_ResetTimer1us24bit

Std_ReturnType Tm_ResetTimer1us24bit(Tm_PredefTimer1us24bitType* TimerPtr)

Tm_GetTimeSpan1us24bit

Std_ReturnType Tm_GetTimeSpan1us24bit(const Tm_PredefTimer1us24bitType* TimerPtr, uint32* TimeSpanPtr)

Tm_ShiftTimer1us24bit

void Tm_ShiftTimer1us24bit(Tm_PredefTimer1us24bitType* TimerPtr, uint32 TimeValue)

Tm_SyncTimer1us24bit

void Tm_SyncTimer1us24bit(Tm_PredefTimer1us24bitType* TimerDstPtr, const Tm_PredefTimer1us24bitType* TimerSrcPtr)

Tm_BusyWait1us24bit

Std_ReturnType Tm_BusyWait1us24bit(uint8 WaitingTimeMin)

Tm_ResetTimer1us32bit

Std_ReturnType Tm_ResetTimer1us32bit(Tm_PredefTimer1us32bitType* TimerPtr)

Tm_GetTimeSpan1us32bit

Std_ReturnType Tm_GetTimeSpan1us32bit(const Tm_PredefTimer1us32bitType* TimerPtr, uint32* TimeSpanPtr)

Tm_ShiftTimer1us32bit

void Tm_ShiftTimer1us32bit(Tm_PredefTimer1us32bitType* TimerPtr, uint32 TimeValue)

Tm_SyncTimer1us32bit

void Tm_SyncTimer1us32bit(Tm_PredefTimer1us32bitType* TimerDstPtr, const Tm_PredefTimer1us32bitType* TimerSrcPtr)

Tm_BusyWait1us32bit

Std_ReturnType Tm_BusyWait1us32bit(uint8 WaitingTimeMin)

Tm_ResetTimer100us32bit

Std_ReturnType Tm_ResetTimer100us32bit(Tm_PredefTimer100us32bitType* TimerPtr)

Tm_GetTimeSpan100us32bit

Std_ReturnType Tm_GetTimeSpan100us32bit(const Tm_PredefTimer100us32bitType* TimerPtr, uint32* TimeSpanPtr)

Tm_ShiftTimer100us32bit

void Tm_ShiftTimer100us32bit(Tm_PredefTimer100us32bitType* TimerPtr, uint32 TimeValue)

Tm_SyncTimer100us32bit

void Tm_SyncTimer100us32bit(Tm_PredefTimer100us32bitType* TimerDstPtr, const Tm_PredefTimer100us32bitType* TimerSrcPtr)

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

TmGeneral

/AUTOSAR/EcucDefs/Tm/TmGeneral
  • 型:Container
  • 多重度:1

TmDevErrorDetect

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

TmEnablePredefTimer100us32bit

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer100us32bit
  • 型:BooleanParam
  • 多重度:1

TmEnablePredefTimer1us16bit

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us16bit
  • 型:BooleanParam
  • 多重度:1

TmEnablePredefTimer1us24bit

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us24bit
  • 型:BooleanParam
  • 多重度:1

TmEnablePredefTimer1us32bit

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmEnablePredefTimer1us32bit
  • 型:BooleanParam
  • 多重度:1

TmVersionInfoApi

/AUTOSAR/EcucDefs/Tm/TmGeneral/TmVersionInfoApi
  • 型:BooleanParam
  • 多重度:1
Note: See TracWiki for help on using the wiki.