;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 ; ..\..\..\MCAL\McalLib_ZX_K14xM\Src\McalLib.c -o ; objs\release\McalLib.o ;Source File: ..\..\..\MCAL\McalLib_ZX_K14xM\Src\McalLib.c ;Directory: ; D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject ;Compile Date: Mon Dec 18 00:01:46 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 ".mcal_code","ax" .align 2 ..gh.f.f.1.a.1.e.0: .endo ..gh.f.f.1.a.1.e.0 .thumb2 McalLib_Init:: push {lr} .L69: bl McalLib_OsCounter_Init movs r0,0 movw r1,%lo(McalLib_IntDisabledCounter) movt r1,%hi(McalLib_IntDisabledCounter) str r0,[r1] .L71: pop {pc} .endf McalLib_Init .section ".mcal_bss","awb" .align 4 McalLib_IntDisabledCounter: .space 4 .endo McalLib_IntDisabledCounter .section ".ghcalltbl","" .align 4 .L70: .data.w .L69 .endo .L70 .section ".ghrettbl","" .align 4 .L72: .data.w .L71 .endo .L72 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.1: .endo ..gh.f.f.1.a.1.e.1 McalLib_GetCounterValue:: movs r2,1 cmp r0,1 beq .L77 itt hs mov r0,r2 .L367: ret .L76: str r0,[r1] movs r0,0 .L369: ret .L77: cpy r0,r1 .L371: b McalLib_OsCounter_GetCounterValue .endf McalLib_GetCounterValue ;Ret r2 local ;Counter r0 param ;Value r1 param .section ".bss","awb" .L309: .endo .L309 .section ".ghrettbl","" .L368: .data.w .L367 .endo .L368 .L370: .data.w .L369 .endo .L370 .section ".ghtailcalltbl","" .align 4 .L372: .data.w .L371 .endo .L372 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.2: .endo ..gh.f.f.1.a.1.e.2 McalLib_GetElapsedValue:: push {r4,lr} cpy r4,r1 movs r3,1 cmp r0,1 beq .L377 itt hs mov r0,r3 .L519: pop {r4,pc} .L376: str r3,[r2] ldr r0,[r1] adds r0,r0,1 str r0,[r1] movs r0,0 .L521: pop {r4,pc} .L377: cpy r1,r2 cpy r0,r4 pop {r4,lr} .L523: b McalLib_OsCounter_GetElapsedValue .endf McalLib_GetElapsedValue ;Ret r3 local ;Counter r0 param ;CounterValue r4 param ;ElapsedValue r2 param .section ".bss","awb" .L469: .endo .L469 .section ".ghrettbl","" .L520: .data.w .L519 .endo .L520 .L522: .data.w .L521 .endo .L522 .section ".ghtailcalltbl","" .L524: .data.w .L523 .endo .L524 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.3: .endo ..gh.f.f.1.a.1.e.3 McalLib_MicroSecToTicks:: movs r2,0 cmp r0,1 itt lo mov r0,r1 .L679: ret itt ne mov r0,r2 .L681: ret .L529: cpy r0,r1 .L683: b McalLib_OsCounter_MicroSecToTicks .endf McalLib_MicroSecToTicks ;Value r2 local ;Counter r0 param ;MicroSecond r1 param .section ".bss","awb" .L623: .endo .L623 .section ".ghrettbl","" .L680: .data.w .L679 .endo .L680 .L682: .data.w .L681 .endo .L682 .section ".ghtailcalltbl","" .L684: .data.w .L683 .endo .L684 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.4: .endo ..gh.f.f.1.a.1.e.4 McalLib_SetCounterFreq:: cmp r0,1 it ne .L794: ret cpy r0,r1 .L796: b McalLib_OsCounter_SetCounterFreq .endf McalLib_SetCounterFreq ;Counter r0 param ;Freq r1 param .section ".bss","awb" .L759: .endo .L759 .section ".ghrettbl","" .L795: .data.w .L794 .endo .L795 .section ".ghtailcalltbl","" .L797: .data.w .L796 .endo .L797 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.5: .endo ..gh.f.f.1.a.1.e.5 McalLib_SuspendAllInterrupts:: push {lr} movw r1,%lo(McalLib_IntDisabledCounter) movt r1,%hi(McalLib_IntDisabledCounter) ldr r0,[r1] cmp r0,0 bne .L800 ..gh.beginasm.6: .endo ..gh.beginasm.6 cpsid i ..gh.endasm.7: .endo ..gh.endasm.7 .L800: movw r1,%lo(McalLib_IntDisabledCounter) movt r1,%hi(McalLib_IntDisabledCounter) ldr r0,[r1] adds r0,r0,1 str r0,[r1] .L914: pop {pc} .endf McalLib_SuspendAllInterrupts .section ".ghrettbl","" .L915: .data.w .L914 .endo .L915 .section ".mcal_code","ax" .assert 0x0 + (McalLib_IntDisabledCounter - McalLib_IntDisabledCounter) +0 == 0 ..gh.f.f.1.a.1.e.8: .endo ..gh.f.f.1.a.1.e.8 McalLib_ResumeAllInterrupts:: push {r4,lr} movw r4,%lo(McalLib_IntDisabledCounter) movt r4,%hi(McalLib_IntDisabledCounter) ldr r0,[r4] cmp r0,0 bls .L918 ldr r0,[r4] subs r0,r0,1 str r0,[r4] .L918: ldr r0,[r4] cmp r0,0 it ne .L1055: pop {r4,pc} ..gh.beginasm.9: .endo ..gh.beginasm.9 cpsie i ..gh.endasm.10: .endo ..gh.endasm.10 .L1057: pop {r4,pc} .endf McalLib_ResumeAllInterrupts .section ".ghrettbl","" .L1056: .data.w .L1055 .endo .L1056 .L1058: .data.w .L1057 .endo .L1058 .section ".mcal_code","ax" ;McalLib_IntDisabledCounter McalLib_IntDisabledCounter static .ghsnote info, 27, 8195, 640