Version 7 (modified by 4 years ago) ( diff ) | ,
---|
Port Driver
概要
- API一覧
API ID
[Dec]ID
[Hex]R4.0.3 R4.2.2 Port_Init 0 0x00 ○ ○ Port_SetPinDirection 1 0x01 ○ ○ Port_RefreshPortDirection 2 0x02 ○ ○ Port_GetVersionInfo 3 0x03 ○ ○ Port_SetPinMode 4 0x04 ○ ○
- コンフィギュレーション一覧(R4.0.3 / R4.2.2)
- PortConfigSet (○/○)
- PortContainer (○/○)
- PortNumberOfPortPins (○/○)
- PortPin (○/○)
- PortPinDirection (○/○)
- PortPinDirectionChangeable (○/○)
- PortPinId (○/○)
- PortPinInitialMode (○/○)
- PortPinLevelValue (○/○)
- PortPinMode (○/○)
- PortPinModeChangeable (○/○)
- PortContainer (○/○)
- PortGeneral (○/○)
- PortDevErrorDetect (○/○)
- PortSetPinDirectionApi (○/○)
- PortSetPinModeApi (○/○)
- PortVersionInfoApi (○/○)
- PortConfigSet (○/○)
- エラーコード一覧
エラーコード Dec Hex R4.0.3 R4.2.2 PORT_E_PARAM_PIN 10 0x0A ○ ○ PORT_E_DIRECTION_UNCHANGEABLE 11 0x0B ○ ○ PORT_E_PARAM_CONFIG 12 0x0C ○ - PORT_E_INIT_FAILED 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
- 上限値:65535
- 下限値:1
PortPin
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin
- 型:Container
- 多重度:1..*
PortPinDirection
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirection
- 型:EnumerationParam
- 多重度:1
- 選択肢:
- PORT_PIN_IN
- PORT_PIN_OUT
PortPinDirectionChangeable
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirectionChangeable
- 型:BooleanParam
- 多重度:1
PortPinId
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinId
- 型:IntegerParam
- 多重度:1
- 上限値:65535
- 下限値:1
PortPinInitialMode
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinInitialMode
- 型:EnumerationParam
- 多重度:1
- 選択肢:
- PORT_PIN_MODE_ADC
- PORT_PIN_MODE_CAN
- PORT_PIN_MODE_DIO
- PORT_PIN_MODE_DIO_GPT
- PORT_PIN_MODE_DIO_WDG
- PORT_PIN_MODE_FLEXRAY
- PORT_PIN_MODE_ICU
- PORT_PIN_MODE_LIN
- PORT_PIN_MODE_MEM
- PORT_PIN_MODE_PWM
- PORT_PIN_MODE_SPI
PortPinLevelValue
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinLevelValue
- 型:EnumerationParam
- 多重度:1
- 選択肢:
- PORT_PIN_LEVEL_HIGH
- PORT_PIN_LEVEL_LOW
PortPinMode
/AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinMode
- 型:EnumerationParam
- 多重度:1..*
- 選択肢:
- PORT_PIN_MODE_ADC
- PORT_PIN_MODE_CAN
- PORT_PIN_MODE_DIO
- PORT_PIN_MODE_DIO_GPT
- PORT_PIN_MODE_DIO_WDG
- PORT_PIN_MODE_FLEXRAY
- PORT_PIN_MODE_ICU
- PORT_PIN_MODE_LIN
- PORT_PIN_MODE_MEM
- PORT_PIN_MODE_PWM
- PORT_PIN_MODE_SPI
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
Note:
See TracWiki
for help on using the wiki.