Changes between Version 6 and Version 7 of spec/Port


Ignore:
Timestamp:
Sep 28, 2020, 10:27:18 AM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Port

    v6 v7  
    1111* API一覧
    1212
    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]
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
     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* コンフィギュレーション一覧(R4.0.3 / R4.2.2)
     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] (○/○)
    3737
    3838* エラーコード一覧
    3939
    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||
     40  ||= エラーコード =||= Dec =||= Hex =||= R4.0.3 =||= R4.2.2 =||
     41  || PORT_E_PARAM_PIN              || 10|| 0x0A||  ○  ||  ○  ||
     42  || PORT_E_DIRECTION_UNCHANGEABLE || 11|| 0x0B||  ○  ||  ○  ||
     43  || PORT_E_PARAM_CONFIG           || 12|| 0x0C||  ○  ||  -   ||
     44  || PORT_E_INIT_FAILED            || 12|| 0x0C||  -   ||  ○  ||
     45  || PORT_E_PARAM_INVALID_MODE     || 13|| 0x0D||  ○  ||  ○  ||
     46  || PORT_E_MODE_UNCHANGEABLE      || 14|| 0x0E||  ○  ||  ○  ||
     47  || PORT_E_UNINIT                 || 15|| 0x0F||  ○  ||  ○  ||
     48  || PORT_E_PARAM_POINTER          || 16|| 0x10||  ○  ||  ○  ||
    4849
    4950----
     
    100101* 型:IntegerParam
    101102* 多重度:1
     103* 上限値:65535
     104* 下限値:1
    102105
    103106== PortPin ==
     
    114117* 型:EnumerationParam
    115118* 多重度:1
     119* 選択肢:
     120  * PORT_PIN_IN
     121  * PORT_PIN_OUT
    116122
    117123== PortPinDirectionChangeable ==
     
    128134* 型:IntegerParam
    129135* 多重度:1
     136* 上限値:65535
     137* 下限値:1
    130138
    131139== PortPinInitialMode ==
     
    135143* 型:EnumerationParam
    136144* 多重度:1
     145* 選択肢:
     146  * PORT_PIN_MODE_ADC
     147  * PORT_PIN_MODE_CAN
     148  * PORT_PIN_MODE_DIO
     149  * PORT_PIN_MODE_DIO_GPT
     150  * PORT_PIN_MODE_DIO_WDG
     151  * PORT_PIN_MODE_FLEXRAY
     152  * PORT_PIN_MODE_ICU
     153  * PORT_PIN_MODE_LIN
     154  * PORT_PIN_MODE_MEM
     155  * PORT_PIN_MODE_PWM
     156  * PORT_PIN_MODE_SPI
    137157
    138158== PortPinLevelValue ==
     
    142162* 型:EnumerationParam
    143163* 多重度:1
     164* 選択肢:
     165  * PORT_PIN_LEVEL_HIGH
     166  * PORT_PIN_LEVEL_LOW
    144167
    145168== PortPinMode ==
     
    149172* 型:EnumerationParam
    150173* 多重度:1..*
     174* 選択肢:
     175  * PORT_PIN_MODE_ADC
     176  * PORT_PIN_MODE_CAN
     177  * PORT_PIN_MODE_DIO
     178  * PORT_PIN_MODE_DIO_GPT
     179  * PORT_PIN_MODE_DIO_WDG
     180  * PORT_PIN_MODE_FLEXRAY
     181  * PORT_PIN_MODE_ICU
     182  * PORT_PIN_MODE_LIN
     183  * PORT_PIN_MODE_MEM
     184  * PORT_PIN_MODE_PWM
     185  * PORT_PIN_MODE_SPI
    151186
    152187== PortPinModeChangeable ==