;Driver Command: ccarm -c -MD -IGenerated\inc\ -I..\Generated\inc -I..\Src ; -I..\Src -I..\Generated\inc\ -I..\Src ; -I..\..\..\MCAL\Platform_ZX_K14xM\Inc ; -I..\..\..\MCAL\Platform_ZX_K14xM\StartUp\Inc ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc\Devices ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc ; -I..\..\..\MCAL\Mcu_ZX_K14xM\Inc -I..\..\..\MCAL\Adc_ZX_K14xM\Inc ; -I..\..\..\MCAL\Dem_ZX_K14xM\Inc -I..\..\..\MCAL\Det_ZX_K14xM\Inc ; -I..\..\..\MCAL\Dio_ZX_K14xM\Inc ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc ; -I..\..\..\MCAL\Wdg_ZX_K14xM\Inc ; -I..\..\..\MCAL\Port_ZX_K14xM\Inc ; -I..\..\..\MCAL\Rte_ZX_K14xM\Inc ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc\MemMap ; -I..\..\..\MCAL\WdgIf_ZX_K14xM\Inc ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc -I..\..\..\MCAL\Gpt_ZX_K14xM\Inc ; -I..\..\..\MCAL\Dma_ZX_K14xM\Inc -I..\..\..\MCAL\Pwm_ZX_K14xM\Inc ; -I..\..\..\MCAL\EcuM_ZX_K14xM\Inc ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc ; -I..\..\..\MCAL\CanIf_ZX_K14xM\Inc ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc ; -I..\..\..\MCAL\Ecum_ZX_K14xM\Inc ; -I..\..\..\MCAL\Fls_ZX_K14xM\Inc ; -I..\..\..\MCAL\MemIf_ZX_K14xM\Inc ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc -I..\..\..\mcal\Spi_ZX_K14xM\Inc ; -I..\..\..\Package\OS\Task ; -I..\..\..\Package\OS\Task\cpu_port\Zhixin ; -I..\..\..\Package\cm_backtrace -I..\..\..\Package\Cdd ; -I..\..\..\Package\Cdd\CddBuck\Gen ; -I..\..\..\Package\Cdd\CddBuck\Gen ; -I..\..\..\Package\Cdd\CddSbc\Api ; -I..\..\..\Package\Cdd\CddSbc\Cfg ; -I..\..\..\Package\Cdd\CddTle94x1\Cfg ; -I..\..\..\Package\Cdd\CddTle94x1\Api ; -I..\..\..\Package\Cdd\CddTle94x1\Gen ; -I..\..\..\Package\Cdd\CddBoost\Api -cpu=cortexm4f -Wshadow ; -Wtrigraphs -keeptempfiles -Wundef -Wimplicit-int -dual_debug ; --no_commons --no_exceptions --gnu_asm ; --incorrect_pragma_warnings --prototype_errors -list ; --misra_2004=2.1 -ignore_debug_references ; -preprocess_assembly_files -thumb_lib -thumb --hardware_divide ; -c99 -no_japanese_automotive_c --std --stdl --slash_comment ; -Ospeed --no_debug -object_dir=objs\release -filetype.c ; ..\Src\func.c -o objs\release\func.o ;Source File: ..\Src\func.c ;Directory: ; D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject ;Compile Date: Mon Dec 18 00:01:48 2023 ;Host OS: Win64 ;Version: C-ARM 2021.1.4 RELEASE VERSION ;Release: Compiler v2021.1.4 ;Revision Date: Mon Apr 26 12:37:23 2021 ;Release Date: Mon Apr 26 08:01:05 2021 ; ecom -w -OLM .section ".bss","awb" .align 4 bADCFlag:: .space 4 .endo bADCFlag Ex_Pwm_VersionInfo:: .space 8 .endo Ex_Pwm_VersionInfo .text .align 2 ..gh.f.f.1.a.1.e.0: .endo ..gh.f.f.1.a.1.e.0 .thumb2 Adc_TriggerGroup5ms:: push {lr} movs r0,0 .L117: bl Adc_StartGroupConversion movs r0,1 .L119: bl Adc_StartGroupConversion movs r0,2 .L121: bl Adc_StartGroupConversion movs r0,3 .L123: bl Adc_StartGroupConversion movs r0,4 .L125: bl Adc_StartGroupConversion movs r0,1 movw r1,%lo(bADCFlag) movt r1,%hi(bADCFlag) str r0,[r1] .L127: pop {pc} .endf Adc_TriggerGroup5ms .section ".ghcalltbl","" .align 4 .L118: .data.w .L117 .endo .L118 .L120: .data.w .L119 .endo .L120 .L122: .data.w .L121 .endo .L122 .L124: .data.w .L123 .endo .L124 .L126: .data.w .L125 .endo .L126 .section ".ghrettbl","" .align 4 .L128: .data.w .L127 .endo .L128 .text .assert 0x0 + (adc0_group0_data - adc0_group2_data) +0 == 40 .assert 0x0 + (adc0_group1_data - adc0_group2_data) +0 == 28 .assert 0x0 + (adc0_group2_data - adc0_group2_data) +0 == 0 .assert 0x0 + (adc1_group0_data - adc0_group2_data) +0 == 4 .assert 0x0 + (adc1_group1_data - adc0_group2_data) +0 == 16 ..gh.f.f.1.a.1.e.1: .endo ..gh.f.f.1.a.1.e.1 InitADC:: push {r4,lr} movw r4,%lo(adc0_group2_data) movt r4,%hi(adc0_group2_data) movs r0,0 .L194: bl Adc_Init add r1,r4,40 movs r0,0 .L196: bl Adc_SetupResultBuffer add r1,r4,28 movs r0,1 .L198: bl Adc_SetupResultBuffer cpy r1,r4 movs r0,2 .L200: bl Adc_SetupResultBuffer adds r1,r4,4 movs r0,3 .L202: bl Adc_SetupResultBuffer add r1,r4,16 movs r0,4 .L204: bl Adc_SetupResultBuffer movs r0,1 .L206: bl Gpt_EnableNotification mov r1,0x0bb8 movs r0,1 .L208: bl Gpt_StartTimer movs r0,0 .L210: bl Adc_EnableGroupNotification movs r0,1 .L212: bl Adc_EnableGroupNotification movs r0,2 .L214: bl Adc_EnableGroupNotification movs r0,3 .L216: bl Adc_EnableGroupNotification movs r0,4 pop {r4,lr} .L218: b Adc_EnableGroupNotification .endf InitADC .section ".bss","awb" adc0_group2_data: .space 2 .endo adc0_group2_data .space 2 adc1_group0_data: .space 12 .endo adc1_group0_data adc1_group1_data: .space 12 .endo adc1_group1_data adc0_group1_data: .space 12 .endo adc0_group1_data adc0_group0_data: .space 12 .endo adc0_group0_data .section ".ghcalltbl","" .L195: .data.w .L194 .endo .L195 .L197: .data.w .L196 .endo .L197 .L199: .data.w .L198 .endo .L199 .L201: .data.w .L200 .endo .L201 .L203: .data.w .L202 .endo .L203 .L205: .data.w .L204 .endo .L205 .L207: .data.w .L206 .endo .L207 .L209: .data.w .L208 .endo .L209 .L211: .data.w .L210 .endo .L211 .L213: .data.w .L212 .endo .L213 .L215: .data.w .L214 .endo .L215 .L217: .data.w .L216 .endo .L217 .section ".ghtailcalltbl","" .align 4 .L219: .data.w .L218 .endo .L219 .text ..gh.f.f.1.a.1.e.2: .endo ..gh.f.f.1.a.1.e.2 InitPWM:: push {lr} movs r0,0 .L277: bl Pwm_Init movw r0,%lo(Ex_Pwm_VersionInfo) movt r0,%hi(Ex_Pwm_VersionInfo) .L279: bl Pwm_GetVersionInfo mov r2,0x7918 mov r1,0x1f40 movs r0,1 .L281: bl Pwm_SetPeriodAndDuty mov r1,0x7918 movs r0,1 .L283: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,2 .L285: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,9 .L287: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,10 .L289: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,11 .L291: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,12 .L293: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,5 .L295: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,6 .L297: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,7 .L299: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,8 .L301: bl Pwm_SetDutyCycle mov r1,0x7918 movs r0,0 .L303: bl Pwm_SetDutyCycle .L305: pop {pc} .endf InitPWM .section ".ghcalltbl","" .L278: .data.w .L277 .endo .L278 .L280: .data.w .L279 .endo .L280 .L282: .data.w .L281 .endo .L282 .L284: .data.w .L283 .endo .L284 .L286: .data.w .L285 .endo .L286 .L288: .data.w .L287 .endo .L288 .L290: .data.w .L289 .endo .L290 .L292: .data.w .L291 .endo .L292 .L294: .data.w .L293 .endo .L294 .L296: .data.w .L295 .endo .L296 .L298: .data.w .L297 .endo .L298 .L300: .data.w .L299 .endo .L300 .L302: .data.w .L301 .endo .L302 .L304: .data.w .L303 .endo .L304 .section ".ghrettbl","" .L306: .data.w .L305 .endo .L306 .text ..gh.f.f.1.a.1.e.3: .endo ..gh.f.f.1.a.1.e.3 Adc0Grp0NotifyFunc:: .L357: ret .endf Adc0Grp0NotifyFunc .section ".bss","awb" .L343: .endo .L343 .section ".ghrettbl","" .L358: .data.w .L357 .endo .L358 .text ..gh.f.f.1.a.1.e.4: .endo ..gh.f.f.1.a.1.e.4 Adc1Grp0NotifyFunc:: .L405: ret .endf Adc1Grp0NotifyFunc .section ".bss","awb" .L391: .endo .L391 .section ".ghrettbl","" .L406: .data.w .L405 .endo .L406 .text ..gh.f.f.1.a.1.e.5: .endo ..gh.f.f.1.a.1.e.5 Adc1Grp1NotifyFunc:: .L453: ret .endf Adc1Grp1NotifyFunc .section ".bss","awb" .L439: .endo .L439 .section ".ghrettbl","" .L454: .data.w .L453 .endo .L454 .text ;adc0_group0_data adc0_group0_data static ;adc0_group1_data adc0_group1_data static ;adc0_group2_data adc0_group2_data static ;adc1_group0_data adc1_group0_data static ;adc1_group1_data adc1_group1_data static .ghsnote info, 27, 3, 640