Page 1 objs\release\Dio.s Command Line: C:\ghs\comp_202114\asarm.exe -annotate_call_return -elf -b0 -IGenerated\inc\ -I..\Generated\inc -I..\Src -I..\Generated\inc\ -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\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\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\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 -IC:\ghs\comp_202114\lib\thumb2 -cpu=cortexm4f -fpu=vfpv3_d16 -fpu=single -hardware_divide -source=Dio.c -o objs\release\Dio.o -list=objs\release\Dio.lst objs\release\Dio.s Original File: objs\release\Dio.s Source File: Dio.c Directory: D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject Host OS: Windows EASE: Copyright (C) 1983-2021 Green Hills Software. All Rights Reserved. Release: Compiler v2021.1.4 Build Directory: [Directory] COMP-VAL-WIN1:C:/autoval2/v2021.1-2021-04-25/win64-comp Revision: [VCInfo] http://toolsvc/branches/release-branch-2021-1-comp/src@696881 (built by auto-compiler) Revision Date: Mon Apr 26 12:33:25 2021 Release Date: Mon Apr 26 08:01:05 2021 1 ;Driver Command: ccarm -c -MD -IGenerated\inc\ -I..\Generated\inc -I..\Src 2 ; -I..\Src -I..\Generated\inc\ -I..\Src 3 ; -I..\..\..\MCAL\Platform_ZX_K14xM\Inc 4 ; -I..\..\..\MCAL\Platform_ZX_K14xM\StartUp\Inc 5 ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc\Devices 6 ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc 7 ; -I..\..\..\MCAL\Mcu_ZX_K14xM\Inc -I..\..\..\MCAL\Adc_ZX_K14xM\Inc 8 ; -I..\..\..\MCAL\Dem_ZX_K14xM\Inc -I..\..\..\MCAL\Det_ZX_K14xM\Inc 9 ; -I..\..\..\MCAL\Dio_ZX_K14xM\Inc 10 ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc 11 ; -I..\..\..\MCAL\Wdg_ZX_K14xM\Inc 12 ; -I..\..\..\MCAL\Port_ZX_K14xM\Inc 13 ; -I..\..\..\MCAL\Rte_ZX_K14xM\Inc 14 ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc\MemMap 15 ; -I..\..\..\MCAL\WdgIf_ZX_K14xM\Inc 16 ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc -I..\..\..\MCAL\Gpt_ZX_K14xM\Inc 17 ; -I..\..\..\MCAL\Dma_ZX_K14xM\Inc -I..\..\..\MCAL\Pwm_ZX_K14xM\Inc 18 ; -I..\..\..\MCAL\EcuM_ZX_K14xM\Inc 19 ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc 20 ; -I..\..\..\MCAL\CanIf_ZX_K14xM\Inc 21 ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc 22 ; -I..\..\..\MCAL\Ecum_ZX_K14xM\Inc 23 ; -I..\..\..\MCAL\Fls_ZX_K14xM\Inc 24 ; -I..\..\..\MCAL\MemIf_ZX_K14xM\Inc 25 ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc -I..\..\..\mcal\Spi_ZX_K14xM\Inc 26 ; -I..\..\..\Package\OS\Task 27 ; -I..\..\..\Package\OS\Task\cpu_port\Zhixin 28 ; -I..\..\..\Package\cm_backtrace -I..\..\..\Package\Cdd 29 ; -I..\..\..\Package\Cdd\CddBuck\Gen 30 ; -I..\..\..\Package\Cdd\CddBuck\Gen 31 ; -I..\..\..\Package\Cdd\CddSbc\Api 32 ; -I..\..\..\Package\Cdd\CddSbc\Cfg 33 ; -I..\..\..\Package\Cdd\CddTle94x1\Cfg 34 ; -I..\..\..\Package\Cdd\CddTle94x1\Api 35 ; -I..\..\..\Package\Cdd\CddTle94x1\Gen 36 ; -I..\..\..\Package\Cdd\CddBoost\Api -cpu=cortexm4f -Wshadow 37 ; -Wtrigraphs -keeptempfiles -Wundef -Wimplicit-int -dual_debug 38 ; --no_commons --no_exceptions --gnu_asm 39 ; --incorrect_pragma_warnings --prototype_errors -list 40 ; --misra_2004=2.1 -ignore_debug_references 41 ; -preprocess_assembly_files -thumb_lib -thumb --hardware_divide 42 ; -c99 -no_japanese_automotive_c --std --stdl --slash_comment 43 ; -Ospeed --no_debug -object_dir=objs\release -filetype.c 44 ; ..\..\..\MCAL\Dio_ZX_K14xM\Src\Dio.c -o objs\release\Dio.o 45 ;Source File: ..\..\..\MCAL\Dio_ZX_K14xM\Src\Dio.c 46 ;Directory: 47 ; D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject 48 ;Compile Date: Mon Dec 18 00:01:47 2023 49 ;Host OS: Win64 50 ;Version: C-ARM 2021.1.4 RELEASE VERSION Page 2 objs\release\Dio.s 51 ;Release: Compiler v2021.1.4 52 ;Revision Date: Mon Apr 26 12:37:23 2021 53 ;Release Date: Mon Apr 26 08:01:05 2021 54 ; ecom -w -OLM 55 .section ".mcal_code","ax" 56 .align 2 57 ..gh.f.f.1.a.1.e.0: 58 .endo ..gh.f.f.1.a.1.e.0 59 .thumb2 60 Dio_GetVersionInfo:: 00000000 0001 61 movs r1,r0 00000002 d104* 62 bne .L221 00000004 2320 63 movs r3,32 00000006 2212 64 movs r2,18 00000008 2078 65 movs r0,120 66 .L318: 67 0000000a f000b800* 68 b Det_ReportError 69 .L221: 0000000e 21b3 70 movs r1,179 00000010 8001 71 strh r1,[r0] 00000012 2178 72 movs r1,120 00000014 8041 73 strh r1,[r0,2] 00000016 2101 74 movs r1,1 00000018 7101 75 strb r1,[r0,4] 0000001a 2102 76 movs r1,2 0000001c 7141 77 strb r1,[r0,5] 0000001e 2100 78 movs r1,0 00000020 7181 79 strb r1,[r0,6] 80 .L320: 81 00000022 4770 82 ret 83 .endf Dio_GetVersionInfo 84 85 ;VersionInfo r0 param 86 87 .section ".bss","awb" 88 .L276: 89 .endo .L276 90 .section ".ghtailcalltbl","" 91 .align 4 00000000 00000000* 92 .L319: .data.w .L318 93 .endo .L319 94 .section ".ghrettbl","" 95 .align 4 00000000 00000000* 96 .L321: .data.w .L320 97 .endo .L321 98 .section ".mcal_code","ax" 99 ..gh.f.f.1.a.1.e.1: 100 .endo ..gh.f.f.1.a.1.e.1 101 Dio_FlipChannel:: 00000024 b510 102 push {r4,lr} 00000026 2400 103 movs r4,0 00000028 289f 104 cmp r0,159 0000002a d81a* 105 bhi .L332 0000002c 1141 106 asrs r1,r0,5 0000002e f2400200* 107 movw r2,%lo(Dio_AvailablePinsForWrite) 00000032 f2c00200* 108 movt r2,%hi(Dio_AvailablePinsForWrite) 00000036 f000031f 109 and r3,r0,31 0000003a f04f0c01 110 mov r12,1 0000003e f8521021 111 ldr.w r1,[r2,r1 lsl 2] Page 3 objs\release\Dio.s 00000042 fa0cf303 112 lsl r3,r12,r3 00000046 420b 113 tst r3,r1 00000048 d00b* 114 beq .L332 0000004a f2400300* 115 movw r3,%lo(Dio_PreDefinedConfigPtr) 0000004e f2c00300* 116 movt r3,%hi(Dio_PreDefinedConfigPtr) 00000052 6819 117 ldr r1,[r3] 00000054 688a 118 ldr r2,[r1,8] 00000056 f8521020 119 ldr.w r1,[r2,r0 lsl 2] 0000005a f0110101 120 ands r1,r1,1 0000005e 2901 121 cmp r1,1 00000060 d007* 122 beq .L325 123 .L332: 00000062 230a 124 movs r3,10 00000064 2211 125 movs r2,17 00000066 4621 126 cpy r1,r4 00000068 2078 127 movs r0,120 128 .L545: 129 0000006a f000f800* 130 bl Det_ReportError 0000006e 4620 131 cpy r0,r4 132 .L547: 133 00000070 bd10 134 pop {r4,pc} 135 .L325: 00000072 e8bd4010 136 pop {r4,lr} 137 .L549: 138 00000076 f000b800* 139 b Dio_Drvw_FlipChannel 140 .endf Dio_FlipChannel 141 ;ChannelLevel r4 local 142 143 ;ChannelId r0 param 144 145 .section ".bss","awb" 146 .L488: 147 .endo .L488 148 .section ".ghcalltbl","" 149 .align 4 00000000 00000000* 150 .L546: .data.w .L545 151 .endo .L546 152 .section ".ghrettbl","" 00000004 00000000* 153 .L548: .data.w .L547 154 .endo .L548 155 .section ".ghtailcalltbl","" 00000004 00000000* 156 .L550: .data.w .L549 157 .endo .L550 158 .section ".mcal_code","ax" 159 ..gh.f.f.1.a.1.e.2: 160 .endo ..gh.f.f.1.a.1.e.2 161 Dio_MaskedWritePort:: 0000007a 2805 162 cmp r0,5 0000007c d214* 163 bhs .L561 0000007e f2400c00* 164 movw r12,%lo(Dio_AvailablePinsForWrite) 00000082 f2c00c00* 165 movt r12,%hi(Dio_AvailablePinsForWrite) 00000086 f85c3020 166 ldr.w r3,[r12,r0 lsl 2] 0000008a b16b* 167 cbz r3,.L561 0000008c f2400c00* 168 movw r12,%lo(Dio_PreDefinedConfigPtr) 00000090 f2c00c00* 169 movt r12,%hi(Dio_PreDefinedConfigPtr) 00000094 f8dc3000 170 ldr.w r3,[r12] 00000098 f8d3c00c 171 ldr.w r12,[r3,12] 0000009c f85c3020 172 ldr.w r3,[r12,r0 lsl 2] Page 4 objs\release\Dio.s 000000a0 f0130301 173 ands r3,r3,1 000000a4 2b01 174 cmp r3,1 000000a6 d005* 175 beq .L554 176 .L561: 000000a8 2314 177 movs r3,20 000000aa 2213 178 movs r2,19 000000ac 2100 179 movs r1,0 000000ae 2078 180 movs r0,120 181 .L756: 182 000000b0 f000b800* 183 b Det_ReportError 184 .L554: 185 .L758: 186 000000b4 f000b800* 187 b Dio_Drvw_MaskedWritePort 188 .endf Dio_MaskedWritePort 189 190 ;PortId r0 param 191 ;Level r1 param 192 ;Mask r2 param 193 194 .section ".bss","awb" 195 .L705: 196 .endo .L705 197 .section ".ghtailcalltbl","" 00000008 00000000* 198 .L757: .data.w .L756 199 .endo .L757 0000000c 00000000* 200 .L759: .data.w .L758 201 .endo .L759 202 .section ".mcal_code","ax" 203 ..gh.f.f.1.a.1.e.3: 204 .endo ..gh.f.f.1.a.1.e.3 205 Dio_ReadChannel:: 000000b8 b510 206 push {r4,lr} 000000ba 2400 207 movs r4,0 000000bc 289f 208 cmp r0,159 000000be d81a* 209 bhi .L770 000000c0 1141 210 asrs r1,r0,5 000000c2 f2400200* 211 movw r2,%lo(Dio_AvailablePinsForRead) 000000c6 f2c00200* 212 movt r2,%hi(Dio_AvailablePinsForRead) 000000ca f000031f 213 and r3,r0,31 000000ce f04f0c01 214 mov r12,1 000000d2 f8521021 215 ldr.w r1,[r2,r1 lsl 2] 000000d6 fa0cf303 216 lsl r3,r12,r3 000000da 420b 217 tst r3,r1 000000dc d00b* 218 beq .L770 000000de f2400300* 219 movw r3,%lo(Dio_PreDefinedConfigPtr) 000000e2 f2c00300* 220 movt r3,%hi(Dio_PreDefinedConfigPtr) 000000e6 6819 221 ldr r1,[r3] 000000e8 688a 222 ldr r2,[r1,8] 000000ea f8521020 223 ldr.w r1,[r2,r0 lsl 2] 000000ee f0110101 224 ands r1,r1,1 000000f2 2901 225 cmp r1,1 000000f4 d007* 226 beq .L763 227 .L770: 000000f6 230a 228 movs r3,10 000000f8 4622 229 cpy r2,r4 000000fa 4621 230 cpy r1,r4 000000fc 2078 231 movs r0,120 232 .L993: 233 Page 5 objs\release\Dio.s 000000fe f000f800* 234 bl Det_ReportError 00000102 4620 235 cpy r0,r4 236 .L995: 237 00000104 bd10 238 pop {r4,pc} 239 .L763: 00000106 e8bd4010 240 pop {r4,lr} 241 .L997: 242 0000010a f000b800* 243 b Dio_Drvw_ReadChannel 244 .endf Dio_ReadChannel 245 ;ChannelLevel r4 local 246 247 ;ChannelId r0 param 248 249 .section ".bss","awb" 250 .L936: 251 .endo .L936 252 .section ".ghcalltbl","" 00000004 00000000* 253 .L994: .data.w .L993 254 .endo .L994 255 .section ".ghrettbl","" 00000008 00000000* 256 .L996: .data.w .L995 257 .endo .L996 258 .section ".ghtailcalltbl","" 00000010 00000000* 259 .L998: .data.w .L997 260 .endo .L998 261 .section ".mcal_code","ax" 262 ..gh.f.f.1.a.1.e.4: 263 .endo ..gh.f.f.1.a.1.e.4 264 Dio_WriteChannel:: 0000010e b410 265 push {r4} 00000110 289f 266 cmp r0,159 00000112 d81a* 267 bhi .L1009 00000114 1142 268 asrs r2,r0,5 00000116 f2400300* 269 movw r3,%lo(Dio_AvailablePinsForWrite) 0000011a f2c00300* 270 movt r3,%hi(Dio_AvailablePinsForWrite) 0000011e f000041f 271 and r4,r0,31 00000122 f04f0c01 272 mov r12,1 00000126 f8532022 273 ldr.w r2,[r3,r2 lsl 2] 0000012a fa0cf404 274 lsl r4,r12,r4 0000012e 4214 275 tst r4,r2 00000130 d00b* 276 beq .L1009 00000132 f2400300* 277 movw r3,%lo(Dio_PreDefinedConfigPtr) 00000136 f2c00300* 278 movt r3,%hi(Dio_PreDefinedConfigPtr) 0000013a 681a 279 ldr r2,[r3] 0000013c 6893 280 ldr r3,[r2,8] 0000013e f8532020 281 ldr.w r2,[r3,r0 lsl 2] 00000142 f0120201 282 ands r2,r2,1 00000146 2a01 283 cmp r2,1 00000148 d006* 284 beq .L1002 285 .L1009: 0000014a 230a 286 movs r3,10 0000014c 2201 287 movs r2,1 0000014e 2100 288 movs r1,0 00000150 2078 289 movs r0,120 00000152 bc10 290 pop {r4} 291 .L1204: 292 00000154 f000b800* 293 b Det_ReportError 294 .L1002: Page 6 objs\release\Dio.s 00000158 bc10 295 pop {r4} 296 .L1206: 297 0000015a f000b800* 298 b Dio_Drvw_WriteChannel 299 .endf Dio_WriteChannel 300 301 ;ChannelId r0 param 302 ;Level r1 param 303 304 .section ".bss","awb" 305 .L1153: 306 .endo .L1153 307 .section ".ghtailcalltbl","" 00000014 00000000* 308 .L1205: .data.w .L1204 309 .endo .L1205 00000018 00000000* 310 .L1207: .data.w .L1206 311 .endo .L1207 312 .section ".mcal_code","ax" 313 ..gh.f.f.1.a.1.e.5: 314 .endo ..gh.f.f.1.a.1.e.5 315 Dio_ReadPort:: 0000015e b510 316 push {r4,lr} 00000160 2400 317 movs r4,0 00000162 2805 318 cmp r0,5 00000164 d212* 319 bhs .L1218 00000166 f2400200* 320 movw r2,%lo(Dio_AvailablePinsForRead) 0000016a f2c00200* 321 movt r2,%hi(Dio_AvailablePinsForRead) 0000016e f8521020 322 ldr.w r1,[r2,r0 lsl 2] 00000172 b159* 323 cbz r1,.L1218 00000174 f2400300* 324 movw r3,%lo(Dio_PreDefinedConfigPtr) 00000178 f2c00300* 325 movt r3,%hi(Dio_PreDefinedConfigPtr) 0000017c 6819 326 ldr r1,[r3] 0000017e 68ca 327 ldr r2,[r1,12] 00000180 f8521020 328 ldr.w r1,[r2,r0 lsl 2] 00000184 f0110101 329 ands r1,r1,1 00000188 2901 330 cmp r1,1 0000018a d007* 331 beq .L1211 332 .L1218: 0000018c 2314 333 movs r3,20 0000018e 2202 334 movs r2,2 00000190 4621 335 cpy r1,r4 00000192 2078 336 movs r0,120 337 .L1433: 338 00000194 f000f800* 339 bl Det_ReportError 00000198 4620 340 cpy r0,r4 341 .L1435: 342 0000019a bd10 343 pop {r4,pc} 344 .L1211: 0000019c e8bd4010 345 pop {r4,lr} 346 .L1437: 347 000001a0 f000b800* 348 b Dio_Drvw_ReadPort 349 .endf Dio_ReadPort 350 ;PortLevel r4 local 351 352 ;PortId r0 param 353 354 .section ".bss","awb" 355 .L1376: Page 7 objs\release\Dio.s 356 .endo .L1376 357 .section ".ghcalltbl","" 00000008 00000000* 358 .L1434: .data.w .L1433 359 .endo .L1434 360 .section ".ghrettbl","" 0000000c 00000000* 361 .L1436: .data.w .L1435 362 .endo .L1436 363 .section ".ghtailcalltbl","" 0000001c 00000000* 364 .L1438: .data.w .L1437 365 .endo .L1438 366 .section ".mcal_code","ax" 367 ..gh.f.f.1.a.1.e.6: 368 .endo ..gh.f.f.1.a.1.e.6 369 Dio_WritePort:: 000001a4 2805 370 cmp r0,5 000001a6 d212* 371 bhs .L1449 000001a8 f2400300* 372 movw r3,%lo(Dio_AvailablePinsForWrite) 000001ac f2c00300* 373 movt r3,%hi(Dio_AvailablePinsForWrite) 000001b0 f8532020 374 ldr.w r2,[r3,r0 lsl 2] 000001b4 b15a* 375 cbz r2,.L1449 000001b6 f2400300* 376 movw r3,%lo(Dio_PreDefinedConfigPtr) 000001ba f2c00300* 377 movt r3,%hi(Dio_PreDefinedConfigPtr) 000001be 681a 378 ldr r2,[r3] 000001c0 68d3 379 ldr r3,[r2,12] 000001c2 f8532020 380 ldr.w r2,[r3,r0 lsl 2] 000001c6 f0120201 381 ands r2,r2,1 000001ca 2a01 382 cmp r2,1 000001cc d005* 383 beq .L1442 384 .L1449: 000001ce 2314 385 movs r3,20 000001d0 2203 386 movs r2,3 000001d2 2100 387 movs r1,0 000001d4 2078 388 movs r0,120 389 .L1636: 390 000001d6 f000b800* 391 b Det_ReportError 392 .L1442: 393 .L1638: 394 000001da f000b800* 395 b Dio_Drvw_WritePort 396 .endf Dio_WritePort 397 398 ;PortId r0 param 399 ;Level r1 param 400 401 .section ".bss","awb" 402 .L1585: 403 .endo .L1585 404 .section ".ghtailcalltbl","" 00000020 00000000* 405 .L1637: .data.w .L1636 406 .endo .L1637 00000024 00000000* 407 .L1639: .data.w .L1638 408 .endo .L1639 409 .section ".mcal_code","ax" 410 ..gh.f.f.1.a.1.e.7: 411 .endo ..gh.f.f.1.a.1.e.7 412 Dio_WriteChannelGroup:: 000001de b928* 413 cbnz r0,.L1648 000001e0 2320 414 movs r3,32 000001e2 2205 415 movs r2,5 000001e4 4601 416 cpy r1,r0 Page 8 objs\release\Dio.s 000001e6 2078 417 movs r0,120 418 .L1956: 419 000001e8 f000b800* 420 b Det_ReportError 421 .L1648: 000001ec f2400300* 422 movw r3,%lo(Dio_PreDefinedConfigPtr) 000001f0 f2c00300* 423 movt r3,%hi(Dio_PreDefinedConfigPtr) 000001f4 681a 424 ldr r2,[r3] 000001f6 6853 425 ldr r3,[r2,4] 000001f8 4298 426 cmp r0,r3 000001fa d312* 427 blo .L1654 000001fc 7812 428 ldrb r2,[r2] 000001fe eb0302c2 429 add r2,r3,r2 lsl 3 00000202 3a08 430 subs r2,r2,8 00000204 4290 431 cmp r0,r2 00000206 bf9c 432 itt ls 00000208 7802 433 ldrb r2,[r0] 0000020a 2a05 434 cmp r2,5 0000020c d209* 435 bhs .L1654 0000020e 7843 436 ldrb r3,[r0,1] 00000210 2b1f 437 cmp r3,31 00000212 d806* 438 bhi .L1654 00000214 f2400300* 439 movw r3,%lo(Dio_AvailablePinsForWrite) 00000218 f2c00300* 440 movt r3,%hi(Dio_AvailablePinsForWrite) 0000021c f8532022 441 ldr.w r2,[r3,r2 lsl 2] 00000220 b92a* 442 cbnz r2,.L1643 443 .L1654: 00000222 231f 444 movs r3,31 00000224 2205 445 movs r2,5 00000226 2100 446 movs r1,0 00000228 2078 447 movs r0,120 448 .L1958: 449 0000022a f000b800* 450 b Det_ReportError 451 .L1643: 452 .L1960: 453 0000022e f000b800* 454 b Dio_Drvw_WriteChannelGroup 455 .endf Dio_WriteChannelGroup 456 457 ;ChannelGroupIdPtr r0 param 458 ;Level r1 param 459 460 .section ".bss","awb" 461 .L1872: 462 .endo .L1872 463 .section ".ghtailcalltbl","" 00000028 00000000* 464 .L1957: .data.w .L1956 465 .endo .L1957 0000002c 00000000* 466 .L1959: .data.w .L1958 467 .endo .L1959 00000030 00000000* 468 .L1961: .data.w .L1960 469 .endo .L1961 470 .section ".mcal_code","ax" 471 ..gh.f.f.1.a.1.e.8: 472 .endo ..gh.f.f.1.a.1.e.8 473 Dio_ReadChannelGroup:: 00000232 b510 474 push {r4,lr} 00000234 2400 475 movs r4,0 00000236 b938* 476 cbnz r0,.L1970 00000238 2320 477 movs r3,32 Page 9 objs\release\Dio.s 0000023a 2204 478 movs r2,4 0000023c 4621 479 cpy r1,r4 0000023e 2078 480 movs r0,120 481 .L2297: 482 00000240 f000f800* 483 bl Det_ReportError 00000244 4620 484 cpy r0,r4 485 .L2299: 486 00000246 bd10 487 pop {r4,pc} 488 .L1970: 00000248 f2400300* 489 movw r3,%lo(Dio_PreDefinedConfigPtr) 0000024c f2c00300* 490 movt r3,%hi(Dio_PreDefinedConfigPtr) 00000250 6819 491 ldr r1,[r3] 00000252 684a 492 ldr r2,[r1,4] 00000254 4290 493 cmp r0,r2 00000256 d313* 494 blo .L1976 00000258 7809 495 ldrb r1,[r1] 0000025a eb0201c1 496 add r1,r2,r1 lsl 3 0000025e 3908 497 subs r1,r1,8 00000260 4288 498 cmp r0,r1 00000262 bf9c 499 itt ls 00000264 7801 500 ldrb r1,[r0] 00000266 2905 501 cmp r1,5 00000268 d20a* 502 bhs .L1976 0000026a 7842 503 ldrb r2,[r0,1] 0000026c 2a1f 504 cmp r2,31 0000026e d807* 505 bhi .L1976 00000270 f2400200* 506 movw r2,%lo(Dio_AvailablePinsForRead) 00000274 f2c00200* 507 movt r2,%hi(Dio_AvailablePinsForRead) 00000278 f8521021 508 ldr.w r1,[r2,r1 lsl 2] 0000027c 2900 509 cmp r1,0 0000027e d107* 510 bne .L1965 511 .L1976: 00000280 231f 512 movs r3,31 00000282 2204 513 movs r2,4 00000284 4621 514 cpy r1,r4 00000286 2078 515 movs r0,120 516 .L2301: 517 00000288 f000f800* 518 bl Det_ReportError 0000028c 4620 519 cpy r0,r4 520 .L2303: 521 0000028e bd10 522 pop {r4,pc} 523 .L1965: 00000290 e8bd4010 524 pop {r4,lr} 525 .L2305: 526 00000294 f000b800* 527 b Dio_Drvw_ReadChannelGroup 528 .endf Dio_ReadChannelGroup 529 ;PortLevel r4 local 530 531 ;ChannelGroupIdPtr r0 param 532 533 .section ".bss","awb" 534 .L2207: 535 .endo .L2207 536 .section ".ghcalltbl","" 0000000c 00000000* 537 .L2298: .data.w .L2297 538 .endo .L2298 Page 10 objs\release\Dio.s 539 .section ".ghrettbl","" 00000010 00000000* 540 .L2300: .data.w .L2299 541 .endo .L2300 542 .section ".ghcalltbl","" 00000010 00000000* 543 .L2302: .data.w .L2301 544 .endo .L2302 545 .section ".ghrettbl","" 00000014 00000000* 546 .L2304: .data.w .L2303 547 .endo .L2304 548 .section ".ghtailcalltbl","" 00000034 00000000* 549 .L2306: .data.w .L2305 550 .endo .L2306 551 .section ".mcal_code","ax" 552 ;Dio_PreDefinedConfigPtr Dio_PreDefinedConfigPtr import 553 ;Dio_AvailablePinsForWrite Dio_AvailablePinsForWrite import 554 ;Dio_AvailablePinsForRead Dio_AvailablePinsForRead import 555 556 .global Dio_PreDefinedConfigPtr 557 558 .global Dio_AvailablePinsForWrite 559 560 .global Dio_AvailablePinsForRead 561 562 .ghsnote info, 27, 3, 640