wiki:spec/Dio
DIO Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
R4.0.3 R4.2.2
Dio_ReadChannel 0 0x00
Dio_WriteChannel 1 0x01
Dio_ReadPort 2 0x02
Dio_WritePort 3 0x03
Dio_ReadChannelGroup 4 0x04
Dio_WriteChannelGroup 5 0x05
Dio_GetVersionInfo 18 0x12
Dio_Init 16 0x10 -
Dio_FlipChannel 17 0x11
  • エラーコード一覧
エラーコード Dec Hex R4.0.3 R4.2.2
DIO_E_PARAM_INVALID_CHANNEL_ID 10 0x0A
DIO_E_PARAM_CONFIG 16 0x10
DIO_E_PARAM_INVALID_PORT_ID 20 0x14
DIO_E_PARAM_INVALID_GROUP 31 0x1F
DIO_E_PARAM_POINTER 32 0x20

API仕様

Dio_ReadChannel

Dio_LevelType Dio_ReadChannel(Dio_ChannelType ChannelId)

Dio_WriteChannel

void Dio_WriteChannel(Dio_ChannelType ChannelId, Dio_LevelType Level)

Dio_ReadPort

Dio_PortLevelType Dio_ReadPort(Dio_PortType PortId)

Dio_WritePort

void Dio_WritePort(Dio_PortType PortId, Dio_PortLevelType Level)

Dio_ReadChannelGroup

Dio_PortLevelType Dio_ReadChannelGroup(const Dio_ChannelGroupType* ChannelGroupIdPtr)

Dio_WriteChannelGroup

void Dio_WriteChannelGroup(const Dio_ChannelGroupType* ChannelGroupIdPtr, Dio_PortLevelType Level)

Dio_GetVersionInfo

void Dio_GetVersionInfo(Std_VersionInfoType* VersionInfo)

Dio_Init

void Dio_Init(const Dio_ConfigType* ConfigPtr)

Dio_FlipChannel

Dio_LevelType Dio_FlipChannel(Dio_ChannelType ChannelId)

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

DioConfig

/AUTOSAR/EcucDefs/Dio/DioConfig
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00152
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 1

DioPort

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00144
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 1..*

DioChannel

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannel
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00146
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 0..*

DioChannelEcucPartitionRef

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannel/DioChannelEcucPartitionRef

DioChannelId

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannel/DioChannelId
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00147
  • タイプ: INTEGER-PARAM
  • 多重度: 1
  • 上限値: 4294967295
  • 下限値: 0

DioChannelGroup

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00148
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 0..*

DioChannelGroupEcucPartitionRef

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup/DioChannelGroupEcucPartitionRef

DioChannelGroupIdentification

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup/DioChannelGroupIdentification
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00149
  • タイプ: STRING-PARAM
  • 多重度: 1

DioPortMask

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup/DioPortMask
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00150
  • タイプ: INTEGER-PARAM
  • 多重度: 1
  • 上限値: 4294967295
  • 下限値: 0

DioPortOffset

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioChannelGroup/DioPortOffset
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00151
  • タイプ: INTEGER-PARAM
  • 多重度: 1
  • 上限値: 31
  • 下限値: 0

DioPortEcucPartitionRef

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioPortEcucPartitionRef

DioPortId

/AUTOSAR/EcucDefs/Dio/DioConfig/DioPort/DioPortId
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00145
  • タイプ: INTEGER-PARAM
  • 多重度: 1
  • 上限値: 4294967295
  • 下限値: 0

DioGeneral

/AUTOSAR/EcucDefs/Dio/DioGeneral
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00141
  • タイプ: PARAM-CONF-CONTAINER
  • 多重度: 1

DioDevErrorDetect

/AUTOSAR/EcucDefs/Dio/DioGeneral/DioDevErrorDetect
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00142
  • タイプ: BOOLEAN-PARAM
  • 多重度: 1
  • デフォルト値:
    • R4.3.1/R4.4.0/R19-11/R20-11: false

DioEcucPartitionRef

/AUTOSAR/EcucDefs/Dio/DioGeneral/DioEcucPartitionRef

DioFlipChannelApi

/AUTOSAR/EcucDefs/Dio/DioGeneral/DioFlipChannelApi
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00153
  • タイプ: BOOLEAN-PARAM
  • 多重度: 1

DioMaskedWritePortApi

/AUTOSAR/EcucDefs/Dio/DioGeneral/DioMaskedWritePortApi
  • 対象リビジョン: R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00155
  • タイプ: BOOLEAN-PARAM
  • 多重度: 1
  • デフォルト値: false

DioVersionInfoApi

/AUTOSAR/EcucDefs/Dio/DioGeneral/DioVersionInfoApi
  • 対象リビジョン: R4.0.3/R4.1.3/R4.2.2/R4.3.1/R4.4.0/R19-11/R20-11
  • SWSタグ: ECUC_Dio_00143
  • タイプ: BOOLEAN-PARAM
  • 多重度: 1
  • デフォルト値:
    • R4.3.1/R4.4.0/R19-11/R20-11: false
Last modified 10 months ago Last modified on Dec 21, 2020, 3:42:40 PM
Note: See TracWiki for help on using the wiki.