22 | | = 概要 = |
| 11 | * API一覧 |
| 12 | |
| 13 | ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| |
| 14 | || [#Port_Init Port_Init] || 0|| 0x00|| |
| 15 | || [#Port_SetPinDirection Port_SetPinDirection] || 1|| 0x01|| |
| 16 | || [#Port_RefreshPortDirection Port_RefreshPortDirection] || 2|| 0x02|| |
| 17 | || [#Port_GetVersionInfo Port_GetVersionInfo] || 3|| 0x03|| |
| 18 | || [#Port_SetPinMode Port_SetPinMode] || 4|| 0x04|| |
| 19 | |
| 20 | * コンフィギュレーション一覧 |
| 21 | * [#PortConfigSet PortConfigSet] |
| 22 | * [#PortContainer PortContainer] |
| 23 | * [#PortNumberOfPortPins PortNumberOfPortPins] |
| 24 | * [#PortPin PortPin] |
| 25 | * [#PortPinDirection PortPinDirection] |
| 26 | * [#PortPinDirectionChangeable PortPinDirectionChangeable] |
| 27 | * [#PortPinId PortPinId] |
| 28 | * [#PortPinInitialMode PortPinInitialMode] |
| 29 | * [#PortPinLevelValue PortPinLevelValue] |
| 30 | * [#PortPinMode PortPinMode] |
| 31 | * [#PortPinModeChangeable PortPinModeChangeable] |
| 32 | * [#PortGeneral PortGeneral] |
| 33 | * [#PortDevErrorDetect PortDevErrorDetect] |
| 34 | * [#PortSetPinDirectionApi PortSetPinDirectionApi] |
| 35 | * [#PortSetPinModeApi PortSetPinModeApi] |
| 36 | * [#PortVersionInfoApi PortVersionInfoApi] |
| 37 | |
| 38 | * エラーコード一覧 |
| 39 | |
| 40 | ||= エラーコード =||= Dec =||= Hex =|| |
| 41 | || PORT_E_PARAM_PIN || 10|| 0x0A|| |
| 42 | || PORT_E_DIRECTION_UNCHANGEABLE || 11|| 0x0B|| |
| 43 | || PORT_E_PARAM_CONFIG || 12|| 0x0C|| |
| 44 | || PORT_E_PARAM_INVALID_MODE || 13|| 0x0D|| |
| 45 | || PORT_E_MODE_UNCHANGEABLE || 14|| 0x0E|| |
| 46 | || PORT_E_UNINIT || 15|| 0x0F|| |
| 47 | || PORT_E_PARAM_POINTER || 16|| 0x10|| |
| 53 | == Port_Init == |
| 54 | {{{ |
| 55 | void Port_Init(const Port_ConfigType* ConfigPtr) |
| 56 | }}} |
| 57 | |
| 58 | == Port_SetPinDirection == |
| 59 | {{{ |
| 60 | void Port_SetPinDirection(Port_PinType Pin, Port_PinDirectionType Direction) |
| 61 | }}} |
| 62 | |
| 63 | == Port_RefreshPortDirection == |
| 64 | {{{ |
| 65 | void Port_RefreshPortDirection(void) |
| 66 | }}} |
| 67 | |
| 68 | == Port_GetVersionInfo == |
| 69 | {{{ |
| 70 | void Port_GetVersionInfo(Std_VersionInfoType* versioninfo) |
| 71 | }}} |
| 72 | |
| 73 | == Port_SetPinMode == |
| 74 | {{{ |
| 75 | void Port_SetPinMode(Port_PinType Pin, Port_PinModeType Mode) |
| 76 | }}} |
| 77 | |
| 81 | |
| 82 | == PortConfigSet == |
| 83 | {{{ |
| 84 | /AUTOSAR/EcucDefs/Port/PortConfigSet |
| 85 | }}} |
| 86 | * 型:Container |
| 87 | * 多重度:1 |
| 88 | |
| 89 | == PortContainer == |
| 90 | {{{ |
| 91 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer |
| 92 | }}} |
| 93 | * 型:Container |
| 94 | * 多重度:1..* |
| 95 | |
| 96 | == PortNumberOfPortPins == |
| 97 | {{{ |
| 98 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortNumberOfPortPins |
| 99 | }}} |
| 100 | * 型:IntegerParam |
| 101 | * 多重度:1 |
| 102 | |
| 103 | == PortPin == |
| 104 | {{{ |
| 105 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin |
| 106 | }}} |
| 107 | * 型:Container |
| 108 | * 多重度:1..* |
| 109 | |
| 110 | == PortPinDirection == |
| 111 | {{{ |
| 112 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirection |
| 113 | }}} |
| 114 | * 型:EnumerationParam |
| 115 | * 多重度:1 |
| 116 | |
| 117 | == PortPinDirectionChangeable == |
| 118 | {{{ |
| 119 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinDirectionChangeable |
| 120 | }}} |
| 121 | * 型:BooleanParam |
| 122 | * 多重度:1 |
| 123 | |
| 124 | == PortPinId == |
| 125 | {{{ |
| 126 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinId |
| 127 | }}} |
| 128 | * 型:IntegerParam |
| 129 | * 多重度:1 |
| 130 | |
| 131 | == PortPinInitialMode == |
| 132 | {{{ |
| 133 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinInitialMode |
| 134 | }}} |
| 135 | * 型:EnumerationParam |
| 136 | * 多重度:1 |
| 137 | |
| 138 | == PortPinLevelValue == |
| 139 | {{{ |
| 140 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinLevelValue |
| 141 | }}} |
| 142 | * 型:EnumerationParam |
| 143 | * 多重度:1 |
| 144 | |
| 145 | == PortPinMode == |
| 146 | {{{ |
| 147 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinMode |
| 148 | }}} |
| 149 | * 型:EnumerationParam |
| 150 | * 多重度:1..* |
| 151 | |
| 152 | == PortPinModeChangeable == |
| 153 | {{{ |
| 154 | /AUTOSAR/EcucDefs/Port/PortConfigSet/PortContainer/PortPin/PortPinModeChangeable |
| 155 | }}} |
| 156 | * 型:BooleanParam |
| 157 | * 多重度:1 |
| 158 | |
| 159 | == PortGeneral == |
| 160 | {{{ |
| 161 | /AUTOSAR/EcucDefs/Port/PortGeneral |
| 162 | }}} |
| 163 | * 型:Container |
| 164 | * 多重度:1 |
| 165 | |
| 166 | == PortDevErrorDetect == |
| 167 | {{{ |
| 168 | /AUTOSAR/EcucDefs/Port/PortGeneral/PortDevErrorDetect |
| 169 | }}} |
| 170 | * 型:BooleanParam |
| 171 | * 多重度:1 |
| 172 | |
| 173 | == PortSetPinDirectionApi == |
| 174 | {{{ |
| 175 | /AUTOSAR/EcucDefs/Port/PortGeneral/PortSetPinDirectionApi |
| 176 | }}} |
| 177 | * 型:BooleanParam |
| 178 | * 多重度:1 |
| 179 | |
| 180 | == PortSetPinModeApi == |
| 181 | {{{ |
| 182 | /AUTOSAR/EcucDefs/Port/PortGeneral/PortSetPinModeApi |
| 183 | }}} |
| 184 | * 型:BooleanParam |
| 185 | * 多重度:1 |
| 186 | |
| 187 | == PortVersionInfoApi == |
| 188 | {{{ |
| 189 | /AUTOSAR/EcucDefs/Port/PortGeneral/PortVersionInfoApi |
| 190 | }}} |
| 191 | * 型:BooleanParam |
| 192 | * 多重度:1 |