Changes between Version 6 and Version 7 of spec/Mcu


Ignore:
Timestamp:
Sep 28, 2020, 9:56:04 AM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Mcu

    v6 v7  
    1111* API一覧
    1212
    13   ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
    14   || [#Mcu_Init Mcu_Init]                             ||  0|| 0x00||
    15   || [#Mcu_InitRamSection Mcu_InitRamSection]         ||  1|| 0x01||
    16   || [#Mcu_InitClock Mcu_InitClock]                   ||  2|| 0x02||
    17   || [#Mcu_DistributePllClock Mcu_DistributePllClock] ||  3|| 0x03||
    18   || [#Mcu_GetPllStatus Mcu_GetPllStatus]             ||  4|| 0x04||
    19   || [#Mcu_GetResetReason Mcu_GetResetReason]         ||  5|| 0x05||
    20   || [#Mcu_GetResetRawValue Mcu_GetResetRawValue]     ||  6|| 0x06||
    21   || [#Mcu_PerformReset Mcu_PerformReset]             ||  7|| 0x07||
    22   || [#Mcu_SetMode Mcu_SetMode]                       ||  8|| 0x08||
    23   || [#Mcu_GetVersionInfo Mcu_GetVersionInfo]         ||  9|| 0x09||
    24   || [#Mcu_GetRamState Mcu_GetRamState]               ||  4|| 0x04||
    25 
    26 * コンフィギュレーション一覧
    27   * [#McuGeneralConfiguration McuGeneralConfiguration]
    28     * [#McuDevErrorDetect McuDevErrorDetect]
    29     * [#McuGetRamStateApi McuGetRamStateApi]
    30     * [#McuInitClock McuInitClock]
    31     * [#McuNoPll McuNoPll]
    32     * [#McuPerformResetApi McuPerformResetApi]
    33     * [#McuVersionInfoApi McuVersionInfoApi]
    34   * [#McuModuleConfiguration McuModuleConfiguration]
    35     * [#McuClockSrcFailureNotification McuClockSrcFailureNotification]
    36     * [#McuNumberOfMcuModes McuNumberOfMcuModes]
    37     * [#McuRamSectors McuRamSectors]
    38     * [#McuResetSetting McuResetSetting]
    39     * [#McuClockSettingConfig McuClockSettingConfig]
    40       * [#McuClockSettingId McuClockSettingId]
    41       * [#McuClockReferencePoint McuClockReferencePoint]
    42         * [#McuClockReferencePointFrequency McuClockReferencePointFrequency]
    43     * [#McuDemEventParameterRefs McuDemEventParameterRefs]
    44       * [#MCU_E_CLOCK_FAILURE MCU_E_CLOCK_FAILURE]
    45     * [#McuModeSettingConf McuModeSettingConf]
    46       * [#McuMode McuMode]
    47     * [#McuRamSectorSettingConf McuRamSectorSettingConf]
    48       * [#McuRamDefaultValue McuRamDefaultValue]
    49       * [#McuRamSectionBaseAddress McuRamSectionBaseAddress]
    50       * [#McuRamSectionSize McuRamSectionSize]
    51   * [#McuPublishedInformation McuPublishedInformation]
    52     * [#McuResetReasonConf McuResetReasonConf]
    53       * [#McuResetReason McuResetReason]
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||= 備考 =||
     14  || [#Mcu_Init Mcu_Init]                             ||  0|| 0x00||  ○  ||  ○  ||||
     15  || [#Mcu_InitRamSection Mcu_InitRamSection]         ||  1|| 0x01||  ○  ||  ○  ||||
     16  || [#Mcu_InitClock Mcu_InitClock]                   ||  2|| 0x02||  ○  ||  ○  ||||
     17  || [#Mcu_DistributePllClock Mcu_DistributePllClock] ||  3|| 0x03||  ○  ||  ○  ||||
     18  || [#Mcu_GetPllStatus Mcu_GetPllStatus]             ||  4|| 0x04||  ○  ||  ○  ||||
     19  || [#Mcu_GetResetReason Mcu_GetResetReason]         ||  5|| 0x05||  ○  ||  ○  ||||
     20  || [#Mcu_GetResetRawValue Mcu_GetResetRawValue]     ||  6|| 0x06||  ○  ||  ○  ||||
     21  || [#Mcu_PerformReset Mcu_PerformReset]             ||  7|| 0x07||  ○  ||  ○  ||||
     22  || [#Mcu_SetMode Mcu_SetMode]                       ||  8|| 0x08||  ○  ||  ○  ||||
     23  || [#Mcu_GetVersionInfo Mcu_GetVersionInfo]         ||  9|| 0x09||  ○  ||  ○  ||||
     24  || [#Mcu_GetRamState Mcu_GetRamState]               ||  4|| 0x04||  ○  ||  ○  ||IDがMcu_GetPllStatusと重複しており、R4.1で'''10(0x0A)'''に修正された||
     25
     26* コンフィギュレーション一覧(R4.0.3 / R4.2.2)
     27  * [#McuGeneralConfiguration McuGeneralConfiguration] (○/○)
     28    * [#McuDevErrorDetect McuDevErrorDetect] (○/○)
     29    * [#McuGetRamStateApi McuGetRamStateApi] (○/○)
     30    * [#McuInitClock McuInitClock] (○/○)
     31    * [#McuNoPll McuNoPll] (○/○)
     32    * [#McuPerformResetApi McuPerformResetApi] (○/○)
     33    * [#McuVersionInfoApi McuVersionInfoApi] (○/○)
     34  * [#McuModuleConfiguration McuModuleConfiguration] (○/○)
     35    * [#McuClockSrcFailureNotification McuClockSrcFailureNotification] (○/○)
     36    * [#McuNumberOfMcuModes McuNumberOfMcuModes] (○/○)
     37    * [#McuRamSectors McuRamSectors] (○/○)
     38    * [#McuResetSetting McuResetSetting] (○/○)
     39    * [#McuClockSettingConfig McuClockSettingConfig] (○/○)
     40      * [#McuClockSettingId McuClockSettingId] (○/○)
     41      * [#McuClockReferencePoint McuClockReferencePoint] (○/○)
     42        * [#McuClockReferencePointFrequency McuClockReferencePointFrequency] (○/○)
     43    * [#McuDemEventParameterRefs McuDemEventParameterRefs] (○/○)
     44      * [#MCU_E_CLOCK_FAILURE MCU_E_CLOCK_FAILURE] (○/○)
     45    * [#McuModeSettingConf McuModeSettingConf] (○/○)
     46      * [#McuMode McuMode] (○/○)
     47    * [#McuRamSectorSettingConf McuRamSectorSettingConf] (○/○)
     48      * [#McuRamDefaultValue McuRamDefaultValue] (○/○)
     49      * [#McuRamSectionBaseAddress McuRamSectionBaseAddress] (○/○)
     50      * [#McuRamSectionSize McuRamSectionSize] (○/○)
     51  * [#McuPublishedInformation McuPublishedInformation] (○/○)
     52    * [#McuResetReasonConf McuResetReasonConf] (○/○)
     53      * [#McuResetReason McuResetReason] (○/○)
    5454
    5555* エラーコード一覧
    56   * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される
    57 
    58   ||= エラーコード =||= Dec =||= Hex =||
    59   || MCU_E_PARAM_CONFIG     || 10|| 0x0A||
    60   || MCU_E_PARAM_CLOCK      || 11|| 0x0B||
    61   || MCU_E_PARAM_MODE       || 12|| 0x0C||
    62   || MCU_E_PARAM_RAMSECTION || 13|| 0x0D||
    63   || MCU_E_PLL_NOT_LOCKED   || 14|| 0x0E||
    64   || MCU_E_UNINIT           || 15|| 0x0F||
    65   || MCU_E_PARAM_POINTER    || 16|| 0x10||
    66   || MCU_E_CLOCK_FAILURE    || --||   --||
     56  * "--"は[wiki:spec/Dem Dem]により決定される
     57
     58  ||= エラーコード =||= Dec =||= Hex =||= R4.0.3 =||= R4.2.2 =||
     59  || MCU_E_PARAM_CONFIG     || 10|| 0x0A||  ○  ||  ○  ||
     60  || MCU_E_PARAM_CLOCK      || 11|| 0x0B||  ○  ||  ○  ||
     61  || MCU_E_PARAM_MODE       || 12|| 0x0C||  ○  ||  ○  ||
     62  || MCU_E_PARAM_RAMSECTION || 13|| 0x0D||  ○  ||  ○  ||
     63  || MCU_E_PLL_NOT_LOCKED   || 14|| 0x0E||  ○  ||  ○  ||
     64  || MCU_E_UNINIT           || 15|| 0x0F||  ○  ||  ○  ||
     65  || MCU_E_PARAM_POINTER    || 16|| 0x10||  ○  ||  ○  ||
     66  || MCU_E_INIT_FAILED      || 17|| 0x11||  -   ||  ○  ||
     67  || MCU_E_CLOCK_FAILURE    || --||   --||  ○  ||  ○  ||
    6768
    6869----
     
    8788== Mcu_DistributePllClock ==
    8889{{{
    89 void Mcu_DistributePllClock(void)
     90R4.0.3: void Mcu_DistributePllClock(void)
     91R4.2.2: Std_ReturnType Mcu_DistributePllClock(void)
    9092}}}
    9193
     
    156158* 型:BooleanParam
    157159* 多重度:1
     160* デフォルト値:true
    158161
    159162== McuNoPll ==
     
    163166* 型:BooleanParam
    164167* 多重度:1
     168* デフォルト値:true
    165169
    166170== McuPerformResetApi ==
     
    191195* 型:EnumerationParam
    192196* 多重度:1
     197* 選択肢:
     198  * DISABLED
     199  * ENABLED
    193200
    194201== McuNumberOfMcuModes ==
     
    198205* 型:IntegerParam
    199206* 多重度:1
     207* 上限値:255
     208* 下限値:1
    200209
    201210== McuRamSectors ==
     
    205214* 型:IntegerParam
    206215* 多重度:1
     216* 上限値:4294967295
     217* 下限値:
     218  * R4.0.3:1
     219  * R4.2.2:0
    207220
    208221== McuResetSetting ==
     
    212225* 型:IntegerParam
    213226* 多重度:0..1
     227* 上限値:255
     228* 下限値:1
    214229
    215230== McuClockSettingConfig ==
     
    226241* 型:IntegerParam
    227242* 多重度:1
     243* 上限値:255
     244* 下限値:
     245  * R4.0.3:1
     246  * R4.2.2:0
    228247
    229248== McuClockReferencePoint ==
     
    240259* 型:FloatParam
    241260* 多重度:1
     261* 上限値:Inf
     262* 下限値:0
    242263
    243264== McuDemEventParameterRefs ==
     
    254275* 型:Reference
    255276* 多重度:0..1
     277* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    256278
    257279== McuModeSettingConf ==
     
    268290* 型:IntegerParam
    269291* 多重度:1
     292* 上限値:255
     293* 下限値:
     294  * R4.0.3:1
     295  * R4.2.2:0
    270296
    271297== McuRamSectorSettingConf ==
     
    282308* 型:IntegerParam
    283309* 多重度:1
     310* 上限値:255
     311* 下限値:0
    284312
    285313== McuRamSectionBaseAddress ==
     
    289317* 型:IntegerParam
    290318* 多重度:1
     319* 上限値:4294967295
     320* 下限値:0
    291321
    292322== McuRamSectionSize ==
     
    296326* 型:IntegerParam
    297327* 多重度:1
     328* 上限値:4294967295
     329* 下限値:0
    298330
    299331== McuPublishedInformation ==
     
    317349* 型:IntegerParam
    318350* 多重度:1
     351* 上限値:255
     352* 下限値:0