Changes between Version 7 and Version 8 of spec/Pwm


Ignore:
Timestamp:
Oct 8, 2020, 10:56:57 AM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Pwm

    v7 v8  
    1111* API一覧
    1212
    13   ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
    14   || [#Pwm_Init Pwm_Init]                               ||  0|| 0x00||
    15   || [#Pwm_DeInit Pwm_DeInit]                           ||  1|| 0x01||
    16   || [#Pwm_SetDutyCycle Pwm_SetDutyCycle]               ||  2|| 0x02||
    17   || [#Pwm_SetPeriodAndDuty Pwm_SetPeriodAndDuty]       ||  3|| 0x03||
    18   || [#Pwm_SetOutputToIdle Pwm_SetOutputToIdle]         ||  4|| 0x04||
    19   || [#Pwm_GetOutputState Pwm_GetOutputState]           ||  5|| 0x05||
    20   || [#Pwm_DisableNotification Pwm_DisableNotification] ||  6|| 0x06||
    21   || [#Pwm_EnableNotification Pwm_EnableNotification]   ||  7|| 0x07||
    22   || [#Pwm_GetVersionInfo Pwm_GetVersionInfo]           ||  8|| 0x08||
    23 
    24 * コンフィギュレーション一覧
    25   * [#PwmChannelConfigSet PwmChannelConfigSet]
    26     * [#PwmChannel PwmChannel]
    27       * [#PwmChannelClass PwmChannelClass]
    28       * [#PwmChannelId PwmChannelId]
    29       * [#PwmDutycycleDefault PwmDutycycleDefault]
    30       * [#PwmIdleState PwmIdleState]
    31       * [#PwmNotification PwmNotification]
    32       * [#PwmPeriodDefault PwmPeriodDefault]
    33       * [#PwmPolarity PwmPolarity]
    34   * [#PwmConfigurationOfOptApiServices PwmConfigurationOfOptApiServices]
    35     * [#PwmDeInitApi PwmDeInitApi]
    36     * [#PwmGetOutputState PwmGetOutputState]
    37     * [#PwmSetDutyCycle PwmSetDutyCycle]
    38     * [#PwmSetOutputToIdle PwmSetOutputToIdle]
    39     * [#PwmSetPeriodAndDuty PwmSetPeriodAndDuty]
    40     * [#PwmVersionInfoApi PwmVersionInfoApi]
    41   * [#PwmGeneral PwmGeneral]
    42     * [#PwmDevErorDetect PwmDevErorDetect]
    43     * [#PwmDutycycleUpdatedEndperiod PwmDutycycleUpdatedEndperiod]
    44     * [#PwmIndex PwmIndex]
    45     * [#PwmNotificationSupported PwmNotificationSupported]
    46     * [#PwmPeriodUpdatedEndperiod PwmPeriodUpdatedEndperiod]
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
     14  || [#Pwm_Init Pwm_Init]                                                                  ||  0|| 0x00||  ○  ||  ○  ||
     15  || [#Pwm_DeInit Pwm_DeInit]                                                              ||  1|| 0x01||  ○  ||  ○  ||
     16  || [#Pwm_SetDutyCycle Pwm_SetDutyCycle]                                                  ||  2|| 0x02||  ○  ||  ○  ||
     17  || [#Pwm_SetPeriodAndDuty Pwm_SetPeriodAndDuty]                                          ||  3|| 0x03||  ○  ||  ○  ||
     18  || [#Pwm_SetOutputToIdle Pwm_SetOutputToIdle]                                            ||  4|| 0x04||  ○  ||  ○  ||
     19  || [#Pwm_GetOutputState Pwm_GetOutputState]                                              ||  5|| 0x05||  ○  ||  ○  ||
     20  || [#Pwm_DisableNotification Pwm_DisableNotification]                                    ||  6|| 0x06||  ○  ||  ○  ||
     21  || [#Pwm_EnableNotification Pwm_EnableNotification]                                      ||  7|| 0x07||  ○  ||  ○  ||
     22  || [#Pwm_SetPowerState Pwm_SetPowerState]                                                ||  9|| 0x09||  -   ||  ○  ||
     23  || [#Pwm_GetCurrentPowerState Pwm_GetCurrentPowerState]                                  || 10|| 0x0A||  -   ||  ○  ||
     24  || [#Pwm_GetTargetPowerState Pwm_GetTargetPowerState]                                    || 11|| 0x0B||  -   ||  ○  ||
     25  || [#Pwm_PreparePowerState Pwm_PreparePowerState]                                        || 12|| 0x0C||  -   ||  ○  ||
     26  || [#Pwm_GetVersionInfo Pwm_GetVersionInfo]                                              ||  8|| 0x08||  ○  ||  ○  ||
     27  || [#Pwm_Main_PowerTransitionManager Pwm_Main_PowerTransitionManager]                    || 13|| 0x0D||  -   ||  ○  ||
     28  || [#Pwm_Notification_Channel Pwm_Notification_<#Channel>]                               || --||   --||  -   ||  ○  ||
     29  || [#IoHwAb_Pwm_NotifyReadyForPowerStateMode IoHwAb_Pwm_NotifyReadyForPowerState<#Mode>] || 96|| 0x60||  -   ||  ○  ||
     30
     31* コンフィギュレーション一覧(R4.0.3 / R4.2.2)
     32  * [#PwmChannelConfigSet PwmChannelConfigSet] (○/○)
     33    * [#PwmChannel PwmChannel] (○/○)
     34      * [#PwmChannelClass PwmChannelClass] (○/○)
     35      * [#PwmChannelId PwmChannelId] (○/○)
     36      * [#PwmDutycycleDefault PwmDutycycleDefault] (○/○)
     37      * [#PwmIdleState PwmIdleState] (○/○)
     38      * [#PwmNotification PwmNotification] (○/○)
     39      * [#PwmPeriodDefault PwmPeriodDefault] (○/○)
     40      * [#PwmPolarity PwmPolarity] (○/○)
     41      * [#PwmMcuClockReferencePoint PwmMcuClockReferencePoint] (-/○)
     42  * [#PwmConfigurationOfOptApiServices PwmConfigurationOfOptApiServices] (○/○)
     43    * [#PwmDeInitApi PwmDeInitApi] (○/○)
     44    * [#PwmGetOutputState PwmGetOutputState] (○/○)
     45    * [#PwmSetDutyCycle PwmSetDutyCycle] (○/○)
     46    * [#PwmSetOutputToIdle PwmSetOutputToIdle] (○/○)
     47    * [#PwmSetPeriodAndDuty PwmSetPeriodAndDuty] (○/○)
     48    * [#PwmVersionInfoApi PwmVersionInfoApi] (○/○)
     49  * [#PwmGeneral PwmGeneral] (○/○)
     50    * [#PwmDevErorDetect PwmDevErorDetect] (○/-)
     51    * [#PwmDevErrorDetect PwmDevErrorDetect] (-/○)
     52    * [#PwmDutycycleUpdatedEndperiod PwmDutycycleUpdatedEndperiod] (○/○)
     53    * [#PwmIndex PwmIndex] (○/○)
     54    * [#PwmLowPowerStatesSupport PwmLowPowerStatesSupport] (-/○)
     55    * [#PwmNotificationSupported PwmNotificationSupported] (○/○)
     56    * [#PwmPeriodUpdatedEndperiod PwmPeriodUpdatedEndperiod] (○/○)
     57    * [#PwmPowerStateAsynchTransitionMode PwmPowerStateAsynchTransitionMode] (-/○)
     58    * [#PwmPowerStateConfig PwmPowerStateConfig] (-/○)
     59      * [#PwmPowerState PwmPowerState] (-/○)
     60      * [#PwmPowerStateReadyCbkRef PwmPowerStateReadyCbkRef] (-/○)
    4761
    4862* エラーコード一覧
    4963
    50   ||= エラーコード =||= Dec =||= Hex =||
    51   || PWM_E_PARAM_CONFIG        || 16|| 0x10||
    52   || PWM_E_UNINIT              || 17|| 0x11||
    53   || PWM_E_PARAM_CHANNEL       || 18|| 0x12||
    54   || PWM_E_PERIOD_UNCHANGEABLE || 19|| 0x13||
    55   || PWM_E_ALREADY_INITIALIZED || 20|| 0x14||
    56   || PWM_E_PARAM_POINTER       || 21|| 0x15||
     64  ||= エラーコード =||= Dec =||= Hex =||= R4.0.3 =||= R4.2.2 =||
     65  || PWM_E_PARAM_CONFIG              || 16|| 0x10||  ○  ||  -   ||
     66  || PWM_E_INIT_FAILED               || 16|| 0x10||  -   ||  ○  ||
     67  || PWM_E_UNINIT                    || 17|| 0x11||  ○  ||  ○  ||
     68  || PWM_E_PARAM_CHANNEL             || 18|| 0x12||  ○  ||  ○  ||
     69  || PWM_E_PERIOD_UNCHANGEABLE       || 19|| 0x13||  ○  ||  ○  ||
     70  || PWM_E_ALREADY_INITIALIZED       || 20|| 0x14||  ○  ||  ○  ||
     71  || PWM_E_PARAM_POINTER             || 21|| 0x15||  ○  ||  ○  ||
     72  || PWM_E_NOT_DISENGAGED            || 22|| 0x16||  -   ||  ○  ||
     73  || PWM_E_POWER_STATE_NOT_SUPPORTED || 23|| 0x17||  -   ||  ○  ||
     74  || PWM_E_TRANSITION_NOT POSSIBLE   || 24|| 0x18||  -   ||  ○  ||
     75  || PWM_E_PERIPHERAL_NOT_PREPARED   || 25|| 0x19||  -   ||  ○  ||
     76  || <MA>_E_NET_START_IND            ||  1|| 0x01||  -   ||  ○  ||
     77  || <MA>_E_SPURIOUS_INT             ||  1|| 0x01||  -   ||  ○  ||
    5778
    5879----
     
    100121}}}
    101122
     123== Pwm_SetPowerState ==
     124{{{
     125Std_ReturnType Pwm_SetPowerState(Pwm_PowerStateRequestResultType* Result)
     126}}}
     127
     128== Pwm_GetCurrentPowerState ==
     129{{{
     130Std_ReturnType Pwm_GetCurrentPowerState(Pwm_PowerStateType* CurrentPowerState, Pwm_PowerStateRequestResultType* Result)
     131}}}
     132
     133== Pwm_GetTargetPowerState ==
     134{{{
     135Std_ReturnType Pwm_GetTargetPowerState(Pwm_PowerStateType* TargetPowerState, Pwm_PowerStateRequestResultType* Result)
     136}}}
     137
     138== Pwm_PreparePowerState ==
     139{{{
     140Std_ReturnType Pwm_PreparePowerState(Pwm_PowerStateType PowerState, Pwm_PowerStateRequestResultType* Result)
     141}}}
     142
    102143== Pwm_GetVersionInfo ==
    103144{{{
    104145void Pwm_GetVersionInfo(Std_VersionInfoType* versioninfo)
     146}}}
     147
     148== Pwm_Main_PowerTransitionManager ==
     149{{{
     150void Pwm_Main_PowerTransitionManager(void)
     151}}}
     152
     153== Pwm_Notification_<#Channel> ==
     154{{{
     155void Pwm_Notification_<#Channel>(void)
     156}}}
     157
     158== IoHwAb_Pwm_NotifyReadyForPowerState<#Mode> ==
     159{{{
     160void IoHwAb_Pwm_NotifyReadyForPowerState<#Mode>(void)
    105161}}}
    106162
     
    129185* 型:EnumerationParam
    130186* 多重度:0..1
     187* 選択肢:
     188  * PWM_FIXED_PERIOD
     189  * PWM_FIXED_PERIOD_SHIFTED
     190  * PWM_VARIABLE_PERIOD
    131191
    132192== PwmChannelId ==
     
    136196* 型:IntegerParam
    137197* 多重度:1
     198* 上限値:4294967295
     199* 下限値:0
    138200
    139201== PwmDutycycleDefault ==
     
    143205* 型:IntegerParam
    144206* 多重度:1
     207* 上限値:32768
     208* 下限値:0
    145209
    146210== PwmIdleState ==
     
    150214* 型:EnumerationParam
    151215* 多重度:1
     216* 選択肢:
     217  * PWM_HIGH
     218  * PWM_LOW
    152219
    153220== PwmNotification ==
     
    164231* 型:FloatParam
    165232* 多重度:1
     233* 上限値:Inf
     234* 下限値:0
    166235
    167236== PwmPolarity ==
     
    171240* 型:EnumerationParam
    172241* 多重度:1
     242* 選択肢:
     243  * PWM_HIGH
     244  * PWM_LOW
     245
     246== PwmMcuClockReferencePoint ==
     247{{{
     248/AUTOSAR/EcucDefs/Pwm/PwmChannelConfigSet/PwmChannel/PwmMcuClockReferencePoint
     249}}}
     250* 型:Reference
     251* 多重度:1
     252* 参照先:{{{/AUTOSAR/EcucDefs/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint}}}
    173253
    174254== PwmConfigurationOfOptApiServices ==
     
    235315* 多重度:1
    236316
     317== PwmDevErrorDetect ==
     318{{{
     319/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmDevErrorDetect
     320}}}
     321* 型:BooleanParam
     322* 多重度:1
     323
    237324== PwmDutycycleUpdatedEndperiod ==
    238325{{{
     
    248335* 型:IntegerParam
    249336* 多重度:1
     337* 上限値:4294967295
     338* 下限値:0
     339
     340== PwmLowPowerStatesSupport ==
     341{{{
     342/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmLowPowerStatesSupport
     343}}}
     344* 型:BooleanParam
     345* 多重度:0..1
     346* デフォルト値:false
    250347
    251348== PwmNotificationSupported ==
     
    262359* 型:BooleanParam
    263360* 多重度:1
     361
     362== PwmPowerStateAsynchTransitionMode ==
     363{{{
     364/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmPowerStateAsynchTransitionMode
     365}}}
     366* 型:BooleanParam
     367* 多重度:0..1
     368* デフォルト値:false
     369
     370== PwmPowerStateConfig ==
     371{{{
     372/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmPowerStateConfig
     373}}}
     374* 型:Container
     375* 多重度:0..*
     376
     377== PwmPowerState ==
     378{{{
     379/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmPowerStateConfig/PwmPowerState
     380}}}
     381* 型:IntegerParam
     382* 多重度:1
     383* 上限値:18446744073709551615
     384* 下限値:0
     385
     386== PwmPowerStateReadyCbkRef ==
     387{{{
     388/AUTOSAR/EcucDefs/Pwm/PwmGeneral/PwmPowerStateConfig/PwmPowerStateReadyCbkRef
     389}}}
     390* 型:FunctionName
     391* 多重度:1