wiki:spec_PortDriver
Port Driver


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Port_Init 0 0x00
Port_SetPinDirection 1 0x01
Port_RefreshPortDirection 2 0x02
Port_GetVersionInfo 3 0x03
Port_SetPinMode 4 0x04
  • エラーコード一覧
エラーコード Dec Hex
PORT_E_PARAM_PIN 10 0x0A
PORT_E_DIRECTION_UNCHANGEABLE 11 0x0B
PORT_E_PARAM_CONFIG 12 0x0C
PORT_E_PARAM_INVALID_MODE 13 0x0D
PORT_E_MODE_UNCHANGEABLE 14 0x0E
PORT_E_UNINIT 15 0x0F
PORT_E_PARAM_POINTER 16 0x10

API仕様

Port_Init

void Port_Init(const Port_ConfigType* ConfigPtr)

Port_SetPinDirection

void Port_SetPinDirection(Port_PinType Pin, Port_PinDirectionType Direction)

Port_RefreshPortDirection

void Port_RefreshPortDirection(void)

Port_GetVersionInfo

void Port_GetVersionInfo(Std_VersionInfoType* versioninfo)

Port_SetPinMode

void Port_SetPinMode(Port_PinType Pin, Port_PinModeType Mode)

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

PortConfigSet

/AUTOSAR/EcucDefs/Port/PortConfigSet
  • 型:Container
  • 多重度:1

PortContainer

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer
  • 型:Container
  • 多重度:1..*

PortNumberOfPortPins

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortNumberOfPortPins
  • 型:IntegerParam
  • 多重度:1

PortPin

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin
  • 型:Container
  • 多重度:1..*

PortPinDirection

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirection
  • 型:EnumerationParam
  • 多重度:1

PortPinDirectionChangeable

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirectionChangeable
  • 型:BooleanParam
  • 多重度:1

PortPinId

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinId
  • 型:IntegerParam
  • 多重度:1

PortPinInitialMode

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinInitialMode
  • 型:EnumerationParam
  • 多重度:1

PortPinLevelValue

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinLevelValue
  • 型:EnumerationParam
  • 多重度:1

PortPinMode

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinMode
  • 型:EnumerationParam
  • 多重度:1..*

PortPinModeChangeable

/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinModeChangeable
  • 型:BooleanParam
  • 多重度:1

PortGeneral

/AUTOSAR/EcucDefs/Port/PortGeneral
  • 型:Container
  • 多重度:1

PortDevErrorDetect

/AUTOSAR/EcucDefs/Port/PortGeneral/PortDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

PortSetPinDirectionApi

/AUTOSAR/EcucDefs/Port/PortGeneral/PortSetPinDirectionApi
  • 型:BooleanParam
  • 多重度:1

PortSetPinModeApi

/AUTOSAR/EcucDefs/Port/PortGeneral/PortSetPinModeApi
  • 型:BooleanParam
  • 多重度:1

PortVersionInfoApi

/AUTOSAR/EcucDefs/Port/PortGeneral/PortVersionInfoApi
  • 型:BooleanParam
  • 多重度:1
Last modified 2 years ago Last modified on 09/01/15 17:18:04