;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\Mcu_ZX_K14xM\Src\Mcu.c -o objs\release\Mcu.o ;Source File: ..\..\..\MCAL\Mcu_ZX_K14xM\Src\Mcu.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 Mcu_CheckMcuInitialized: push {r4,lr} movw r2,%lo(Mcu_Status) movt r2,%hi(Mcu_Status) ldr r1,[r2] movs r4,1 cbnz r1,.L241 cpy r4,r1 cpy r2,r0 movs r3,15 movs r0,101 .L519: bl Det_ReportError .L241: cpy r0,r4 .L521: pop {r4,pc} .endf Mcu_CheckMcuInitialized ;CheckStatus r4 local ;McuServiceID r0 param .section ".bss","awb" .align 4 Mcu_Status: .space 4 .endo Mcu_Status .section ".ghcalltbl","" .align 4 .L520: .data.w .L519 .endo .L520 .section ".ghrettbl","" .align 4 .L522: .data.w .L521 .endo .L522 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.1: .endo ..gh.f.f.1.a.1.e.1 Mcu_GetClockReadyState: .L582: b Mcu_Drvw_GetClockReadyState .endf Mcu_GetClockReadyState ;ClockSource none param .section ".bss","awb" .L563: .endo .L563 .section ".ghtailcalltbl","" .align 4 .L583: .data.w .L582 .endo .L583 .section ".mcal_code","ax" .assert 0x0 + (Mcu_ConfigPtr - Mcu_Status) +0 == 4 .assert 0x0 + (Mcu_Status - Mcu_Status) +0 == 0 ..gh.f.f.1.a.1.e.2: .endo ..gh.f.f.1.a.1.e.2 Mcu_Init:: push {r4-r6,lr} movw r4,%lo(Mcu_Status) movt r4,%hi(Mcu_Status) ldr r1,[r4] cmp r1,0 bne .L586 cmp r0,0 bne .L588 movw r0,%lo(Mcu_PreDefinedConfigPtr) movt r0,%hi(Mcu_PreDefinedConfigPtr) ldr r1,[r0] str r1,[r4,4] cbz r1,.L603 ldr r0,[r1,4] movs r2,0 lsrs r3,r0,3 beq .L749 mov r5,7 .L755: cpy r6,r5 adds r5,r5,8 adds r2,r2,8 subs r3,r3,1 bne .L755 movw r3,%lo(Mcu_ModeConfigIds) movt r3,%hi(Mcu_ModeConfigIds) strb r6,[r3] .L749: ands r0,r0,7 beq .L741 .L752: cpy r3,r2 adds r2,r2,1 subs r0,r0,1 bne .L752 movw r0,%lo(Mcu_ModeConfigIds) movt r0,%hi(Mcu_ModeConfigIds) strb r3,[r0] .L741: ldr r0,[r1,8] movs r2,0 lsrs r3,r0,3 beq .L740 mov r5,7 .L746: cpy r6,r5 adds r5,r5,8 adds r2,r2,8 subs r3,r3,1 bne .L746 movw r3,%lo(Mcu_ClockConfigIds) movt r3,%hi(Mcu_ClockConfigIds) strb r6,[r3] .L740: ands r0,r0,7 beq .L603 .L743: cpy r3,r2 adds r2,r2,1 subs r0,r0,1 bne .L743 movw r0,%lo(Mcu_ClockConfigIds) movt r0,%hi(Mcu_ClockConfigIds) strb r3,[r0] .L603: ldr r0,[r1,20] .L1279: bl Mcu_Drvw_Init movs r0,1 str r0,[r4] .L1281: pop {r4-r6,pc} .L588: movs r3,17 cpy r2,r1 movs r0,101 .L1283: bl Det_ReportError movs r0,0 str r0,[r4,4] .L1285: pop {r4-r6,pc} .L586: movs r3,19 movs r2,0 cpy r1,r2 movs r0,101 pop {r4-r6,lr} .L1287: b Det_ReportError .endf Mcu_Init ;Index r2 local ;Index r2 local ;ConfigPtr r0 param .section ".bss","awb" Mcu_ConfigPtr: .space 4 .endo Mcu_ConfigPtr .section ".mcal_bss","awb" Mcu_ClockConfigIds: .space 1 .endo Mcu_ClockConfigIds Mcu_ModeConfigIds: .space 1 .endo Mcu_ModeConfigIds .section ".ghcalltbl","" .L1280: .data.w .L1279 .endo .L1280 .section ".ghrettbl","" .L1282: .data.w .L1281 .endo .L1282 .section ".ghcalltbl","" .L1284: .data.w .L1283 .endo .L1284 .section ".ghrettbl","" .L1286: .data.w .L1285 .endo .L1286 .section ".ghtailcalltbl","" .L1288: .data.w .L1287 .endo .L1288 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.3: .endo ..gh.f.f.1.a.1.e.3 Mcu_InitRamSection:: push {lr} movs r0,1 .L1369: bl Mcu_CheckMcuInitialized movs r0,1 .L1371: pop {pc} .endf Mcu_InitRamSection ;RamSection none param .section ".bss","awb" .L1347: .endo .L1347 .section ".ghcalltbl","" .L1370: .data.w .L1369 .endo .L1370 .section ".ghrettbl","" .L1372: .data.w .L1371 .endo .L1372 .section ".mcal_code","ax" .assert 0x0 + (Mcu_ClockConfigIds - Mcu_ClockConfigIds) +0 == 0 .assert 0x0 + (Mcu_ClockConfigPtr - Mcu_ClockConfigIds) +0 == 4 ..gh.f.f.1.a.1.e.4: .endo ..gh.f.f.1.a.1.e.4 Mcu_InitClock:: push {r4-r5,lr} cpy r5,r0 movs r4,1 movs r0,2 .L1654: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L1373 movw r0,%lo(Mcu_ConfigPtr) movt r0,%hi(Mcu_ConfigPtr) ldr r2,[r0] cbz r2,.L1373 ldr r0,[r2,8] cmp r5,r0 blo .L1378 movs r3,11 movs r2,2 movs r1,0 movs r0,101 .L1656: bl Det_ReportError b .L1373 .L1378: movw r1,%lo(Mcu_ClockConfigIds) movt r1,%hi(Mcu_ClockConfigIds) ldr r0,[r2,16] ldrb r2,[r1] add r0,r0,r2 lsl 3 ldr r0,[r0,4] str r0,[r1,4] .L1658: bl Mcu_Drvw_InitClock movs r4,0 .L1373: cpy r0,r4 .L1660: pop {r4-r5,pc} .endf Mcu_InitClock ;ClockStatus r4 local ;ClockSetting r5 param .section ".mcal_bss","awb" .space 2 .align 4 Mcu_ClockConfigPtr: .space 4 .endo Mcu_ClockConfigPtr .section ".ghcalltbl","" .L1655: .data.w .L1654 .endo .L1655 .L1657: .data.w .L1656 .endo .L1657 .L1659: .data.w .L1658 .endo .L1659 .section ".ghrettbl","" .L1661: .data.w .L1660 .endo .L1661 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.5: .endo ..gh.f.f.1.a.1.e.5 Mcu_DistributePllClock:: push {r4,lr} movs r4,1 movs r0,3 .L1850: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L1662 .L1852: bl Mcu_Drvw_GetPllStatus cmp r0,1 beq .L1667 movs r3,14 movs r2,3 movs r1,0 movs r0,101 .L1854: bl Det_ReportError b .L1662 .L1667: .L1856: bl Mcu_Drvw_DistributePllClock movs r4,0 .L1662: cpy r0,r4 .L1858: pop {r4,pc} .endf Mcu_DistributePllClock ;PllStatus r4 local .section ".bss","awb" .L1798: .endo .L1798 .section ".ghcalltbl","" .L1851: .data.w .L1850 .endo .L1851 .L1853: .data.w .L1852 .endo .L1853 .L1855: .data.w .L1854 .endo .L1855 .L1857: .data.w .L1856 .endo .L1857 .section ".ghrettbl","" .L1859: .data.w .L1858 .endo .L1859 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.6: .endo ..gh.f.f.1.a.1.e.6 Mcu_GetPllStatus:: push {r4,lr} movs r4,2 movs r0,4 .L1989: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L1867 .L1991: bl Mcu_Drvw_GetPllStatus subs r4,r0,1 it ne mov r4,1 .L1867: cpy r0,r4 .L1993: pop {r4,pc} .endf Mcu_GetPllStatus ;PllStatus r4 local .section ".bss","awb" .L1951: .endo .L1951 .section ".ghcalltbl","" .L1990: .data.w .L1989 .endo .L1990 .L1992: .data.w .L1991 .endo .L1992 .section ".ghrettbl","" .L1994: .data.w .L1993 .endo .L1994 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.7: .endo ..gh.f.f.1.a.1.e.7 Mcu_GetResetReason:: push {r4,lr} movs r4,3 movs r0,5 .L3173: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L2007 .L3175: bl Mcu_Drvw_GetResetReason movs r2,2 movw r1,%lo(Mcu_ResetReasonTable) movt r1,%hi(Mcu_ResetReasonTable) .L2208: ldr r3,[r1] cmp r0,r3 bne .L2210 ldr r0,[r1,4] .L3177: pop {r4,pc} .L2210: ldr r3,[r1,8] cmp r0,r3 bne .L2212 ldr r0,[r1,12] .L3179: pop {r4,pc} .L2212: ldr r3,[r1,16] cmp r0,r3 bne .L2214 ldr r0,[r1,20] .L3181: pop {r4,pc} .L2214: ldr r3,[r1,24] cmp r0,r3 bne .L2216 ldr r0,[r1,28] .L3183: pop {r4,pc} .L2216: ldr r3,[r1,32] cmp r0,r3 bne .L2218 ldr r0,[r1,36] .L3185: pop {r4,pc} .L2218: ldr r3,[r1,40] cmp r0,r3 bne .L2220 ldr r0,[r1,44] .L3187: pop {r4,pc} .L2220: ldr r3,[r1,48] cmp r0,r3 bne .L2222 ldr r0,[r1,52] .L3189: pop {r4,pc} .L2222: adds r1,r1,56 subs r2,r2,1 bne .L2208 .L2007: cpy r0,r4 .L3191: pop {r4,pc} .endf Mcu_GetResetReason ;ResetReason r4 local ;DrvwResetReason r0 local .section ".mcal_const","a" .align 4 Mcu_ResetReasonTable: .space 4 .data.b 4,0,0,0 .data.b 1,0,0,0 .data.b 5,0,0,0 .data.b 2,0,0,0 .data.b 6,0,0,0 .data.b 5,0,0,0 .data.b 1,0,0,0 .data.b 6,0,0,0 .data.b 7,0,0,0 .data.b 7,0,0,0 .space 4 .data.b 9,0,0,0 .data.b 8,0,0,0 .data.b 10,0,0,0 .data.b 2,0,0,0 .data.b 11,0,0,0 .data.b 9,0,0,0 .data.b 12,0,0,0 .data.b 10,0,0,0 .data.b 13,0,0,0 .data.b 11,0,0,0 .data.b 15,0,0,0 .data.b 12,0,0,0 .data.b 85,0,0,0 .data.b 14,0,0,0 .data.b 255,0,0,0 .data.b 3,0,0,0 .endo Mcu_ResetReasonTable .section ".bss","awb" .L3008: .endo .L3008 .section ".ghcalltbl","" .L3174: .data.w .L3173 .endo .L3174 .L3176: .data.w .L3175 .endo .L3176 .section ".ghrettbl","" .L3178: .data.w .L3177 .endo .L3178 .L3180: .data.w .L3179 .endo .L3180 .L3182: .data.w .L3181 .endo .L3182 .L3184: .data.w .L3183 .endo .L3184 .L3186: .data.w .L3185 .endo .L3186 .L3188: .data.w .L3187 .endo .L3188 .L3190: .data.w .L3189 .endo .L3190 .L3192: .data.w .L3191 .endo .L3192 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.8: .endo ..gh.f.f.1.a.1.e.8 Mcu_GetResetRawValue:: push {r4,lr} mov r4,-1 movs r0,6 .L3305: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L3197 .L3307: bl Mcu_Drvw_GetResetRawValue cpy r4,r0 .L3197: cpy r0,r4 .L3309: pop {r4,pc} .endf Mcu_GetResetRawValue ;RawResetValue r4 local .section ".bss","awb" .L3267: .endo .L3267 .section ".ghcalltbl","" .L3306: .data.w .L3305 .endo .L3306 .L3308: .data.w .L3307 .endo .L3308 .section ".ghrettbl","" .L3310: .data.w .L3309 .endo .L3310 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.9: .endo ..gh.f.f.1.a.1.e.9 Mcu_PerformReset:: push {lr} movs r0,7 .L3411: bl Mcu_CheckMcuInitialized cmp r0,1 it eq .L3413: bl Mcu_Drvw_PerformReset .L3415: pop {pc} .endf Mcu_PerformReset .section ".bss","awb" .L3383: .endo .L3383 .section ".ghcalltbl","" .L3412: .data.w .L3411 .endo .L3412 .L3414: .data.w .L3413 .endo .L3414 .section ".ghrettbl","" .L3416: .data.w .L3415 .endo .L3416 .section ".mcal_code","ax" .assert 0x0 + (Mcu_ConfigPtr - Mcu_ConfigPtr) +0 == 0 ..gh.f.f.1.a.1.e.10: .endo ..gh.f.f.1.a.1.e.10 Mcu_SetMode:: push {r4-r5,lr} cpy r5,r0 movs r0,8 .L3825: bl Mcu_CheckMcuInitialized cmp r0,1 it ne .L3827: pop {r4-r5,pc} movw r4,%lo(Mcu_ConfigPtr) movt r4,%hi(Mcu_ConfigPtr) ldr r1,[r4] cmp r1,0 it eq .L3829: pop {r4-r5,pc} ldr r0,[r1,4] cmp r5,r0 blo .L3422 movs r3,12 movs r2,8 movs r1,0 movs r0,101 pop {r4-r5,lr} .L3831: b Det_ReportError .L3422: .L3833: bl SchM_Enter_Mcu_SetMode ldr r0,[r4] movw r2,%lo(Mcu_ModeConfigIds) movt r2,%hi(Mcu_ModeConfigIds) ldrb r1,[r2] ldr r0,[r0,12] add r0,r0,r1 lsl 3 ldr r1,[r0,4] cmp r1,3 bls .L3432 pop {r4-r5,lr} .L3835: b SchM_Exit_Mcu_SetMode .L3432: movw r0,%lo(.L3773) movt r0,%hi(.L3773) ldrb r0,[r0,r1] .L3837: bl Mcu_Drvw_SetMode pop {r4-r5,lr} .L3839: b SchM_Exit_Mcu_SetMode .endf Mcu_SetMode ;.L3746 .L3773 static ;McuMode r5 param .section ".rodata","a" .align 4 .L3773: .data.b 0,1,2,3 .endo .L3773 .section ".ghcalltbl","" .L3826: .data.w .L3825 .endo .L3826 .section ".ghrettbl","" .L3828: .data.w .L3827 .endo .L3828 .L3830: .data.w .L3829 .endo .L3830 .section ".ghtailcalltbl","" .L3832: .data.w .L3831 .endo .L3832 .section ".ghcalltbl","" .L3834: .data.w .L3833 .endo .L3834 .section ".ghtailcalltbl","" .L3836: .data.w .L3835 .endo .L3836 .section ".ghcalltbl","" .L3838: .data.w .L3837 .endo .L3838 .section ".ghtailcalltbl","" .L3840: .data.w .L3839 .endo .L3840 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.11: .endo ..gh.f.f.1.a.1.e.11 Mcu_GetVersionInfo:: movs r1,r0 beq .L3843 movs r1,179 strh r1,[r0] movs r1,101 strh r1,[r0,2] movs r1,1 strb r1,[r0,4] movs r1,2 strb r1,[r0,5] movs r1,0 strb r1,[r0,6] .L3953: ret .L3843: movs r3,16 movs r2,9 movs r0,101 .L3955: b Det_ReportError .endf Mcu_GetVersionInfo ;versioninfo r0 param .section ".bss","awb" .L3908: .endo .L3908 .section ".ghrettbl","" .L3954: .data.w .L3953 .endo .L3954 .section ".ghtailcalltbl","" .L3956: .data.w .L3955 .endo .L3956 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.12: .endo ..gh.f.f.1.a.1.e.12 Mcu_GetPowerModeState:: push {r4,lr} movs r4,0 movs r0,11 .L4182: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L3957 .L4184: bl Mcu_Drvw_GetPowerModeState subs r1,r0,1 cmp r1,2 ittt ls movw r1,%lo(.L4149-1) movt r1,%hi(.L4149-1) ldrb r4,[r0,r1] .L3957: cpy r0,r4 .L4186: pop {r4,pc} .endf Mcu_GetPowerModeState ;PowerMode r4 local ;.L4129 .L4149 static .section ".bss","awb" .L4128: .endo .L4128 .section ".rodata","a" .L4149: .data.b 1,2 .data.b 3 .endo .L4149 .section ".ghcalltbl","" .L4183: .data.w .L4182 .endo .L4183 .L4185: .data.w .L4184 .endo .L4185 .section ".ghrettbl","" .L4187: .data.w .L4186 .endo .L4187 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.13: .endo ..gh.f.f.1.a.1.e.13 Mcu_EnableOscClockMonitor:: push {r4-r5,lr} cpy r5,r0 movs r4,0 movs r0,12 .L4520: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L4188 movs r0,3 .L4522: bl Mcu_GetClockReadyState movs r1,r0 bne .L4193 movs r3,20 movs r2,12 movs r0,101 .L4524: bl Det_ReportRuntimeError b .L4188 .L4193: cmp r5,0 itee ne cmp r5,1 mov r0,r5 .L4526: bl Mcu_Drvw_EnableOscClockMonitor movs r4,1 .L4188: cpy r0,r4 .L4528: pop {r4-r5,pc} .endf Mcu_EnableOscClockMonitor ;Ret r4 local ;Act r5 param .section ".bss","awb" .L4448: .endo .L4448 .section ".ghcalltbl","" .L4521: .data.w .L4520 .endo .L4521 .L4523: .data.w .L4522 .endo .L4523 .L4525: .data.w .L4524 .endo .L4525 .L4527: .data.w .L4526 .endo .L4527 .section ".ghrettbl","" .L4529: .data.w .L4528 .endo .L4529 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.14: .endo ..gh.f.f.1.a.1.e.14 Mcu_DisableOscClockMonitor:: push {lr} movs r0,13 .L4626: bl Mcu_CheckMcuInitialized cmp r0,1 it eq .L4628: bl Mcu_Drvw_DisableOscClockMonitor .L4630: pop {pc} .endf Mcu_DisableOscClockMonitor .section ".bss","awb" .L4598: .endo .L4598 .section ".ghcalltbl","" .L4627: .data.w .L4626 .endo .L4627 .L4629: .data.w .L4628 .endo .L4629 .section ".ghrettbl","" .L4631: .data.w .L4630 .endo .L4631 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.15: .endo ..gh.f.f.1.a.1.e.15 Mcu_EnableFircClockMonitor:: push {r4-r5,lr} cpy r5,r0 movs r4,0 movs r0,14 .L4968: bl Mcu_CheckMcuInitialized cmp r0,1 bne .L4632 .L4970: bl Mcu_GetClockReadyState movs r1,r0 bne .L4637 movs r3,20 movs r2,14 movs r0,101 .L4972: bl Det_ReportRuntimeError b .L4632 .L4637: cmp r5,0 itee ne cmp r5,1 mov r0,r5 .L4974: bl Mcu_Drvw_EnableFirc64MClockMonitor movs r4,1 .L4632: cpy r0,r4 .L4976: pop {r4-r5,pc} .endf Mcu_EnableFircClockMonitor ;Ret r4 local ;Act r5 param .section ".bss","awb" .L4896: .endo .L4896 .section ".ghcalltbl","" .L4969: .data.w .L4968 .endo .L4969 .L4971: .data.w .L4970 .endo .L4971 .L4973: .data.w .L4972 .endo .L4973 .L4975: .data.w .L4974 .endo .L4975 .section ".ghrettbl","" .L4977: .data.w .L4976 .endo .L4977 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.16: .endo ..gh.f.f.1.a.1.e.16 Mcu_DisableFircClockMonitor:: push {lr} movs r0,15 .L5074: bl Mcu_CheckMcuInitialized cmp r0,1 it eq .L5076: bl Mcu_Drvw_DisableFirc64MClockMonitor .L5078: pop {pc} .endf Mcu_DisableFircClockMonitor .section ".bss","awb" .L5046: .endo .L5046 .section ".ghcalltbl","" .L5075: .data.w .L5074 .endo .L5075 .L5077: .data.w .L5076 .endo .L5077 .section ".ghrettbl","" .L5079: .data.w .L5078 .endo .L5079 .section ".mcal_code","ax" ..gh.f.f.1.a.1.e.17: .endo ..gh.f.f.1.a.1.e.17 Mcu_SetWakeupSource:: push {r4-r6,lr} cpy r4,r0 cpy r5,r1 cpy r6,r2 movs r0,17 .L6281: bl Mcu_CheckMcuInitialized cmp r0,1 it ne .L6283: pop {r4-r6,pc} movs r1,2 movs r2,0 movw r3,%lo(Mcu_WakeupSourceTable) movt r3,%hi(Mcu_WakeupSourceTable) .L5284: adds r0,r2,r3 ldr.w r12,[r0,4] cmp r4,r12 bne .L5286 cpy r1,r5 cpy r2,r6 ldr r0,[r0] pop {r4-r6,lr} .L6285: b Mcu_Drvw_SetWakeupSource .L5286: ldr.w r12,[r0,12] cmp r4,r12 bne .L5288 cpy r1,r5 cpy r2,r6 ldr r0,[r0,8] pop {r4-r6,lr} .L6287: b Mcu_Drvw_SetWakeupSource .L5288: ldr.w r12,[r0,20] cmp r4,r12 bne .L5290 cpy r1,r5 cpy r2,r6 ldr r0,[r0,16] pop {r4-r6,lr} .L6289: b Mcu_Drvw_SetWakeupSource .L5290: ldr.w r12,[r0,28] cmp r4,r12 bne .L5292 cpy r1,r5 cpy r2,r6 ldr r0,[r0,24] pop {r4-r6,lr} .L6291: b Mcu_Drvw_SetWakeupSource .L5292: ldr.w r12,[r0,36] cmp r4,r12 bne .L5294 cpy r1,r5 cpy r2,r6 ldr r0,[r0,32] .L6293: bl Mcu_Drvw_SetWakeupSource .L6295: pop {r4-r6,pc} .L5294: ldr.w r12,[r0,44] cmp r4,r12 bne .L5296 cpy r1,r5 cpy r2,r6 ldr r0,[r0,40] .L6297: bl Mcu_Drvw_SetWakeupSource .L6299: pop {r4-r6,pc} .L5296: ldr.w r12,[r0,52] cmp r4,r12 bne .L5298 cpy r1,r5 cpy r2,r6 ldr r0,[r0,48] .L6301: bl Mcu_Drvw_SetWakeupSource .L6303: pop {r4-r6,pc} .L5298: ldr.w r12,[r0,60] cmp r4,r12 bne .L5300 cpy r1,r5 cpy r2,r6 ldr r0,[r0,56] .L6305: bl Mcu_Drvw_SetWakeupSource .L6307: pop {r4-r6,pc} .L5300: adds r2,r2,64 subs r1,r1,1 bne .L5284 .L6309: pop {r4-r6,pc} .endf Mcu_SetWakeupSource ;WakeupSource r4 param ;ActiveHigh r5 param ;Enable r6 param .section ".mcal_const","a" Mcu_WakeupSourceTable: .space 8 .data.b 1,0,0,0 .data.b 1,0,0,0 .data.b 2,0,0,0 .data.b 2,0,0,0 .data.b 4,0,0,0 .data.b 4,0,0,0 .data.b 5,0,0,0 .data.b 5,0,0,0 .data.b 6,0,0,0 .data.b 6,0,0,0 .data.b 7,0,0,0 .data.b 7,0,0,0 .data.b 8,0,0,0 .data.b 8,0,0,0 .data.b 9,0,0,0 .data.b 9,0,0,0 .data.b 10,0,0,0 .data.b 10,0,0,0 .data.b 11,0,0,0 .data.b 11,0,0,0 .data.b 12,0,0,0 .data.b 12,0,0,0 .data.b 13,0,0,0 .data.b 13,0,0,0 .data.b 14,0,0,0 .data.b 14,0,0,0 .data.b 15,0,0,0 .data.b 15,0,0,0 .data.b 16,0,0,0 .data.b 16,0,0,0 .endo Mcu_WakeupSourceTable .section ".bss","awb" .L6105: .endo .L6105 .section ".ghcalltbl","" .L6282: .data.w .L6281 .endo .L6282 .section ".ghrettbl","" .L6284: .data.w .L6283 .endo .L6284 .section ".ghtailcalltbl","" .L6286: .data.w .L6285 .endo .L6286 .L6288: .data.w .L6287 .endo .L6288 .L6290: .data.w .L6289 .endo .L6290 .L6292: .data.w .L6291 .endo .L6292 .section ".ghcalltbl","" .L6294: .data.w .L6293 .endo .L6294 .section ".ghrettbl","" .L6296: .data.w .L6295 .endo .L6296 .section ".ghcalltbl","" .L6298: .data.w .L6297 .endo .L6298 .section ".ghrettbl","" .L6300: .data.w .L6299 .endo .L6300 .section ".ghcalltbl","" .L6302: .data.w .L6301 .endo .L6302 .section ".ghrettbl","" .L6304: .data.w .L6303 .endo .L6304 .section ".ghcalltbl","" .L6306: .data.w .L6305 .endo .L6306 .section ".ghrettbl","" .L6308: .data.w .L6307 .endo .L6308 .L6310: .data.w .L6309 .endo .L6310 .section ".mcal_code","ax" ;Mcu_PreDefinedConfigPtr Mcu_PreDefinedConfigPtr import ;Mcu_ClockConfigIds Mcu_ClockConfigIds static ;Mcu_ModeConfigIds Mcu_ModeConfigIds static ;Mcu_ClockConfigPtr Mcu_ClockConfigPtr static ;Mcu_Status Mcu_Status static ;Mcu_ConfigPtr Mcu_ConfigPtr static ;Mcu_ResetReasonTable Mcu_ResetReasonTable static ;Mcu_WakeupSourceTable Mcu_WakeupSourceTable static .global Mcu_PreDefinedConfigPtr .ghsnote info, 27, 3, 640