mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
8962 lines
299 KiB
Plaintext
8962 lines
299 KiB
Plaintext
IPA function summary for Adc_Sar_Ip_SetPresamplingSource.part.0/145 inlinable
|
|
global time: 32.000000
|
|
self size: 28
|
|
global size: 28
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:3.000000, time:3.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:4.000000, nonconst if:(op1 changed)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 2)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 2), nonconst if:(op2 changed) && (op1 == 2)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 1)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 0)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 0), nonconst if:(op2 changed) && (op1 == 0)
|
|
calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetExternalTrigger/64 inlinable
|
|
global time: 18.000000
|
|
self size: 37
|
|
global size: 37
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:10.000000, time:4.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
Adc_Sar_ConfigExternalTrigger/22 function not considered for inlining
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 3)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 function not considered for inlining
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 2)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 function not considered for inlining
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 1)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 function not considered for inlining
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 0)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetCtuMode/63 inlinable
|
|
global time: 56.440600
|
|
self size: 43
|
|
global size: 43
|
|
min size: 20
|
|
self stack: 0
|
|
global stack: 0
|
|
size:10.000000, time:8.640000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:0.871200, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.163350, executed if:(op1 == 2)
|
|
size:6.000000, time:0.326700, executed if:(op1 == 1)
|
|
size:3.000000, time:0.163350, executed if:(op1 == 0)
|
|
calls:
|
|
Adc_Sar_Ip_Powerup/39 function not considered for inlining
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 function body not available
|
|
loop depth: 0 freq:0.22 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 function body not available
|
|
loop depth: 0 freq:0.22 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetConversionMode/62 inlinable
|
|
global time: 26.998600
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19/139 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19/138 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetWdgThreshold/61 inlinable
|
|
global time: 61.000000
|
|
self size: 43
|
|
global size: 43
|
|
min size: 10
|
|
self stack: 0
|
|
global stack: 0
|
|
size:21.000000, time:19.000000
|
|
size:5.000000, time:4.000000, executed if:(not inlined)
|
|
size:12.000000, time:6.000000, nonconst if:(op1 changed)
|
|
array index:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32/137 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32/136 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Adc_Sar_GetResolution/11 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetDmaClearSource/60 inlinable
|
|
global time: 31.000000
|
|
self size: 14
|
|
global size: 14
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45/135 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45/134 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelDmaAll/59 inlinable
|
|
global time: 62.000000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:13.000000, time:30.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48/133 function body not available
|
|
loop depth: 1 freq:1.50 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48/132 function body not available
|
|
loop depth: 1 freq:1.50 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelDma/58 inlinable
|
|
global time: 32.000000
|
|
self size: 15
|
|
global size: 15
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:5.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47/131 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47/130 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelDma/57 inlinable
|
|
global time: 31.000000
|
|
self size: 14
|
|
global size: 14
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:4.000000, time:4.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46/129 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46/128 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableDma/56 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44/127 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44/126 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableDma/55 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43/125 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43/124 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisablePresampleConversion/54 inlinable
|
|
global time: 13.920000
|
|
self size: 13
|
|
global size: 13
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40/123 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40/122 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnablePresampleConversion/53 inlinable
|
|
global time: 13.920000
|
|
self size: 13
|
|
global size: 13
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39/121 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39/120 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelPresampling/52 inlinable
|
|
global time: 15.900000
|
|
self size: 19
|
|
global size: 19
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:5.650000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:1.650000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42/119 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42/118 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelPresampling/51 inlinable
|
|
global time: 15.570000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:5.650000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:4.000000, time:1.320000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41/117 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41/116 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetPresamplingSource/50 inlinable
|
|
global time: 10.290000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_SetPresamplingSource.part.0/145 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 4 time: 13callee size:14 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_AbortChain/49 inlinable
|
|
global time: 144.465646
|
|
self size: 39
|
|
global size: 39
|
|
min size: 18
|
|
self stack: 4
|
|
global stack: 4
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:3.000000, time:1.500000, executed if:(op2 == 0)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:11.000000, time:32.703786, executed if:(op1 != 0)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:4.17 size: 4 time: 13 predicate: (op1 != 0)
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18/113 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18/112 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_AbortConversion/48 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17/111 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17/110 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetAveraging/47 inlinable
|
|
global time: 34.000000
|
|
self size: 17
|
|
global size: 17
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed || op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16/109 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16/108 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetSampleTimes/46 inlinable
|
|
global time: 15.000000
|
|
self size: 19
|
|
global size: 19
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:14.000000, time:12.000000
|
|
size:4.000000, time:2.500000, executed if:(not inlined)
|
|
size:0.500000, time:0.250000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
|
|
size:0.500000, time:0.250000, nonconst if:(op1[ref offset: 0] changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetClockMode/45 inlinable
|
|
global time: 45.503238
|
|
self size: 34
|
|
global size: 34
|
|
min size: 30
|
|
self stack: 0
|
|
global stack: 0
|
|
size:11.500000, time:6.530114
|
|
size:4.500000, time:2.358388, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 0] changed)
|
|
calls:
|
|
Adc_Sar_Ip_SetSampleTimes/46 function not considered for inlining
|
|
loop depth: 0 freq:0.24 size: 3 time: 12callee size: 9 stack: 0
|
|
Adc_Sar_Ip_SetAveraging/47 function not considered for inlining
|
|
loop depth: 0 freq:0.24 size: 4 time: 13callee size: 8 stack: 0
|
|
Adc_Sar_Ip_Powerup/39 function not considered for inlining
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15/107 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15/106 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelNotifications/44 inlinable
|
|
global time: 22.910000
|
|
self size: 36
|
|
global size: 36
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:15.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:2.990000, nonconst if:(op1 changed)
|
|
size:6.000000, time:6.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29/105 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29/104 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31/103 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31/102 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelNotifications/43 inlinable
|
|
global time: 22.580000
|
|
self size: 34
|
|
global size: 34
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:15.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:6.000000, time:2.660000, nonconst if:(op1 changed)
|
|
size:6.000000, time:6.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28/101 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28/100 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30/99 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30/98 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableNotifications/42 inlinable
|
|
global time: 32.500000
|
|
self size: 16
|
|
global size: 16
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:9.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34/97 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34/96 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableNotifications/41 inlinable
|
|
global time: 31.500000
|
|
self size: 15
|
|
global size: 15
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:8.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33/95 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33/94 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_Powerdown/40 inlinable
|
|
global time: 225.931292
|
|
self size: 32
|
|
global size: 32
|
|
min size: 26
|
|
self stack: 4
|
|
global stack: 4
|
|
size:16.000000, time:70.407572
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14/93 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14/92 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_Powerup/39 inlinable
|
|
global time: 225.931292
|
|
self size: 32
|
|
global size: 32
|
|
min size: 26
|
|
self stack: 4
|
|
global stack: 4
|
|
size:16.000000, time:70.407572
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13/91 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13/90 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_DoCalibration/38 inlinable
|
|
global time: 122.214651
|
|
self size: 82
|
|
global size: 82
|
|
min size: 58
|
|
self stack: 4
|
|
global stack: 4
|
|
size:50.000000, time:30.261183
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_Powerup/39 function not considered for inlining
|
|
loop depth: 0 freq:0.12 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 function body not available
|
|
loop depth: 0 freq:0.12 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 function body not available
|
|
loop depth: 0 freq:0.12 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:0.24 size: 3 time: 12callee size:16 stack: 4
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:1.99 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36/89 function body not available
|
|
loop depth: 0 freq:0.24 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36/88 function body not available
|
|
loop depth: 0 freq:0.24 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerup/39 function not considered for inlining
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvResult/37 inlinable
|
|
global time: 25.470000
|
|
self size: 34
|
|
global size: 34
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:17.500000, time:13.077500
|
|
size:6.500000, time:4.247500, executed if:(not inlined)
|
|
size:5.000000, time:5.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 8 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvData/36 inlinable
|
|
global time: 16.610000
|
|
self size: 20
|
|
global size: 20
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:6.660000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:3.660000, nonconst if:(op1 changed)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 4 time: 13callee size: 8 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvResultsToArray/35 inlinable
|
|
global time: 18.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetConvResults/18 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 7 time: 16callee size:31 stack: 0
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvDataToArray/34 inlinable
|
|
global time: 18.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetConvResults/18 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 7 time: 16callee size:31 stack: 0
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_SelfTest/33 inlinable
|
|
global time: 359.931292
|
|
self size: 67
|
|
global size: 67
|
|
min size: 52
|
|
self stack: 4
|
|
global stack: 4
|
|
size:38.000000, time:92.407572
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Adc_Sar_CheckSelfTestProgress/17 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:23 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25/80 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25/79 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_ClearStatusFlags/32 inlinable
|
|
global time: 9.500000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:6.000000, time:6.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetStatusFlags/31 inlinable
|
|
global time: 27.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 12
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetIsrFlags/14 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_GetMsrFlags/13 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:13 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_StartConversion/30 inlinable
|
|
global time: 26.998600
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10/76 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10/75 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetResolution/29 inlinable
|
|
global time: 28.000000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37/74 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37/73 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannel/28 inlinable
|
|
global time: 24.998000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0), nonconst if:(op2 changed) && (op1 == 0)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27/72 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27/71 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24/70 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24/69 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannel/27 inlinable
|
|
global time: 24.331400
|
|
self size: 28
|
|
global size: 28
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:2.000000, time:0.666600, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 1)
|
|
size:2.000000, time:0.666600, executed if:(op1 == 0), nonconst if:(op2 changed) && (op1 == 0)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26/68 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26/67 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23/66 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23/65 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
|
|
IPA function summary for Adc_Sar_Ip_ChainConfig/26 inlinable
|
|
global time: 23.691264
|
|
self size: 30
|
|
global size: 30
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:9.500000, time:9.010765, executed if:(op2 == 1)
|
|
size:0.500000, time:0.334966, executed if:(op2 == 1) && (not inlined)
|
|
size:9.500000, time:9.010765, executed if:(op2 == 0)
|
|
size:0.500000, time:0.334966, executed if:(op2 == 0) && (not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_Deinit/25 inlinable
|
|
global time: 125.370000
|
|
self size: 75
|
|
global size: 75
|
|
min size: 30
|
|
self stack: 92
|
|
global stack: 92
|
|
size:57.000000, time:79.350000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_Ip_SetResolution/29 function not considered for inlining
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_ClearStatusFlags/32 function not considered for inlining
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_ResetWdog/19 function not considered for inlining
|
|
loop depth: 0 freq:0.66 size: 2 time: 11callee size:19 stack: 0
|
|
Adc_Sar_Ip_Init/24 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size:75 stack: 0
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_Init/24 inlinable
|
|
global time: 126.638820
|
|
self size: 150
|
|
global size: 150
|
|
min size: 80
|
|
self stack: 0
|
|
global stack: 0
|
|
size:93.000000, time:49.095883
|
|
size:17.000000, time:7.153467, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_SetDmaClearSource/60 function not considered for inlining
|
|
loop depth: 0 freq:0.32 size: 3 time: 12callee size: 7 stack: 0
|
|
Adc_Sar_Ip_SetPresamplingSource/50 function not considered for inlining
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_SetPresamplingSource/50 function not considered for inlining
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_SetPresamplingSource/50 function not considered for inlining
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_EnableChannelWatchdog/16 function not considered for inlining
|
|
loop depth: 0 freq:0.07 size: 4 time: 13callee size:26 stack: 0
|
|
Adc_Sar_Ip_SetWdgThreshold/61 function not considered for inlining
|
|
loop depth: 1 freq:0.91 size: 4 time: 13callee size:21 stack: 0
|
|
Adc_Sar_Ip_SetResolution/29 function not considered for inlining
|
|
loop depth: 0 freq:0.32 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_Ip_Powerup/39 function not considered for inlining
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_CollectMcrMasks/15 function not considered for inlining
|
|
loop depth: 0 freq:0.49 size: 4 time: 13callee size:33 stack: 0
|
|
Adc_Sar_Ip_Powerdown/40 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_Ip_AbortChain/49 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size:19 stack: 4
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_IRQHandler/23 inlinable
|
|
global time: 37.935000
|
|
self size: 53
|
|
global size: 53
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:41.000000, time:29.995000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_CheckAndCallNotification/20 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_CheckAndCallNotification/20 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_CheckAndCallNotification/20 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_ConfigExternalTrigger/22 inlinable
|
|
global time: 31.000000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:4.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.750000, executed if:(op1 == 2)
|
|
size:1.000000, time:0.250000, executed if:(op1 == 2), nonconst if:(op2 changed || op4 changed) && (op1 == 2)
|
|
size:6.000000, time:1.500000, executed if:(op1 == 1)
|
|
size:1.000000, time:0.250000, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:3.000000, time:0.750000, executed if:(op1 == 0)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 0), nonconst if:(op4 changed || op3 changed) && (op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21/143 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21/142 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetDataAddress/21 inlinable
|
|
global time: 5.000000
|
|
self size: 6
|
|
global size: 6
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:2.000000, time:2.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_CheckAndCallNotification/20 inlinable
|
|
global time: 11.350000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:2.100000, executed if:(op1 != 0B)
|
|
calls:
|
|
indirect call loop depth: 0 freq:0.35 size: 3 time: 15predicate: (op1 != 0B)
|
|
|
|
IPA function summary for Adc_Sar_ResetWdog/19 inlinable
|
|
global time: 108.090000
|
|
self size: 38
|
|
global size: 38
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:35.000000, time:106.090000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_GetConvResults/18 inlinable
|
|
global time: 712.814237
|
|
self size: 63
|
|
global size: 63
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:34.000000, time:506.913820
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:3.000000, time:55.175196, nonconst if:(op1 changed)
|
|
size:2.000000, time:12.506378, nonconst if:(op2 changed)
|
|
size:3.000000, time:10.030740, executed if:(op2 != 0B)
|
|
size:2.000000, time:12.506378, nonconst if:(op3 changed)
|
|
size:8.000000, time:26.748641, executed if:(op3 != 0B)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 function not considered for inlining
|
|
loop depth: 2 freq:3.34 size: 4 time: 13callee size: 8 stack: 0 predicate: (op3 != 0B)
|
|
op0 change 29.900000% of time
|
|
Adc_Sar_GetMaskedResult/12 function not considered for inlining
|
|
loop depth: 2 freq:3.34 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 != 0B)
|
|
op0 change 29.900000% of time
|
|
|
|
IPA function summary for Adc_Sar_CheckSelfTestProgress/17 inlinable
|
|
global time: 637.755914
|
|
self size: 47
|
|
global size: 47
|
|
min size: 30
|
|
self stack: 4
|
|
global stack: 4
|
|
size:29.000000, time:238.106569
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 2 freq:14.07 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 2 freq:14.60 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_EnableChannelWatchdog/16 inlinable
|
|
global time: 423.299996
|
|
self size: 53
|
|
global size: 53
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:41.000000, time:278.738179
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
loop iterations:(op2 changed)
|
|
calls:
|
|
Adc_Sar_Ip_EnableChannelNotifications/43 function not considered for inlining
|
|
loop depth: 1 freq:8.09 size: 4 time: 13callee size:17 stack: 0
|
|
op0 change 12.350000% of time
|
|
Adc_Sar_WriteChannelMapping/5 function not considered for inlining
|
|
loop depth: 1 freq:2.67 size: 5 time: 14callee size:50 stack: 0
|
|
op0 change 37.450000% of time
|
|
|
|
IPA function summary for Adc_Sar_CollectMcrMasks/15 inlinable
|
|
global time: 48.496717
|
|
self size: 66
|
|
global size: 66
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:6.999550
|
|
size:3.000000, time:1.999700, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 0] changed)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 16] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 16] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 128] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 128] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed || op1[ref offset: 128] changed)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 136] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 136] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed || op1[ref offset: 128] changed || op1[ref offset: 136] changed)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 144] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 144] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed || op1[ref offset: 128] changed || op1[ref offset: 136] changed || op1[ref offset: 144] changed)
|
|
size:0.500000, time:0.250000, executed if:(not inlined), nonconst if:(op1[ref offset: 32] changed) && (not inlined)
|
|
size:6.500000, time:1.250000, nonconst if:(op1[ref offset: 32] changed)
|
|
size:1.000000, time:0.166650, executed if:(op1[ref offset: 32] == 2), nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed || op1[ref offset: 128] changed || op1[ref offset: 136] changed || op1[ref offset: 144] changed) && (op1[ref offset: 32] == 2)
|
|
size:1.000000, time:0.166650, executed if:(op1[ref offset: 32] == 1), nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 16] changed || op1[ref offset: 128] changed || op1[ref offset: 136] changed || op1[ref offset: 144] changed) && (op1[ref offset: 32] == 1)
|
|
size:0.500000, time:0.499975, executed if:(not inlined), nonconst if:(op1[ref offset: 40] changed) && (not inlined)
|
|
size:6.500000, time:2.499875, nonconst if:(op1[ref offset: 40] changed)
|
|
size:1.000000, time:0.333283, executed if:(op1[ref offset: 40] == 2)
|
|
size:1.000000, time:0.333283, executed if:(op1[ref offset: 40] == 1)
|
|
size:0.500000, time:0.499925, executed if:(not inlined), nonconst if:(op1[ref offset: 48] changed) && (not inlined)
|
|
size:4.500000, time:4.499325, nonconst if:(op1[ref offset: 48] changed)
|
|
size:0.500000, time:0.249963, executed if:(op1[ref offset: 48] != 0) && (not inlined), nonconst if:(op1[ref offset: 56] changed) && (op1[ref offset: 48] != 0) && (not inlined)
|
|
size:2.500000, time:1.249813, executed if:(op1[ref offset: 48] != 0), nonconst if:(op1[ref offset: 56] changed) && (op1[ref offset: 48] != 0)
|
|
size:2.000000, time:0.999850, executed if:(op1[ref offset: 48] != 0)
|
|
size:0.500000, time:0.249963, executed if:(op1[ref offset: 48] != 0) && (not inlined), nonconst if:(op1[ref offset: 64] changed) && (op1[ref offset: 48] != 0) && (not inlined)
|
|
size:2.500000, time:1.249813, executed if:(op1[ref offset: 48] != 0), nonconst if:(op1[ref offset: 64] changed) && (op1[ref offset: 48] != 0)
|
|
size:0.500000, time:0.499925, executed if:(not inlined), nonconst if:(op1[ref offset: 184] changed) && (not inlined)
|
|
size:2.500000, time:2.499625, nonconst if:(op1[ref offset: 184] changed)
|
|
size:0.500000, time:0.499925, executed if:(not inlined), nonconst if:(op1[ref offset: 192] changed) && (not inlined)
|
|
size:2.500000, time:2.499625, nonconst if:(op1[ref offset: 192] changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_GetIsrFlags/14 inlinable
|
|
global time: 9.500000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:7.500000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_GetMsrFlags/13 inlinable
|
|
global time: 23.500000
|
|
self size: 26
|
|
global size: 26
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:23.000000, time:21.500000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_GetMaskedResult/12 inlinable
|
|
global time: 22.640000
|
|
self size: 17
|
|
global size: 17
|
|
min size: 6
|
|
self stack: 0
|
|
global stack: 0
|
|
size:11.000000, time:8.640000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetResolution/11 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_GetResolution/11 inlinable
|
|
global time: 9.000000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_WriteChannelMapping/5 inlinable
|
|
global time: 16.776700
|
|
self size: 100
|
|
global size: 100
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:18.000000, time:6.000000, nonconst if:(op2 changed)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 7), nonconst if:(op1 changed) && (op2 == 7)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 7), nonconst if:(op0 changed || op1 changed) && (op2 == 7)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 7)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 7), nonconst if:(op3 changed) && (op2 == 7)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 6), nonconst if:(op1 changed) && (op2 == 6)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 6), nonconst if:(op0 changed || op1 changed) && (op2 == 6)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 6)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 6), nonconst if:(op3 changed) && (op2 == 6)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 5), nonconst if:(op1 changed) && (op2 == 5)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 5), nonconst if:(op0 changed || op1 changed) && (op2 == 5)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 5)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 5), nonconst if:(op3 changed) && (op2 == 5)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 4), nonconst if:(op1 changed) && (op2 == 4)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 4), nonconst if:(op0 changed || op1 changed) && (op2 == 4)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 4)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 4), nonconst if:(op3 changed) && (op2 == 4)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 3), nonconst if:(op1 changed) && (op2 == 3)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 3), nonconst if:(op0 changed || op1 changed) && (op2 == 3)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 3)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 3), nonconst if:(op3 changed) && (op2 == 3)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 2), nonconst if:(op1 changed) && (op2 == 2)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 2), nonconst if:(op0 changed || op1 changed) && (op2 == 2)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 2)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 2), nonconst if:(op3 changed) && (op2 == 2)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 1), nonconst if:(op1 changed) && (op2 == 1)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 1), nonconst if:(op0 changed || op1 changed) && (op2 == 1)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 1)
|
|
size:2.000000, time:0.222200, executed if:(op2 == 1), nonconst if:(op3 changed) && (op2 == 1)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 0), nonconst if:(op1 changed) && (op2 == 0)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 0), nonconst if:(op0 changed || op1 changed) && (op2 == 0)
|
|
size:6.000000, time:0.666600, executed if:(op2 == 0)
|
|
size:1.000000, time:0.111100, executed if:(op2 == 0), nonconst if:(op3 changed) && (op2 == 0)
|
|
calls:
|
|
|
|
|
|
Flattening functions:
|
|
Overall time estimate: 4372.273262 weighted by profile: 0.000000
|
|
|
|
Deciding on inlining of small functions. Starting with size 0.
|
|
Enqueueing calls in Adc_Sar_Ip_SetPresamplingSource.part.0/145.
|
|
Enqueueing calls in Adc_Sar_Ip_SetExternalTrigger/64.
|
|
Enqueueing calls in Adc_Sar_Ip_SetCtuMode/63.
|
|
Enqueueing calls in Adc_Sar_Ip_SetConversionMode/62.
|
|
Enqueueing calls in Adc_Sar_Ip_SetWdgThreshold/61.
|
|
Enqueueing calls in Adc_Sar_Ip_SetDmaClearSource/60.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableChannelDmaAll/59.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableChannelDma/58.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableChannelDma/57.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableDma/56.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableDma/55.
|
|
Enqueueing calls in Adc_Sar_Ip_DisablePresampleConversion/54.
|
|
Enqueueing calls in Adc_Sar_Ip_EnablePresampleConversion/53.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableChannelPresampling/52.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableChannelPresampling/51.
|
|
Enqueueing calls in Adc_Sar_Ip_SetPresamplingSource/50.
|
|
Enqueueing calls in Adc_Sar_Ip_AbortChain/49.
|
|
Enqueueing calls in Adc_Sar_Ip_AbortConversion/48.
|
|
Enqueueing calls in Adc_Sar_Ip_SetAveraging/47.
|
|
Enqueueing calls in Adc_Sar_Ip_SetSampleTimes/46.
|
|
Enqueueing calls in Adc_Sar_Ip_SetClockMode/45.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableChannelNotifications/44.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableChannelNotifications/43.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableNotifications/42.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableNotifications/41.
|
|
Enqueueing calls in Adc_Sar_Ip_Powerdown/40.
|
|
Enqueueing calls in Adc_Sar_Ip_Powerup/39.
|
|
Enqueueing calls in Adc_Sar_Ip_DoCalibration/38.
|
|
Enqueueing calls in Adc_Sar_Ip_GetConvResult/37.
|
|
Enqueueing calls in Adc_Sar_Ip_GetConvData/36.
|
|
Enqueueing calls in Adc_Sar_Ip_GetConvResultsToArray/35.
|
|
Enqueueing calls in Adc_Sar_Ip_GetConvDataToArray/34.
|
|
Enqueueing calls in Adc_Sar_Ip_SelfTest/33.
|
|
Enqueueing calls in Adc_Sar_Ip_ClearStatusFlags/32.
|
|
Enqueueing calls in Adc_Sar_Ip_GetStatusFlags/31.
|
|
Enqueueing calls in Adc_Sar_Ip_StartConversion/30.
|
|
Enqueueing calls in Adc_Sar_Ip_SetResolution/29.
|
|
Enqueueing calls in Adc_Sar_Ip_DisableChannel/28.
|
|
Enqueueing calls in Adc_Sar_Ip_EnableChannel/27.
|
|
Enqueueing calls in Adc_Sar_Ip_ChainConfig/26.
|
|
Enqueueing calls in Adc_Sar_Ip_Deinit/25.
|
|
Enqueueing calls in Adc_Sar_Ip_Init/24.
|
|
Enqueueing calls in Adc_Sar_Ip_IRQHandler/23.
|
|
Enqueueing calls in Adc_Sar_ConfigExternalTrigger/22.
|
|
Enqueueing calls in Adc_Sar_Ip_GetDataAddress/21.
|
|
Enqueueing calls in Adc_Sar_CheckAndCallNotification/20.
|
|
Enqueueing calls in Adc_Sar_ResetWdog/19.
|
|
Enqueueing calls in Adc_Sar_GetConvResults/18.
|
|
Enqueueing calls in Adc_Sar_CheckSelfTestProgress/17.
|
|
Enqueueing calls in Adc_Sar_EnableChannelWatchdog/16.
|
|
Enqueueing calls in Adc_Sar_CollectMcrMasks/15.
|
|
Enqueueing calls in Adc_Sar_GetIsrFlags/14.
|
|
Enqueueing calls in Adc_Sar_GetMsrFlags/13.
|
|
Enqueueing calls in Adc_Sar_GetMaskedResult/12.
|
|
Enqueueing calls in Adc_Sar_GetResolution/11.
|
|
Enqueueing calls in Adc_Sar_WriteChannelMapping/5.
|
|
|
|
Considering Adc_Sar_GetIsrFlags/14 with 11 size
|
|
to be inlined into Adc_Sar_Ip_GetStatusFlags/31 in ../RTD/src/Adc_Sar_Ip.c:1706
|
|
Estimated badness is -5.973333, frequency 1.00.
|
|
|
|
Considering Adc_Sar_GetResolution/11 with 11 size
|
|
to be inlined into Adc_Sar_GetMaskedResult/12 in ../RTD/src/Adc_Sar_Ip.c:348
|
|
Estimated badness is -4.072727, frequency 1.00.
|
|
|
|
Considering Adc_Sar_GetResolution/11 with 11 size
|
|
to be inlined into Adc_Sar_Ip_SetWdgThreshold/61 in ../RTD/src/Adc_Sar_Ip.c:2988
|
|
Estimated badness is -1.866667, frequency 1.00.
|
|
|
|
Considering Adc_Sar_GetMsrFlags/13 with 26 size
|
|
to be inlined into Adc_Sar_Ip_GetStatusFlags/31 in ../RTD/src/Adc_Sar_Ip.c:1704
|
|
Estimated badness is -0.746667, frequency 1.00.
|
|
|
|
Considering Adc_Sar_WriteChannelMapping/5 with 100 size
|
|
to be inlined into Adc_Sar_EnableChannelWatchdog/16 in ../RTD/src/Adc_Sar_Ip.c:571
|
|
Estimated badness is -0.102475, frequency 2.67.
|
|
|
|
Considering Adc_Sar_CheckSelfTestProgress/17 with 47 size
|
|
to be inlined into Adc_Sar_Ip_SelfTest/33 in ../RTD/src/Adc_Sar_Ip.c:1832
|
|
Estimated badness is -0.101174, frequency 1.00.
|
|
|
|
Considering Adc_Sar_CollectMcrMasks/15 with 66 size
|
|
to be inlined into Adc_Sar_Ip_Init/24 in ../RTD/src/Adc_Sar_Ip.c:1211
|
|
Estimated badness is -0.029439, frequency 0.49.
|
|
|
|
Considering Adc_Sar_ResetWdog/19 with 38 size
|
|
to be inlined into Adc_Sar_Ip_Deinit/25 in ../RTD/src/Adc_Sar_Ip.c:1447
|
|
Estimated badness is -0.009630, frequency 0.66.
|
|
|
|
Considering Adc_Sar_EnableChannelWatchdog/16 with 145 size
|
|
to be inlined into Adc_Sar_Ip_Init/24 in ../RTD/src/Adc_Sar_Ip.c:1301
|
|
Estimated badness is -0.000900, frequency 0.07.
|
|
|
|
Considering Adc_Sar_Ip_SetPresamplingSource.part.0/145 with 28 size
|
|
to be inlined into Adc_Sar_Ip_SetPresamplingSource/50 in unknown:0
|
|
Estimated badness is -0.000205, frequency 0.33.
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
|
|
Deciding on functions to be inlined into all callers and removing useless speculations:
|
|
Overall time estimate: 3795.368652 weighted by profile: 0.000000
|
|
|
|
Why inlining failed?
|
|
function body not available : 105 calls, 133.266228 freq, 0 count
|
|
--param max-inline-insns-auto limit reached : 4 calls, 3.913567 freq, 0 count
|
|
call is unlikely and code size would grow : 33 calls, 20.633118 freq, 0 count
|
|
IPA function summary for Adc_Sar_Ip_SetExternalTrigger/64 inlinable
|
|
global time: 18.000000
|
|
self size: 37
|
|
global size: 37
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:10.000000, time:4.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
Adc_Sar_ConfigExternalTrigger/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 3)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 2)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 1)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
Adc_Sar_ConfigExternalTrigger/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.20 size: 6 time: 15callee size:15 stack: 0 predicate: (op2 == 0)
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
op4 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetCtuMode/63 inlinable
|
|
global time: 56.440600
|
|
self size: 43
|
|
global size: 43
|
|
min size: 20
|
|
self stack: 0
|
|
global stack: 0
|
|
size:10.000000, time:8.640000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:0.871200, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.163350, executed if:(op1 == 2)
|
|
size:6.000000, time:0.326700, executed if:(op1 == 1)
|
|
size:3.000000, time:0.163350, executed if:(op1 == 0)
|
|
calls:
|
|
Adc_Sar_Ip_Powerup/39 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 function body not available
|
|
loop depth: 0 freq:0.22 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 function body not available
|
|
loop depth: 0 freq:0.22 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetConversionMode/62 inlinable
|
|
global time: 26.998600
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19/139 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19/138 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetWdgThreshold/61 inlinable
|
|
global time: 56.000000
|
|
self size: 43
|
|
global size: 48
|
|
min size: 29
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:34
|
|
size:29.000000, time:26.000000
|
|
size:5.000000, time:4.000000, executed if:(not inlined)
|
|
size:12.000000, time:6.000000, nonconst if:(op1 changed)
|
|
array index:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32/137 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32/136 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Adc_Sar_GetResolution/11 inlined
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetDmaClearSource/60 inlinable
|
|
global time: 31.000000
|
|
self size: 14
|
|
global size: 14
|
|
min size: 7
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:8
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45/135 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45/134 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelDmaAll/59 inlinable
|
|
global time: 62.000000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:13.000000, time:30.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48/133 function body not available
|
|
loop depth: 1 freq:1.50 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48/132 function body not available
|
|
loop depth: 1 freq:1.50 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelDma/58 inlinable
|
|
global time: 32.000000
|
|
self size: 15
|
|
global size: 15
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:5.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47/131 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47/130 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelDma/57 inlinable
|
|
global time: 31.000000
|
|
self size: 14
|
|
global size: 14
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:4.000000, time:4.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46/129 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46/128 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableDma/56 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44/127 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44/126 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableDma/55 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43/125 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43/124 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisablePresampleConversion/54 inlinable
|
|
global time: 13.920000
|
|
self size: 13
|
|
global size: 13
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40/123 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40/122 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnablePresampleConversion/53 inlinable
|
|
global time: 13.920000
|
|
self size: 13
|
|
global size: 13
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39/121 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39/120 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelPresampling/52 inlinable
|
|
global time: 15.900000
|
|
self size: 19
|
|
global size: 19
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:5.650000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:1.650000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42/119 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42/118 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelPresampling/51 inlinable
|
|
global time: 15.570000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:5.650000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:4.000000, time:1.320000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41/117 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41/116 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetPresamplingSource/50 inlinable
|
|
global time: 15.900000
|
|
self size: 11
|
|
global size: 32
|
|
min size: 7
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:12
|
|
size:7.000000, time:4.990000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:1.320000, nonconst if:(op1 changed)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 2)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 2), nonconst if:(op2 changed) && (op1 == 2)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 1)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 1), nonconst if:(op1 == 1) && (op2 changed)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 0)
|
|
size:2.000000, time:0.165000, executed if:(op1 == 0), nonconst if:(op1 == 0) && (op2 changed)
|
|
calls:
|
|
Adc_Sar_Ip_SetPresamplingSource.part.0/145 inlined
|
|
loop depth: 0 freq:0.33 size: 4 time: 13callee size:14 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_AbortChain/49 inlinable
|
|
global time: 144.465646
|
|
self size: 39
|
|
global size: 39
|
|
min size: 5
|
|
self stack: 4
|
|
global stack: 4
|
|
estimated growth:28
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:3.000000, time:1.500000, executed if:(op2 == 0)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:11.000000, time:32.703786, executed if:(op1 != 0)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:4.17 size: 4 time: 13 predicate: (op1 != 0)
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18/113 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18/112 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_AbortConversion/48 inlinable
|
|
global time: 26.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:4.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17/111 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17/110 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetAveraging/47 inlinable
|
|
global time: 34.000000
|
|
self size: 17
|
|
global size: 17
|
|
min size: 7
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:10
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed || op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16/109 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16/108 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetSampleTimes/46 inlinable
|
|
global time: 15.000000
|
|
self size: 19
|
|
global size: 19
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:12
|
|
size:14.000000, time:12.000000
|
|
size:4.000000, time:2.500000, executed if:(not inlined)
|
|
size:0.500000, time:0.250000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
|
|
size:0.500000, time:0.250000, nonconst if:(op1[ref offset: 0] changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetClockMode/45 inlinable
|
|
global time: 45.503238
|
|
self size: 34
|
|
global size: 34
|
|
min size: 30
|
|
self stack: 0
|
|
global stack: 0
|
|
size:11.500000, time:6.530114
|
|
size:4.500000, time:2.358388, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
|
|
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 0] changed)
|
|
calls:
|
|
Adc_Sar_Ip_SetSampleTimes/46 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.24 size: 3 time: 12callee size: 9 stack: 0
|
|
Adc_Sar_Ip_SetAveraging/47 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.24 size: 4 time: 13callee size: 8 stack: 0
|
|
Adc_Sar_Ip_Powerup/39 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15/107 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15/106 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannelNotifications/44 inlinable
|
|
global time: 22.910000
|
|
self size: 36
|
|
global size: 36
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:15.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:2.990000, nonconst if:(op1 changed)
|
|
size:6.000000, time:6.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29/105 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29/104 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31/103 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31/102 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannelNotifications/43 inlinable
|
|
global time: 22.580000
|
|
self size: 34
|
|
global size: 34
|
|
min size: 15
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:27
|
|
size:15.000000, time:5.320000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:6.000000, time:2.660000, nonconst if:(op1 changed)
|
|
size:6.000000, time:6.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28/101 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28/100 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30/99 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30/98 function body not available
|
|
loop depth: 0 freq:0.17 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableNotifications/42 inlinable
|
|
global time: 32.500000
|
|
self size: 16
|
|
global size: 16
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:9.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34/97 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34/96 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableNotifications/41 inlinable
|
|
global time: 31.500000
|
|
self size: 15
|
|
global size: 15
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:8.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33/95 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33/94 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_Powerdown/40 inlinable
|
|
global time: 225.931292
|
|
self size: 32
|
|
global size: 32
|
|
min size: 16
|
|
self stack: 4
|
|
global stack: 4
|
|
estimated growth:156
|
|
size:16.000000, time:70.407572
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14/93 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14/92 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_Powerup/39 inlinable
|
|
global time: 225.931292
|
|
self size: 32
|
|
global size: 32
|
|
min size: 16
|
|
self stack: 4
|
|
global stack: 4
|
|
estimated growth:130
|
|
size:16.000000, time:70.407572
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13/91 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13/90 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_DoCalibration/38 inlinable
|
|
global time: 122.214651
|
|
self size: 82
|
|
global size: 82
|
|
min size: 58
|
|
self stack: 4
|
|
global stack: 4
|
|
size:50.000000, time:30.261183
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_Powerup/39 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.12 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 function body not available
|
|
loop depth: 0 freq:0.12 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 function body not available
|
|
loop depth: 0 freq:0.12 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.24 size: 3 time: 12callee size:16 stack: 4
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:1.99 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36/89 function body not available
|
|
loop depth: 0 freq:0.24 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36/88 function body not available
|
|
loop depth: 0 freq:0.24 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerup/39 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 function body not available
|
|
loop depth: 0 freq:0.49 size: 1 time: 10
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvResult/37 inlinable
|
|
global time: 25.470000
|
|
self size: 34
|
|
global size: 34
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:17.500000, time:13.077500
|
|
size:6.500000, time:4.247500, executed if:(not inlined)
|
|
size:5.000000, time:5.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op2 changed)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.17 size: 4 time: 13callee size:11 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvData/36 inlinable
|
|
global time: 16.610000
|
|
self size: 20
|
|
global size: 20
|
|
min size: 8
|
|
self stack: 0
|
|
global stack: 0
|
|
size:8.000000, time:6.660000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:5.000000, time:3.660000, nonconst if:(op1 changed)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 4 time: 13callee size:11 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvResultsToArray/35 inlinable
|
|
global time: 18.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetConvResults/18 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:1.00 size: 7 time: 16callee size:31 stack: 0
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetConvDataToArray/34 inlinable
|
|
global time: 18.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetConvResults/18 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:1.00 size: 7 time: 16callee size:31 stack: 0
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_SelfTest/33 inlinable
|
|
global time: 983.687206
|
|
self size: 67
|
|
global size: 108
|
|
min size: 128
|
|
self stack: 4
|
|
global stack: 8
|
|
size:67.000000, time:330.514141
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 1 freq:8.35 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Adc_Sar_CheckSelfTestProgress/17 inlined
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:23 stack: 4
|
|
Stack frame offset 4, callee self size 4, callee size 4
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 2 freq:14.07 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetElapsed/85 function body not available
|
|
loop depth: 2 freq:14.60 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25/80 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25/79 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
OsIf_GetCounter/78 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
OsIf_MicrosToTicks/77 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_ClearStatusFlags/32 inlinable
|
|
global time: 9.500000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 6
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:3
|
|
size:6.000000, time:6.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.500000, nonconst if:(op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetStatusFlags/31 inlinable
|
|
global time: 32.000000
|
|
self size: 10
|
|
global size: 35
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:32.000000, time:30.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetIsrFlags/14 inlined
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Adc_Sar_GetMsrFlags/13 inlined
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:13 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
|
|
IPA function summary for Adc_Sar_Ip_StartConversion/30 inlinable
|
|
global time: 26.998600
|
|
self size: 18
|
|
global size: 18
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10/76 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10/75 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_SetResolution/29 inlinable
|
|
global time: 28.000000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 5
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:9
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37/74 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37/73 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_DisableChannel/28 inlinable
|
|
global time: 24.998000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 1)
|
|
size:3.000000, time:0.999900, executed if:(op1 == 0), nonconst if:(op2 changed) && (op1 == 0)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27/72 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27/71 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24/70 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24/69 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
|
|
IPA function summary for Adc_Sar_Ip_EnableChannel/27 inlinable
|
|
global time: 24.331400
|
|
self size: 28
|
|
global size: 28
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:6.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:2.000000, time:0.666600, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 1)
|
|
size:2.000000, time:0.666600, executed if:(op1 == 0), nonconst if:(op2 changed) && (op1 == 0)
|
|
size:4.000000, time:1.333200, executed if:(op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26/68 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26/67 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 1)
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23/66 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23/65 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10 predicate: (op1 == 0)
|
|
|
|
IPA function summary for Adc_Sar_Ip_ChainConfig/26 inlinable
|
|
global time: 23.691264
|
|
self size: 30
|
|
global size: 30
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
size:6.000000, time:2.000000, nonconst if:(op2 changed)
|
|
size:9.500000, time:9.010765, executed if:(op2 == 1)
|
|
size:0.500000, time:0.334966, executed if:(op2 == 1) && (not inlined)
|
|
size:9.500000, time:9.010765, executed if:(op2 == 0)
|
|
size:0.500000, time:0.334966, executed if:(op2 == 0) && (not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_Ip_Deinit/25 inlinable
|
|
global time: 188.129400
|
|
self size: 75
|
|
global size: 108
|
|
min size: 56
|
|
self stack: 92
|
|
global stack: 92
|
|
size:92.000000, time:149.369400
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_Ip_SetResolution/29 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_ClearStatusFlags/32 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.66 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_ResetWdog/19 inlined
|
|
loop depth: 0 freq:0.66 size: 2 time: 11callee size:19 stack: 0
|
|
Stack frame offset 92, callee self size 0, callee size 0
|
|
Adc_Sar_Ip_Init/24 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size:170 stack: 0
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_Init/24 inlinable
|
|
global time: 171.028219
|
|
self size: 150
|
|
global size: 341
|
|
min size: 222
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:129
|
|
size:288.000000, time:92.970068
|
|
size:17.000000, time:7.153467, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_Ip_SetDmaClearSource/60 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.32 size: 3 time: 12callee size: 7 stack: 0
|
|
Adc_Sar_Ip_SetPresamplingSource/50 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size:16 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_SetPresamplingSource/50 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size:16 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_Ip_SetPresamplingSource/50 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.32 size: 4 time: 13callee size:16 stack: 0
|
|
op1 is compile time invariant
|
|
Adc_Sar_EnableChannelWatchdog/16 inlined
|
|
loop depth: 0 freq:0.07 size: 4 time: 13callee size:72 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Adc_Sar_Ip_EnableChannelNotifications/43 call is unlikely and code size would grow
|
|
loop depth: 1 freq:0.60 size: 4 time: 13callee size:17 stack: 0
|
|
op0 change 12.350000% of time
|
|
Adc_Sar_WriteChannelMapping/5 inlined
|
|
loop depth: 1 freq:0.20 size: 5 time: 14callee size:50 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Adc_Sar_Ip_SetWdgThreshold/61 --param max-inline-insns-auto limit reached
|
|
loop depth: 1 freq:0.91 size: 4 time: 13callee size:24 stack: 0
|
|
Adc_Sar_Ip_SetResolution/29 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.32 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_Ip_Powerup/39 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.49 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_CollectMcrMasks/15 inlined
|
|
loop depth: 0 freq:0.49 size: 4 time: 13callee size:33 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Adc_Sar_Ip_Powerdown/40 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:16 stack: 4
|
|
Adc_Sar_Ip_AbortChain/49 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size:19 stack: 4
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Adc_Sar_Ip_IRQHandler/23 inlinable
|
|
global time: 37.935000
|
|
self size: 53
|
|
global size: 53
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:41.000000, time:29.995000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_CheckAndCallNotification/20 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_CheckAndCallNotification/20 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
Adc_Sar_CheckAndCallNotification/20 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size: 5 stack: 0
|
|
|
|
IPA function summary for Adc_Sar_ConfigExternalTrigger/22 inlinable
|
|
global time: 31.000000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 1
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:38
|
|
size:1.000000, time:1.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:8.000000, time:4.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:0.750000, executed if:(op1 == 2)
|
|
size:1.000000, time:0.250000, executed if:(op1 == 2), nonconst if:(op2 changed || op4 changed) && (op1 == 2)
|
|
size:6.000000, time:1.500000, executed if:(op1 == 1)
|
|
size:1.000000, time:0.250000, executed if:(op1 == 1), nonconst if:(op2 changed) && (op1 == 1)
|
|
size:3.000000, time:0.750000, executed if:(op1 == 0)
|
|
size:2.000000, time:0.500000, executed if:(op1 == 0), nonconst if:(op4 changed || op3 changed) && (op1 == 0)
|
|
calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21/143 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21/142 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Adc_Sar_Ip_GetDataAddress/21 inlinable
|
|
global time: 5.000000
|
|
self size: 6
|
|
global size: 6
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:2.000000, time:2.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Adc_Sar_CheckAndCallNotification/20 inlinable
|
|
global time: 11.350000
|
|
self size: 11
|
|
global size: 11
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:4
|
|
size:0.000000, time:0.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:3.000000, time:2.100000, executed if:(op1 != 0B)
|
|
calls:
|
|
indirect call loop depth: 0 freq:0.35 size: 3 time: 15predicate: (op1 != 0B)
|
|
|
|
IPA function summary for Adc_Sar_GetConvResults/18 inlinable
|
|
global time: 712.814237
|
|
self size: 63
|
|
global size: 63
|
|
min size: 34
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:20
|
|
size:34.000000, time:506.913820
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:3.000000, time:55.175196, nonconst if:(op1 changed)
|
|
size:2.000000, time:12.506378, nonconst if:(op2 changed)
|
|
size:3.000000, time:10.030740, executed if:(op2 != 0B)
|
|
size:2.000000, time:12.506378, nonconst if:(op3 changed)
|
|
size:8.000000, time:26.748641, executed if:(op3 != 0B)
|
|
calls:
|
|
Adc_Sar_GetMaskedResult/12 call is unlikely and code size would grow
|
|
loop depth: 2 freq:3.34 size: 4 time: 13callee size:11 stack: 0 predicate: (op3 != 0B)
|
|
op0 change 29.900000% of time
|
|
Adc_Sar_GetMaskedResult/12 call is unlikely and code size would grow
|
|
loop depth: 2 freq:3.34 size: 4 time: 13callee size:11 stack: 0 predicate: (op2 != 0B)
|
|
op0 change 29.900000% of time
|
|
|
|
IPA function summary for Adc_Sar_GetMaskedResult/12 inlinable
|
|
global time: 17.640000
|
|
self size: 17
|
|
global size: 22
|
|
min size: 19
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:23
|
|
size:19.000000, time:15.640000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Adc_Sar_GetResolution/146 inlined
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
|
|
Symbol table:
|
|
|
|
Adc_Sar_GetResolution/146 (Adc_Sar_GetResolution) @05dcc8c0
|
|
Type: function definition analyzed
|
|
Visibility:
|
|
next sharing asm name: 11
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Function Adc_Sar_GetResolution/146 is inline copy in Adc_Sar_GetMaskedResult/12
|
|
Clone of Adc_Sar_GetResolution/11
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_GetMaskedResult/12 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Adc_Sar_Ip_SetPresamplingSource.part.0/145 (Adc_Sar_Ip_SetPresamplingSource.part.0) @05dcc0e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly artificial
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Function Adc_Sar_Ip_SetPresamplingSource.part.0/145 is inline copy in Adc_Sar_Ip_SetPresamplingSource/50
|
|
Availability: local
|
|
Function flags: count:354334800 (estimated locally) first_run:1 body local split_part optimize_size
|
|
Called by: Adc_Sar_Ip_SetPresamplingSource/50 (inlined) (354334800 (estimated locally),0.33 per call)
|
|
Calls: SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114 (354334800 (estimated locally),0.33 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115 (354334800 (estimated locally),0.33 per call)
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21/143 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21) @06141620
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_ConfigExternalTrigger/22 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21/142 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21) @06141540
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_ConfigExternalTrigger/22 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20) @061412a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetCtuMode/63 (233860969 (estimated locally),0.22 per call) Adc_Sar_Ip_SetCtuMode/63 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20) @061411c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetCtuMode/63 (233860969 (estimated locally),0.22 per call) Adc_Sar_Ip_SetCtuMode/63 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19/139 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19) @06141000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetConversionMode/62 (1073634451 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19/138 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19) @06137ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetConversionMode/62 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32/137 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32) @06137d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetWdgThreshold/61 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32/136 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32) @06137c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetWdgThreshold/61 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45/135 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45) @06137a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetDmaClearSource/60 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45/134 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45) @061379a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetDmaClearSource/60 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48/133 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48) @061377e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelDmaAll/59 (402653184 (estimated locally),1.50 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48/132 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48) @06137700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelDmaAll/59 (402653184 (estimated locally),1.50 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47/131 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47) @06137540
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelDma/58 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47/130 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47) @06137460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelDma/58 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46/129 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46) @061372a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelDma/57 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46/128 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46) @061371c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelDma/57 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44/127 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44) @06137000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableDma/56 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44/126 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44) @06130ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableDma/56 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43/125 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43) @06130d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableDma/55 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43/124 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43) @06130c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableDma/55 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40/123 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40) @06130a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisablePresampleConversion/54 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40/122 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40) @061309a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisablePresampleConversion/54 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39/121 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39) @061307e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnablePresampleConversion/53 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39/120 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39) @06130700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnablePresampleConversion/53 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42/119 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42) @06130540
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelPresampling/52 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42/118 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42) @06130460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelPresampling/52 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41/117 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41) @061302a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelPresampling/51 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41/116 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41) @061301c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelPresampling/51 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38) @06130000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetPresamplingSource.part.0/145 (354334800 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38) @06124ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetPresamplingSource.part.0/145 (354334800 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18/113 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18) @06124d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortChain/49 (229727064 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18/112 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18) @06124c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortChain/49 (229727064 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17/111 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17) @06124a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortConversion/48 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17/110 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17) @061249a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortConversion/48 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16/109 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16) @061247e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetAveraging/47 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16/108 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16) @06124700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetAveraging/47 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15/107 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15) @06124460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetClockMode/45 (524845004 (estimated locally),0.49 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15/106 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15) @06124380
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetClockMode/45 (524845004 (estimated locally),0.49 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29/105 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29) @061241c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelNotifications/44 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29/104 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29) @061240e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelNotifications/44 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31/103 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31) @06124000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelNotifications/44 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31/102 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31) @06116ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannelNotifications/44 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28/101 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28) @06116d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelNotifications/43 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28/100 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28) @06116c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelNotifications/43 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30/99 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30) @06116b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelNotifications/43 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30/98 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30) @06116a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannelNotifications/43 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34/97 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34) @061168c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableNotifications/42 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34/96 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34) @061167e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableNotifications/42 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33/95 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33) @06116620
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableNotifications/41 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33/94 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33) @06116540
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableNotifications/41 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14/93 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14) @061162a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_Powerdown/40 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14/92 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14) @061161c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_Powerdown/40 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13/91 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13) @060feee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_Powerup/39 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13/90 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13) @060fee00
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_Powerup/39 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36/89 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36) @060fec40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DoCalibration/38 (114863532 (estimated locally),0.24 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36/88 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36) @060feb60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DoCalibration/38 (114863532 (estimated locally),0.24 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12) @060fea80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DoCalibration/38 (56145294 (estimated locally),0.12 per call) Adc_Sar_Ip_DoCalibration/38 (234990860 (estimated locally),0.49 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12) @060fe9a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DoCalibration/38 (56145294 (estimated locally),0.12 per call) Adc_Sar_Ip_DoCalibration/38 (234990860 (estimated locally),0.49 per call)
|
|
Calls:
|
|
OsIf_GetElapsed/85 (OsIf_GetElapsed) @060f2ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortChain/49 (958878293 (estimated locally),4.17 per call) Adc_Sar_Ip_DoCalibration/38 (958878292 (estimated locally),1.99 per call) Adc_Sar_Ip_Powerdown/40 (958878293 (estimated locally),8.35 per call) Adc_Sar_Ip_Powerup/39 (958878293 (estimated locally),8.35 per call) Adc_Sar_Ip_SelfTest/33 (958878293 (estimated locally),8.35 per call) Adc_Sar_CheckSelfTestProgress/17 (1615611850 (estimated locally),14.07 per call) Adc_Sar_CheckSelfTestProgress/17 (1676989678 (estimated locally),14.60 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35) @060f2e00
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35) @060f2d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11) @060f2c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11) @060f2b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25/80 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25) @060f2a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25/79 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25) @060f29a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
OsIf_GetCounter/78 (OsIf_GetCounter) @060f28c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortChain/49 (229727064 (estimated locally),1.00 per call) Adc_Sar_Ip_DoCalibration/38 (480750531 (estimated locally),1.00 per call) Adc_Sar_Ip_Powerdown/40 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_Powerup/39 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_CheckSelfTestProgress/17 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
OsIf_MicrosToTicks/77 (OsIf_MicrosToTicks) @060f27e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_AbortChain/49 (229727064 (estimated locally),1.00 per call) Adc_Sar_Ip_DoCalibration/38 (480750531 (estimated locally),1.00 per call) Adc_Sar_Ip_Powerdown/40 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_Powerup/39 (114863532 (estimated locally),1.00 per call) Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call) Adc_Sar_CheckSelfTestProgress/17 (114863532 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10/76 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10) @060f22a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_StartConversion/30 (1073634451 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10/75 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10) @060f21c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_StartConversion/30 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37/74 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37) @060f2000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetResolution/29 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37/73 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37) @060d5000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_SetResolution/29 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27/72 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27) @060d5e00
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannel/28 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27/71 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27) @060d5d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannel/28 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24/70 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24) @060d5c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannel/28 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24/69 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24) @060d5b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_DisableChannel/28 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26/68 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26) @060d59a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannel/27 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26/67 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26) @060d58c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannel/27 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23/66 (SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23) @060d57e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannel/27 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23/65 (SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23) @060d5700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Adc_Sar_Ip_EnableChannel/27 (357878150 (estimated locally),0.33 per call)
|
|
Calls:
|
|
Adc_Sar_Ip_SetExternalTrigger/64 (Adc_Sar_Ip_SetExternalTrigger) @05f43540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741823 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_ConfigExternalTrigger/22 (214748364 (estimated locally),0.20 per call) Adc_Sar_ConfigExternalTrigger/22 (214748364 (estimated locally),0.20 per call) Adc_Sar_ConfigExternalTrigger/22 (214748364 (estimated locally),0.20 per call) Adc_Sar_ConfigExternalTrigger/22 (214748364 (estimated locally),0.20 per call)
|
|
Adc_Sar_Ip_SetCtuMode/63 (Adc_Sar_Ip_SetCtuMode) @05f432a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_Ip_Powerup/39 (708669605 (estimated locally),0.66 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 (233860969 (estimated locally),0.22 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 (233860969 (estimated locally),0.22 per call) Adc_Sar_Ip_Powerdown/40 (1073741824 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetConversionMode/62 (Adc_Sar_Ip_SetConversionMode) @05f3ed20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19/139 (1073634451 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19/138 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetWdgThreshold/61 (Adc_Sar_Ip_SetWdgThreshold) @05f3e8c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (760160410 (estimated locally),0.91 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32/137 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32/136 (1073741824 (estimated locally),1.00 per call) Adc_Sar_GetResolution/11 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetDmaClearSource/60 (Adc_Sar_Ip_SetDmaClearSource) @05f3e2a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (268435457 (estimated locally),0.32 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45/135 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45/134 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DisableChannelDmaAll/59 (Adc_Sar_Ip_DisableChannelDmaAll) @06039ee0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:268435456 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48/133 (402653184 (estimated locally),1.50 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48/132 (402653184 (estimated locally),1.50 per call)
|
|
Adc_Sar_Ip_DisableChannelDma/58 (Adc_Sar_Ip_DisableChannelDma) @06039540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47/131 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47/130 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_EnableChannelDma/57 (Adc_Sar_Ip_EnableChannelDma) @06039e00
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46/129 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46/128 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DisableDma/56 (Adc_Sar_Ip_DisableDma) @06039b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44/127 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44/126 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_EnableDma/55 (Adc_Sar_Ip_EnableDma) @060397e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43/125 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43/124 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DisablePresampleConversion/54 (Adc_Sar_Ip_DisablePresampleConversion) @06039460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: u32AdcFeatureBitmap/10 (read)pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40/123 (354334802 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40/122 (354334802 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_EnablePresampleConversion/53 (Adc_Sar_Ip_EnablePresampleConversion) @06039000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: u32AdcFeatureBitmap/10 (read)pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39/121 (354334802 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39/120 (354334802 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_DisableChannelPresampling/52 (Adc_Sar_Ip_DisableChannelPresampling) @06033ee0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: u32AdcFeatureBitmap/10 (read)pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42/119 (354334802 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42/118 (354334802 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_EnableChannelPresampling/51 (Adc_Sar_Ip_EnableChannelPresampling) @06033b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: u32AdcFeatureBitmap/10 (read)pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41/117 (354334802 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41/116 (354334802 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_SetPresamplingSource/50 (Adc_Sar_Ip_SetPresamplingSource) @060337e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (268435457 (estimated locally),0.32 per call) Adc_Sar_Ip_Init/24 (268435457 (estimated locally),0.32 per call) Adc_Sar_Ip_Init/24 (268435457 (estimated locally),0.32 per call)
|
|
Calls: Adc_Sar_Ip_SetPresamplingSource.part.0/145 (inlined) (354334800 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_AbortChain/49 (Adc_Sar_Ip_AbortChain) @060331c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:229727064 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (832079355 (estimated locally),1.00 per call)
|
|
Calls: OsIf_GetElapsed/85 (958878293 (estimated locally),4.17 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18/113 (229727064 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18/112 (229727064 (estimated locally),1.00 per call) OsIf_GetCounter/78 (229727064 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (229727064 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_AbortConversion/48 (Adc_Sar_Ip_AbortConversion) @0602d8c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17/111 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17/110 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetAveraging/47 (Adc_Sar_Ip_SetAveraging) @0602dc40
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_SetClockMode/45 (256544238 (estimated locally),0.24 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16/109 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16/108 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetSampleTimes/46 (Adc_Sar_Ip_SetSampleTimes) @0602d7e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_SetClockMode/45 (256544238 (estimated locally),0.24 per call)
|
|
Calls:
|
|
Adc_Sar_Ip_SetClockMode/45 (Adc_Sar_Ip_SetClockMode) @060258c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_Ip_SetSampleTimes/46 (256544238 (estimated locally),0.24 per call) Adc_Sar_Ip_SetAveraging/47 (256544238 (estimated locally),0.24 per call) Adc_Sar_Ip_Powerup/39 (524845004 (estimated locally),0.49 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15/107 (524845004 (estimated locally),0.49 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15/106 (524845004 (estimated locally),0.49 per call) Adc_Sar_Ip_Powerdown/40 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DisableChannelNotifications/44 (Adc_Sar_Ip_DisableChannelNotifications) @06025c40
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29/105 (177167401 (estimated locally),0.17 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29/104 (177167401 (estimated locally),0.17 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31/103 (177167401 (estimated locally),0.17 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31/102 (177167401 (estimated locally),0.17 per call)
|
|
Adc_Sar_Ip_EnableChannelNotifications/43 (Adc_Sar_Ip_EnableChannelNotifications) @060257e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_EnableChannelWatchdog/16 (501705859 (estimated locally),0.60 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28/101 (177167401 (estimated locally),0.17 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28/100 (177167401 (estimated locally),0.17 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30/99 (177167401 (estimated locally),0.17 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30/98 (177167401 (estimated locally),0.17 per call)
|
|
Adc_Sar_Ip_DisableNotifications/42 (Adc_Sar_Ip_DisableNotifications) @06025380
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34/97 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34/96 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_EnableNotifications/41 (Adc_Sar_Ip_EnableNotifications) @0601eee0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33/95 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33/94 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_Powerdown/40 (Adc_Sar_Ip_Powerdown) @0601e700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:114863532 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_SetCtuMode/63 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_Deinit/25 (177167401 (estimated locally),0.66 per call) Adc_Sar_Ip_Init/24 (832079355 (estimated locally),1.00 per call) Adc_Sar_Ip_SetClockMode/45 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_DoCalibration/38 (114863532 (estimated locally),0.24 per call) Adc_Sar_Ip_DoCalibration/38 (480750531 (estimated locally),1.00 per call)
|
|
Calls: OsIf_GetElapsed/85 (958878293 (estimated locally),8.35 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14/93 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14/92 (114863532 (estimated locally),1.00 per call) OsIf_GetCounter/78 (114863532 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (114863532 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_Powerup/39 (Adc_Sar_Ip_Powerup) @0601e380
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:114863532 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_SetCtuMode/63 (708669605 (estimated locally),0.66 per call) Adc_Sar_Ip_Init/24 (406720388 (estimated locally),0.49 per call) Adc_Sar_Ip_SetClockMode/45 (524845004 (estimated locally),0.49 per call) Adc_Sar_Ip_DoCalibration/38 (56145294 (estimated locally),0.12 per call) Adc_Sar_Ip_DoCalibration/38 (234990860 (estimated locally),0.49 per call)
|
|
Calls: OsIf_GetElapsed/85 (958878293 (estimated locally),8.35 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13/91 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13/90 (114863532 (estimated locally),1.00 per call) OsIf_GetCounter/78 (114863532 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (114863532 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DoCalibration/38 (Adc_Sar_Ip_DoCalibration) @0601e000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)aAdcSarState/8 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:480750531 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_Ip_Powerup/39 (56145294 (estimated locally),0.12 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 (56145294 (estimated locally),0.12 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 (56145294 (estimated locally),0.12 per call) Adc_Sar_Ip_Powerdown/40 (114863532 (estimated locally),0.24 per call) OsIf_GetElapsed/85 (958878292 (estimated locally),1.99 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36/89 (114863532 (estimated locally),0.24 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36/88 (114863532 (estimated locally),0.24 per call) Adc_Sar_Ip_Powerup/39 (234990860 (estimated locally),0.49 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87 (234990860 (estimated locally),0.49 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86 (234990860 (estimated locally),0.49 per call) Adc_Sar_Ip_Powerdown/40 (480750531 (estimated locally),1.00 per call) OsIf_GetCounter/78 (480750531 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (480750531 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_GetConvResult/37 (Adc_Sar_Ip_GetConvResult) @06016e00
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_GetMaskedResult/12 (177167401 (estimated locally),0.17 per call)
|
|
Adc_Sar_Ip_GetConvData/36 (Adc_Sar_Ip_GetConvData) @060169a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_GetMaskedResult/12 (354334802 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_GetConvResultsToArray/35 (Adc_Sar_Ip_GetConvResultsToArray) @06016620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_GetConvResults/18 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_GetConvDataToArray/34 (Adc_Sar_Ip_GetConvDataToArray) @06016380
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_GetConvResults/18 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SelfTest/33 (Adc_Sar_Ip_SelfTest) @060160e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:114863532 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 (114863532 (estimated locally),1.00 per call) OsIf_GetElapsed/85 (958878293 (estimated locally),8.35 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 (114863532 (estimated locally),1.00 per call) Adc_Sar_CheckSelfTestProgress/17 (inlined) (114863532 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 (114863532 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83 (114863532 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81 (114863532 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25/80 (114863532 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25/79 (114863532 (estimated locally),1.00 per call) OsIf_GetCounter/78 (114863532 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (114863532 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_ClearStatusFlags/32 (Adc_Sar_Ip_ClearStatusFlags) @06012700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Deinit/25 (177167401 (estimated locally),0.66 per call)
|
|
Calls:
|
|
Adc_Sar_Ip_GetStatusFlags/31 (Adc_Sar_Ip_GetStatusFlags) @05f31e00
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_GetIsrFlags/14 (inlined) (1073741824 (estimated locally),1.00 per call) Adc_Sar_GetMsrFlags/13 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_StartConversion/30 (Adc_Sar_Ip_StartConversion) @05f317e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10/76 (1073634451 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10/75 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_SetResolution/29 (Adc_Sar_Ip_SetResolution) @05f31d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Deinit/25 (177167401 (estimated locally),0.66 per call) Adc_Sar_Ip_Init/24 (268435456 (estimated locally),0.32 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37/74 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37/73 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_DisableChannel/28 (Adc_Sar_Ip_DisableChannel) @05f319a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27/72 (357878150 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27/71 (357878150 (estimated locally),0.33 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24/70 (357878150 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24/69 (357878150 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_EnableChannel/27 (Adc_Sar_Ip_EnableChannel) @05f31700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26/68 (357878150 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26/67 (357878150 (estimated locally),0.33 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23/66 (357878150 (estimated locally),0.33 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23/65 (357878150 (estimated locally),0.33 per call)
|
|
Adc_Sar_Ip_ChainConfig/26 (Adc_Sar_Ip_ChainConfig) @05f31460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:805386908 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Adc_Sar_Ip_Deinit/25 (Adc_Sar_Ip_Deinit) @05f31000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)aAdcSarState/8 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:268435456 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_Ip_Powerdown/40 (177167401 (estimated locally),0.66 per call) Adc_Sar_Ip_SetResolution/29 (177167401 (estimated locally),0.66 per call) Adc_Sar_Ip_ClearStatusFlags/32 (177167401 (estimated locally),0.66 per call) Adc_Sar_ResetWdog/19 (inlined) (177167401 (estimated locally),0.66 per call) Adc_Sar_Ip_Init/24 (268435456 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_Init/24 (Adc_Sar_Ip_Init) @05f24b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)aAdcSarState/8 (write)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)u32AdcFeatureBitmap/10 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)aAdcSarState/8 (write)aAdcSarState/8 (write)aAdcSarState/8 (write)aAdcSarState/8 (write)aAdcSarState/8 (write)aAdcSarState/8 (write)aAdcSarState/8 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:832079355 (estimated locally) body optimize_size
|
|
Called by: Adc_Sar_Ip_Deinit/25 (268435456 (estimated locally),1.00 per call)
|
|
Calls: Adc_Sar_Ip_SetDmaClearSource/60 (268435457 (estimated locally),0.32 per call) Adc_Sar_Ip_SetPresamplingSource/50 (268435457 (estimated locally),0.32 per call) Adc_Sar_Ip_SetPresamplingSource/50 (268435457 (estimated locally),0.32 per call) Adc_Sar_Ip_SetPresamplingSource/50 (268435457 (estimated locally),0.32 per call) Adc_Sar_EnableChannelWatchdog/16 (inlined) (62008590 (estimated locally),0.07 per call) Adc_Sar_Ip_SetWdgThreshold/61 (760160410 (estimated locally),0.91 per call) Adc_Sar_Ip_SetResolution/29 (268435456 (estimated locally),0.32 per call) Adc_Sar_Ip_Powerup/39 (406720388 (estimated locally),0.49 per call) Adc_Sar_CollectMcrMasks/15 (inlined) (406720388 (estimated locally),0.49 per call) Adc_Sar_Ip_Powerdown/40 (832079355 (estimated locally),1.00 per call) Adc_Sar_Ip_AbortChain/49 (832079355 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_IRQHandler/23 (Adc_Sar_Ip_IRQHandler) @05f1ad20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)aAdcSarState/8 (read)aAdcSarState/8 (read)aAdcSarState/8 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Adc_Sar_CheckAndCallNotification/20 (177167401 (estimated locally),0.17 per call) Adc_Sar_CheckAndCallNotification/20 (177167401 (estimated locally),0.17 per call) Adc_Sar_CheckAndCallNotification/20 (177167401 (estimated locally),0.17 per call)
|
|
Adc_Sar_ConfigExternalTrigger/22 (Adc_Sar_ConfigExternalTrigger) @05f1a9a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_SetExternalTrigger/64 (214748364 (estimated locally),0.20 per call) Adc_Sar_Ip_SetExternalTrigger/64 (214748364 (estimated locally),0.20 per call) Adc_Sar_Ip_SetExternalTrigger/64 (214748364 (estimated locally),0.20 per call) Adc_Sar_Ip_SetExternalTrigger/64 (214748364 (estimated locally),0.20 per call)
|
|
Calls: SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21/143 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21/142 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_Ip_GetDataAddress/21 (Adc_Sar_Ip_GetDataAddress) @05f1a700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Adc_Sar_CheckAndCallNotification/20 (Adc_Sar_CheckAndCallNotification) @05f1a380
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: aAdcSarState/8 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741823 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_IRQHandler/23 (177167401 (estimated locally),0.17 per call) Adc_Sar_Ip_IRQHandler/23 (177167401 (estimated locally),0.17 per call) Adc_Sar_Ip_IRQHandler/23 (177167401 (estimated locally),0.17 per call)
|
|
Calls:
|
|
Indirect call(375809638 (estimated locally),0.35 per call) of param:1 (vptr maybe changed)
|
|
Adc_Sar_ResetWdog/19 (Adc_Sar_ResetWdog) @05f1a0e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Function Adc_Sar_ResetWdog/19 is inline copy in Adc_Sar_Ip_Deinit/25
|
|
Availability: local
|
|
Function flags: count:177167401 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Deinit/25 (inlined) (177167401 (estimated locally),0.66 per call)
|
|
Calls:
|
|
Adc_Sar_GetConvResults/18 (Adc_Sar_GetConvResults) @05e3ac40
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:37930576 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetConvResultsToArray/35 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_GetConvDataToArray/34 (1073741824 (estimated locally),1.00 per call)
|
|
Calls: Adc_Sar_GetMaskedResult/12 (126823919 (estimated locally),3.34 per call) Adc_Sar_GetMaskedResult/12 (126823919 (estimated locally),3.34 per call)
|
|
Adc_Sar_CheckSelfTestProgress/17 (Adc_Sar_CheckSelfTestProgress) @05e3a700
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Function Adc_Sar_CheckSelfTestProgress/17 is inline copy in Adc_Sar_Ip_SelfTest/33
|
|
Availability: local
|
|
Function flags: count:114863532 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (inlined) (114863532 (estimated locally),1.00 per call)
|
|
Calls: OsIf_GetElapsed/85 (1615611850 (estimated locally),14.07 per call) OsIf_GetElapsed/85 (1676989678 (estimated locally),14.60 per call) OsIf_GetCounter/78 (114863532 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (114863532 (estimated locally),1.00 per call)
|
|
Adc_Sar_EnableChannelWatchdog/16 (Adc_Sar_EnableChannelWatchdog) @05e3a460
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)u32AdcChanBitmap/9 (read)u32AdcChanBitmap/9 (read)
|
|
Referring:
|
|
Function Adc_Sar_EnableChannelWatchdog/16 is inline copy in Adc_Sar_Ip_Init/24
|
|
Availability: local
|
|
Function flags: count:62008590 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (inlined) (62008590 (estimated locally),0.07 per call)
|
|
Calls: Adc_Sar_Ip_EnableChannelNotifications/43 (501705859 (estimated locally),0.60 per call) Adc_Sar_WriteChannelMapping/5 (inlined) (165562933 (estimated locally),0.20 per call)
|
|
Adc_Sar_CollectMcrMasks/15 (Adc_Sar_CollectMcrMasks) @05e3a0e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Function Adc_Sar_CollectMcrMasks/15 is inline copy in Adc_Sar_Ip_Init/24
|
|
Availability: local
|
|
Function flags: count:406720388 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (inlined) (406720388 (estimated locally),0.49 per call)
|
|
Calls:
|
|
Adc_Sar_GetIsrFlags/14 (Adc_Sar_GetIsrFlags) @05e35460
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Function Adc_Sar_GetIsrFlags/14 is inline copy in Adc_Sar_Ip_GetStatusFlags/31
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetStatusFlags/31 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Adc_Sar_GetMsrFlags/13 (Adc_Sar_GetMsrFlags) @05e350e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: pAdcBase/7 (read)u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Function Adc_Sar_GetMsrFlags/13 is inline copy in Adc_Sar_Ip_GetStatusFlags/31
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetStatusFlags/31 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Adc_Sar_GetMaskedResult/12 (Adc_Sar_GetMaskedResult) @05e1bd20
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: aAdcSarState/8 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetConvResult/37 (177167401 (estimated locally),0.17 per call) Adc_Sar_Ip_GetConvData/36 (354334802 (estimated locally),0.33 per call) Adc_Sar_GetConvResults/18 (126823919 (estimated locally),3.34 per call) Adc_Sar_GetConvResults/18 (126823919 (estimated locally),3.34 per call)
|
|
Calls: Adc_Sar_GetResolution/146 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_GetResolution/11 (Adc_Sar_GetResolution) @05e1ba80
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
previous sharing asm name: 146
|
|
References: pAdcBase/7 (read)
|
|
Referring:
|
|
Function Adc_Sar_GetResolution/11 is inline copy in Adc_Sar_Ip_SetWdgThreshold/61
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_SetWdgThreshold/61 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
u32AdcFeatureBitmap/10 (u32AdcFeatureBitmap) @05e11f78
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Adc_Sar_Ip_EnablePresampleConversion/53 (read)Adc_Sar_GetMsrFlags/13 (read)Adc_Sar_Ip_DisablePresampleConversion/54 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_GetIsrFlags/14 (read)Adc_Sar_CollectMcrMasks/15 (read)Adc_Sar_Ip_ClearStatusFlags/32 (read)Adc_Sar_Ip_EnableNotifications/41 (read)Adc_Sar_Ip_DisableNotifications/42 (read)Adc_Sar_Ip_SetPresamplingSource/50 (read)Adc_Sar_Ip_EnableChannelPresampling/51 (read)Adc_Sar_Ip_DisableChannelPresampling/52 (read)Adc_Sar_Ip_SetCtuMode/63 (read)
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
u32AdcChanBitmap/9 (u32AdcChanBitmap) @05e11ee8
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Adc_Sar_Ip_Init/24 (read)Adc_Sar_EnableChannelWatchdog/16 (read)Adc_Sar_ResetWdog/19 (read)Adc_Sar_Ip_SetSampleTimes/46 (read)Adc_Sar_Ip_SetSampleTimes/46 (read)Adc_Sar_Ip_ChainConfig/26 (read)Adc_Sar_Ip_ChainConfig/26 (read)Adc_Sar_Ip_EnableChannelNotifications/43 (read)Adc_Sar_Ip_SetSampleTimes/46 (read)Adc_Sar_Ip_DisableChannelDmaAll/59 (read)Adc_Sar_EnableChannelWatchdog/16 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_GetConvResults/18 (read)Adc_Sar_GetConvResults/18 (read)Adc_Sar_Ip_DisableChannelNotifications/44 (read)Adc_Sar_Ip_DisableChannelNotifications/44 (read)Adc_Sar_ResetWdog/19 (read)Adc_Sar_ResetWdog/19 (read)Adc_Sar_Ip_EnableChannelNotifications/43 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_Ip_Deinit/25 (read)
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
aAdcSarState/8 (aAdcSarState) @05e11dc8
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Adc_Sar_Ip_DoCalibration/38 (read)Adc_Sar_CheckAndCallNotification/20 (read)Adc_Sar_GetMaskedResult/12 (read)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_IRQHandler/23 (read)Adc_Sar_Ip_IRQHandler/23 (read)Adc_Sar_Ip_IRQHandler/23 (read)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Init/24 (write)Adc_Sar_Ip_Deinit/25 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
pAdcBase/7 (pAdcBase) @05e11cf0
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Adc_Sar_CheckSelfTestProgress/17 (read)Adc_Sar_ConfigExternalTrigger/22 (read)Adc_Sar_Ip_SetDmaClearSource/60 (read)Adc_Sar_Ip_DisableNotifications/42 (read)Adc_Sar_Ip_SetWdgThreshold/61 (read)Adc_Sar_GetIsrFlags/14 (read)Adc_Sar_Ip_GetDataAddress/21 (read)Adc_Sar_Ip_IRQHandler/23 (read)Adc_Sar_Ip_ChainConfig/26 (read)Adc_Sar_Ip_EnableChannel/27 (read)Adc_Sar_Ip_DisableChannel/28 (read)Adc_Sar_Ip_SetConversionMode/62 (read)Adc_Sar_GetResolution/11 (read)Adc_Sar_Ip_SetResolution/29 (read)Adc_Sar_Ip_StartConversion/30 (read)Adc_Sar_GetConvResults/18 (read)Adc_Sar_GetMsrFlags/13 (read)Adc_Sar_ResetWdog/19 (read)Adc_Sar_Ip_ClearStatusFlags/32 (read)Adc_Sar_Ip_SelfTest/33 (read)Adc_Sar_Ip_Powerup/39 (read)Adc_Sar_Ip_GetConvData/36 (read)Adc_Sar_Ip_GetConvResult/37 (read)Adc_Sar_Ip_Powerdown/40 (read)Adc_Sar_Ip_DoCalibration/38 (read)Adc_Sar_Ip_EnableNotifications/41 (read)Adc_Sar_Ip_EnableChannelNotifications/43 (read)Adc_Sar_Ip_SetSampleTimes/46 (read)Adc_Sar_EnableChannelWatchdog/16 (read)Adc_Sar_Ip_DisableChannelNotifications/44 (read)Adc_Sar_Ip_SetAveraging/47 (read)Adc_Sar_Ip_SetClockMode/45 (read)Adc_Sar_Ip_AbortConversion/48 (read)Adc_Sar_Ip_AbortChain/49 (read)Adc_Sar_Ip_SetPresamplingSource.part.0/145 (read)Adc_Sar_Ip_EnableChannelPresampling/51 (read)Adc_Sar_Ip_DisableChannelPresampling/52 (read)Adc_Sar_Ip_EnablePresampleConversion/53 (read)Adc_Sar_Ip_DisablePresampleConversion/54 (read)Adc_Sar_Ip_EnableDma/55 (read)Adc_Sar_Ip_DisableDma/56 (read)Adc_Sar_Ip_EnableChannelDma/57 (read)Adc_Sar_Ip_DisableChannelDma/58 (read)Adc_Sar_Ip_DisableChannelDmaAll/59 (read)Adc_Sar_Ip_Init/24 (read)Adc_Sar_Ip_Deinit/25 (read)Adc_Sar_Ip_SetCtuMode/63 (read)Adc_Sar_GetResolution/146 (read)
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
Adc_Sar_WriteChannelMapping/5 (Adc_Sar_WriteChannelMapping) @05df80e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Function Adc_Sar_WriteChannelMapping/5 is inline copy in Adc_Sar_Ip_Init/24
|
|
Availability: local
|
|
Function flags: count:165562933 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_EnableChannelWatchdog/16 (inlined) (165562933 (estimated locally),0.20 per call)
|
|
Calls:
|
|
|
|
;; Function Adc_Sar_CheckAndCallNotification (Adc_Sar_CheckAndCallNotification, funcdef_no=16, decl_uid=5054, cgraph_uid=17, symbol_order=20)
|
|
|
|
Adc_Sar_CheckAndCallNotification (const uint32 u32Instance, void (*<T34c>) (void) pfCallback)
|
|
{
|
|
_Bool _1;
|
|
|
|
<bb 2> [local count: 1073741823]:
|
|
# DEBUG BEGIN_STMT
|
|
if (pfCallback_3(D) != 0B)
|
|
goto <bb 3>; [70.00%]
|
|
else
|
|
goto <bb 5>; [30.00%]
|
|
|
|
<bb 3> [local count: 751619277]:
|
|
_1 = aAdcSarState[u32Instance_5(D)].bInit;
|
|
if (_1 != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 4> [local count: 375809638]:
|
|
# DEBUG BEGIN_STMT
|
|
pfCallback_3(D) ();
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_ConfigExternalTrigger (Adc_Sar_ConfigExternalTrigger, funcdef_no=18, decl_uid=5065, cgraph_uid=19, symbol_order=22)
|
|
|
|
Adc_Sar_ConfigExternalTrigger (const uint32 u32Instance, const Adc_Sar_Ip_ExtTriggerEdgeType eTriggerEdge, const uint32 u32TrgEdgeSetMask, const uint32 u32TrgEdgeClrMask, const uint32 u32TrigSrcMask)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_16 = pAdcBase[u32Instance_15(D)];
|
|
# DEBUG pBase => pBase_16
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21 ();
|
|
# DEBUG BEGIN_STMT
|
|
switch (eTriggerEdge_18(D)) <default: <L5> [25.00%], case 0: <L2> [25.00%], case 1: <L0> [25.00%], case 2: <L1> [25.00%]>
|
|
|
|
<bb 3> [local count: 268435456]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_16->MCR;
|
|
_2 = ~u32TrgEdgeSetMask_19(D);
|
|
_3 = _1 & _2;
|
|
pBase_16->MCR ={v} _3;
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} pBase_16->MCR;
|
|
_5 = _4 | u32TrigSrcMask_20(D);
|
|
pBase_16->MCR ={v} _5;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} pBase_16->MCR;
|
|
_7 = u32TrgEdgeSetMask_19(D) | u32TrigSrcMask_20(D);
|
|
_8 = _6 | _7;
|
|
pBase_16->MCR ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 5> [local count: 268435456]:
|
|
<L2>:
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} pBase_16->MCR;
|
|
_10 = u32TrigSrcMask_20(D) | u32TrgEdgeClrMask_24(D);
|
|
_11 = ~_10;
|
|
_12 = _9 & _11;
|
|
pBase_16->MCR ={v} _12;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
<L5>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_GetMaskedResult (Adc_Sar_GetMaskedResult, funcdef_no=8, decl_uid=4943, cgraph_uid=9, symbol_order=12)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5747 D.5907 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 11
|
|
Number of blocks to update: 10 ( 91%)
|
|
|
|
|
|
Merging blocks 2 and 7
|
|
Merging blocks 10 and 6
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 5 }
|
|
;; 4 succs { 5 }
|
|
;; 5 succs { 6 7 }
|
|
;; 6 succs { 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 1 }
|
|
Adc_Sar_GetMaskedResult (const uint32 u32Instance, const uint32 u32Cdr)
|
|
{
|
|
uint8 u8Resolution;
|
|
struct ADC_Type * const pBase;
|
|
uint32 u32Calbistreg;
|
|
uint8 D.5907;
|
|
uint8 u8Resolution;
|
|
uint16 u16Result;
|
|
uint32 u32CdrMask;
|
|
unsigned int _1;
|
|
unsigned int _2;
|
|
<unnamed type> _3;
|
|
short unsigned int _4;
|
|
short unsigned int _5;
|
|
unsigned int _6;
|
|
unsigned int _7;
|
|
short unsigned int _8;
|
|
short unsigned int _9;
|
|
short unsigned int _10;
|
|
int _11;
|
|
int _12;
|
|
long unsigned int _25;
|
|
unsigned int _26;
|
|
unsigned char _28;
|
|
unsigned char _29;
|
|
unsigned char _30;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_15(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_GetResolution
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pBase_23 = pAdcBase[u32Instance_15(D)];
|
|
# DEBUG pBase => pBase_23
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_24 ={v} pBase_23->CALBISTREG;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_24
|
|
# DEBUG BEGIN_STMT
|
|
_25 = u32Calbistreg_24 >> 29;
|
|
# DEBUG u8ResolutionBits => (uint8) _25
|
|
# DEBUG BEGIN_STMT
|
|
_26 = _25 + 4294967295;
|
|
if (_26 <= 2)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
<L4>:
|
|
u8Resolution_27 = 14;
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 536870913]:
|
|
<L5>:
|
|
_28 = (unsigned char) _25;
|
|
_29 = _28 * 254;
|
|
_30 = _29 + 14;
|
|
u8Resolution_31 = _30;
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# u8Resolution_32 = PHI <u8Resolution_27(3), u8Resolution_31(4)>
|
|
<L6>:
|
|
<L7>:
|
|
# DEBUG u8Resolution => u8Resolution_32
|
|
# DEBUG BEGIN_STMT
|
|
_33 = u8Resolution_32;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32Calbistreg => NULL
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u8Resolution => NULL
|
|
u8Resolution_17 = _33;
|
|
# DEBUG u8Resolution => u8Resolution_17
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (unsigned int) u8Resolution_17;
|
|
_2 = 16 - _1;
|
|
u32CdrMask_18 = 65535 << _2;
|
|
# DEBUG u32CdrMask => u32CdrMask_18
|
|
# DEBUG BEGIN_STMT
|
|
_3 = aAdcSarState[u32Instance_15(D)].eDataAlign;
|
|
if (_3 == 1)
|
|
goto <bb 6>; [34.00%]
|
|
else
|
|
goto <bb 7>; [66.00%]
|
|
|
|
<bb 6> [local count: 365072220]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32CdrMask => u32CdrMask_18
|
|
# DEBUG BEGIN_STMT
|
|
_4 = (short unsigned int) u32Cdr_20(D);
|
|
_5 = (short unsigned int) u32CdrMask_18;
|
|
u16Result_22 = _4 & _5;
|
|
# DEBUG u16Result => u16Result_22
|
|
goto <bb 8>; [100.00%]
|
|
|
|
<bb 7> [local count: 708669605]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 = 15 - _1;
|
|
_7 = 65535 << _6;
|
|
u32CdrMask_19 = _7 & 32767;
|
|
# DEBUG u32CdrMask => u32CdrMask_19
|
|
# DEBUG BEGIN_STMT
|
|
_8 = (short unsigned int) u32Cdr_20(D);
|
|
_9 = (short unsigned int) u32CdrMask_19;
|
|
_10 = _8 & _9;
|
|
_11 = (int) _10;
|
|
_12 = _11 >> _6;
|
|
u16Result_21 = (uint16) _12;
|
|
# DEBUG u16Result => u16Result_21
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
# u16Result_13 = PHI <u16Result_22(6), u16Result_21(7)>
|
|
# DEBUG u16Result => u16Result_13
|
|
# DEBUG BEGIN_STMT
|
|
return u16Result_13;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_GetConvResults (Adc_Sar_GetConvResults, funcdef_no=14, decl_uid=5013, cgraph_uid=15, symbol_order=18)
|
|
|
|
Adc_Sar_GetConvResults (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType, uint16 * const pResultsRaw, struct Adc_Sar_Ip_ChanResultType * const pResultsStruct, const uint32 u32Length)
|
|
{
|
|
uint32 u32Cdr;
|
|
uint8 u8ChnIdx;
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
boolean bLengthExceeded;
|
|
uint32 u32Index;
|
|
long unsigned int _1;
|
|
unsigned char _2;
|
|
unsigned char _3;
|
|
unsigned char _4;
|
|
unsigned char _5;
|
|
unsigned int _6;
|
|
long unsigned int _7;
|
|
unsigned int _8;
|
|
unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
const uint32_t * _12;
|
|
unsigned int _13;
|
|
const uint32_t * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
uint16 * _21;
|
|
short unsigned int _22;
|
|
long unsigned int _23;
|
|
struct Adc_Sar_Ip_ChanResultType * _24;
|
|
short unsigned int _25;
|
|
long unsigned int _26;
|
|
_Bool _27;
|
|
long unsigned int _28;
|
|
_Bool _29;
|
|
volatile uint32_t * _30;
|
|
long unsigned int _31;
|
|
volatile uint32_t * _32;
|
|
long unsigned int _33;
|
|
unsigned char _53;
|
|
|
|
<bb 2> [local count: 37930576]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Index => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG bLengthExceeded => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_56 = pAdcBase[u32Instance_55(D)];
|
|
# DEBUG pBase => pBase_56
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32VectAdr => 0
|
|
goto <bb 17>; [100.00%]
|
|
|
|
<bb 3> [local count: 106271080]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcChanBitmap[u32Instance_55(D)][u32VectAdr_43];
|
|
if (_1 == 0)
|
|
goto <bb 4>; [57.11%]
|
|
else
|
|
goto <bb 19>; [42.89%]
|
|
|
|
<bb 19> [local count: 45579666]:
|
|
goto <bb 14>; [100.00%]
|
|
|
|
<bb 4> [local count: 60691414]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 16>; [100.00%]
|
|
|
|
<bb 5> [local count: 1041207448]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (unsigned char) u32VectAdr_43;
|
|
_3 = _2 * 32;
|
|
_4 = (unsigned char) u32VectBit_44;
|
|
u8ChnIdx_57 = _3 + _4;
|
|
# DEBUG u8ChnIdx => u8ChnIdx_57
|
|
# DEBUG BEGIN_STMT
|
|
_5 = u8ChnIdx_57 >> 5;
|
|
_6 = (unsigned int) _5;
|
|
_7 = u32AdcChanBitmap[u32Instance_55(D)][_6];
|
|
_8 = (unsigned int) u8ChnIdx_57;
|
|
_53 = u8ChnIdx_57 & 31;
|
|
_9 = (unsigned int) _53;
|
|
_10 = _7 >> _9;
|
|
_11 = _10 & 1;
|
|
if (_11 == 0)
|
|
goto <bb 6>; [33.00%]
|
|
else
|
|
goto <bb 7>; [67.00%]
|
|
|
|
<bb 6> [local count: 343598458]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 13>; [100.00%]
|
|
|
|
<bb 7> [local count: 697608991]:
|
|
# DEBUG BEGIN_STMT
|
|
_12 = &pBase_56->PCDR[0];
|
|
_13 = _8 * 4;
|
|
_14 = _12 + _13;
|
|
u32Cdr_58 ={v} MEM[(volatile uint32 *)_14];
|
|
# DEBUG u32Cdr => u32Cdr_58
|
|
# DEBUG BEGIN_STMT
|
|
_15 = (long unsigned int) pChainType_59(D);
|
|
_16 = _15 << 16;
|
|
_17 = _16 & 196608;
|
|
_18 = _17 | 524288;
|
|
_19 = u32Cdr_58 & 720896;
|
|
if (_18 == _19)
|
|
goto <bb 8>; [34.00%]
|
|
else
|
|
goto <bb 13>; [66.00%]
|
|
|
|
<bb 8> [local count: 237187056]:
|
|
# DEBUG BEGIN_STMT
|
|
if (pResultsRaw_60(D) != 0B)
|
|
goto <bb 9>; [53.47%]
|
|
else
|
|
goto <bb 10>; [46.53%]
|
|
|
|
<bb 9> [local count: 126823919]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = u32Index_35 * 2;
|
|
_21 = pResultsRaw_60(D) + _20;
|
|
_22 = Adc_Sar_GetMaskedResult (u32Instance_55(D), u32Cdr_58);
|
|
*_21 = _22;
|
|
|
|
<bb 10> [local count: 237187056]:
|
|
# DEBUG BEGIN_STMT
|
|
if (pResultsStruct_63(D) != 0B)
|
|
goto <bb 11>; [53.47%]
|
|
else
|
|
goto <bb 12>; [46.53%]
|
|
|
|
<bb 11> [local count: 126823919]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 = u32Index_35 * 6;
|
|
_24 = pResultsStruct_63(D) + _23;
|
|
_25 = Adc_Sar_GetMaskedResult (u32Instance_55(D), u32Cdr_58);
|
|
_24->u16ConvData = _25;
|
|
# DEBUG BEGIN_STMT
|
|
_24->u8ChnIdx = u8ChnIdx_57;
|
|
# DEBUG BEGIN_STMT
|
|
_26 = u32Cdr_58 >> 19;
|
|
_27 = (_Bool) _26;
|
|
_24->bValid = _27;
|
|
# DEBUG BEGIN_STMT
|
|
_28 = u32Cdr_58 >> 18;
|
|
_29 = (_Bool) _28;
|
|
_24->bOverWritten = _29;
|
|
|
|
<bb 12> [local count: 237187056]:
|
|
# DEBUG BEGIN_STMT
|
|
_30 = &pBase_56->CEOCFR0;
|
|
_31 = u32VectAdr_43 * 4;
|
|
_32 = _30 + _31;
|
|
_33 = 1 << u32VectBit_44;
|
|
MEM[(volatile uint32 *)_32] ={v} _33;
|
|
# DEBUG BEGIN_STMT
|
|
u32Index_70 = u32Index_35 + 1;
|
|
# DEBUG u32Index => u32Index_70
|
|
# DEBUG BEGIN_STMT
|
|
if (u32Index_70 >= u32Length_71(D))
|
|
goto <bb 15>; [5.50%]
|
|
else
|
|
goto <bb 13>; [94.50%]
|
|
|
|
<bb 13> [local count: 1028162160]:
|
|
# u32Index_34 = PHI <u32Index_35(6), u32Index_35(7), u32Index_70(12)>
|
|
# DEBUG u32Index => u32Index_34
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_72 = u32VectBit_44 + 1;
|
|
# DEBUG u32VectBit => u32VectBit_72
|
|
|
|
<bb 14> [local count: 1073741824]:
|
|
# u32Index_35 = PHI <u32Index_34(13), u32Index_38(19)>
|
|
# u32VectBit_44 = PHI <u32VectBit_72(13), 0(19)>
|
|
# DEBUG u32VectBit => u32VectBit_44
|
|
# DEBUG u32Index => u32Index_35
|
|
# DEBUG BEGIN_STMT
|
|
if (u32VectBit_44 != 32)
|
|
goto <bb 5>; [96.97%]
|
|
else
|
|
goto <bb 15>; [3.03%]
|
|
|
|
<bb 15> [local count: 45579665]:
|
|
# u32Index_36 = PHI <u32Index_70(12), u32Index_35(14)>
|
|
# bLengthExceeded_40 = PHI <1(12), bLengthExceeded_42(14)>
|
|
# DEBUG bLengthExceeded => bLengthExceeded_40
|
|
# DEBUG u32Index => u32Index_36
|
|
# DEBUG BEGIN_STMT
|
|
if (bLengthExceeded_40 != 0)
|
|
goto <bb 18>; [5.50%]
|
|
else
|
|
goto <bb 16>; [94.50%]
|
|
|
|
<bb 16> [local count: 103764197]:
|
|
# u32Index_37 = PHI <u32Index_38(4), u32Index_36(15)>
|
|
# bLengthExceeded_41 = PHI <bLengthExceeded_42(4), bLengthExceeded_40(15)>
|
|
# DEBUG bLengthExceeded => bLengthExceeded_41
|
|
# DEBUG u32Index => u32Index_37
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_73 = u32VectAdr_43 + 1;
|
|
# DEBUG u32VectAdr => u32VectAdr_73
|
|
|
|
<bb 17> [local count: 141694773]:
|
|
# u32Index_38 = PHI <0(2), u32Index_37(16)>
|
|
# bLengthExceeded_42 = PHI <0(2), bLengthExceeded_41(16)>
|
|
# u32VectAdr_43 = PHI <0(2), u32VectAdr_73(16)>
|
|
# DEBUG u32VectAdr => u32VectAdr_43
|
|
# DEBUG bLengthExceeded => bLengthExceeded_42
|
|
# DEBUG u32Index => u32Index_38
|
|
# DEBUG BEGIN_STMT
|
|
if (u32VectAdr_43 != 3)
|
|
goto <bb 3>; [75.00%]
|
|
else
|
|
goto <bb 18>; [25.00%]
|
|
|
|
<bb 18> [local count: 37930575]:
|
|
# u32Index_39 = PHI <u32Index_36(15), u32Index_38(17)>
|
|
# DEBUG u32Index => u32Index_39
|
|
# DEBUG BEGIN_STMT
|
|
return u32Index_39;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetDataAddress (Adc_Sar_Ip_GetDataAddress, funcdef_no=17, decl_uid=4490, cgraph_uid=18, symbol_order=21)
|
|
|
|
Adc_Sar_Ip_GetDataAddress (uint32 u32Instance, uint32 u32ChannelIndex)
|
|
{
|
|
struct ADC_Type * _1;
|
|
const uint32_t * _2;
|
|
long unsigned int _3;
|
|
const uint32_t * _4;
|
|
uint32 _8;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = pAdcBase[u32Instance_6(D)];
|
|
_2 = &_1->PCDR[0];
|
|
_3 = u32ChannelIndex_7(D) * 4;
|
|
_4 = _2 + _3;
|
|
_8 = (uint32) _4;
|
|
return _8;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_IRQHandler (Adc_Sar_Ip_IRQHandler, funcdef_no=19, decl_uid=5074, cgraph_uid=20, symbol_order=23)
|
|
|
|
Adc_Sar_Ip_IRQHandler (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
void (*<T34c>) (void) _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
void (*<T34c>) (void) _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int _14;
|
|
void (*<T34c>) (void) _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27 = pAdcBase[u32Instance_26(D)];
|
|
# DEBUG pBase => pBase_27
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_27->ISR;
|
|
_2 = _1 & 16;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->ISR ={v} 16;
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_27->IMR;
|
|
_4 = _3 & 16;
|
|
if (_4 != 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 5>; [67.00%]
|
|
|
|
<bb 4> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 = aAdcSarState[u32Instance_26(D)].pfEndOfCtuConversionNotification;
|
|
Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _5);
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} pBase_27->ISR;
|
|
_7 = _6 & 1;
|
|
if (_7 != 0)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 6> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->ISR ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
_8 ={v} pBase_27->IMR;
|
|
_9 = _8 & 1;
|
|
if (_9 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = aAdcSarState[u32Instance_26(D)].pfEndOfNormalChainNotification;
|
|
Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _10);
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_11 ={v} pBase_27->ISR;
|
|
_12 = _11 & 4;
|
|
if (_12 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 9> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->ISR ={v} 4;
|
|
# DEBUG BEGIN_STMT
|
|
_13 ={v} pBase_27->IMR;
|
|
_14 = _13 & 4;
|
|
if (_14 != 0)
|
|
goto <bb 10>; [33.00%]
|
|
else
|
|
goto <bb 11>; [67.00%]
|
|
|
|
<bb 10> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
_15 = aAdcSarState[u32Instance_26(D)].pfEndOfInjectedChainNotification;
|
|
Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _15);
|
|
|
|
<bb 11> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_16 ={v} pBase_27->ISR;
|
|
_17 = _16 & 2;
|
|
if (_17 != 0)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 12> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->ISR ={v} 2;
|
|
|
|
<bb 13> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} pBase_27->ISR;
|
|
_19 = _18 & 8;
|
|
if (_19 != 0)
|
|
goto <bb 14>; [50.00%]
|
|
else
|
|
goto <bb 15>; [50.00%]
|
|
|
|
<bb 14> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->ISR ={v} 8;
|
|
|
|
<bb 15> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_ChainConfig (Adc_Sar_Ip_ChainConfig, funcdef_no=22, decl_uid=4499, cgraph_uid=23, symbol_order=26)
|
|
|
|
Adc_Sar_Ip_ChainConfig (const uint32 u32Instance, const struct Adc_Sar_Ip_ChansIdxMaskType * const pChansIdxMask, const Adc_Sar_Ip_ConvChainType pChainType)
|
|
{
|
|
uint8 u8Index;
|
|
struct ADC_Type * const pBase;
|
|
int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
unsigned int _4;
|
|
unsigned int _5;
|
|
volatile uint32_t * _6;
|
|
long unsigned int _7;
|
|
int _8;
|
|
long unsigned int _9;
|
|
volatile uint32_t * _10;
|
|
unsigned int _11;
|
|
unsigned int _12;
|
|
volatile uint32_t * _13;
|
|
long unsigned int _14;
|
|
|
|
<bb 2> [local count: 805386908]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_24 = pAdcBase[u32Instance_23(D)];
|
|
# DEBUG pBase => pBase_24
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
switch (pChainType_25(D)) <default: <L16> [33.33%], case 0: <L23> [33.33%], case 1: <L24> [33.33%]>
|
|
|
|
<bb 15> [local count: 268435456]:
|
|
<L24>:
|
|
goto <bb 12>; [100.00%]
|
|
|
|
<bb 14> [local count: 268435456]:
|
|
<L23>:
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 3> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) u8Index_15;
|
|
_2 = u32AdcChanBitmap[u32Instance_23(D)][_1];
|
|
if (_2 == 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 5>; [67.00%]
|
|
|
|
<bb 4> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 5> [local count: 539555267]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_24->NCMR0;
|
|
_4 = (unsigned int) u8Index_15;
|
|
_5 = _4 * 4;
|
|
_6 = _3 + _5;
|
|
_7 = pChansIdxMask_26(D)->aChanMask[_1];
|
|
MEM[(volatile uint32 *)_6] ={v} _7;
|
|
|
|
<bb 6> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_30 = u8Index_15 + 1;
|
|
# DEBUG u8Index => u8Index_30
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# u8Index_15 = PHI <u8Index_30(6), 0(14)>
|
|
<L17>:
|
|
# DEBUG u8Index => u8Index_15
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_15 != 3)
|
|
goto <bb 3>; [75.00%]
|
|
else
|
|
goto <bb 13>; [25.00%]
|
|
|
|
<bb 8> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = (int) u8Index_16;
|
|
_9 = u32AdcChanBitmap[u32Instance_23(D)][_8];
|
|
if (_9 == 0)
|
|
goto <bb 9>; [33.00%]
|
|
else
|
|
goto <bb 10>; [67.00%]
|
|
|
|
<bb 9> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 11>; [100.00%]
|
|
|
|
<bb 10> [local count: 539555267]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = &pBase_24->JCMR0;
|
|
_11 = (unsigned int) u8Index_16;
|
|
_12 = _11 * 4;
|
|
_13 = _10 + _12;
|
|
_14 = pChansIdxMask_26(D)->aChanMask[_8];
|
|
MEM[(volatile uint32 *)_13] ={v} _14;
|
|
|
|
<bb 11> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_28 = u8Index_16 + 1;
|
|
# DEBUG u8Index => u8Index_28
|
|
|
|
<bb 12> [local count: 1073741824]:
|
|
# u8Index_16 = PHI <u8Index_28(11), 0(15)>
|
|
<L18>:
|
|
# DEBUG u8Index => u8Index_16
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_16 != 3)
|
|
goto <bb 8>; [75.00%]
|
|
else
|
|
goto <bb 13>; [25.00%]
|
|
|
|
<bb 13> [local count: 805306369]:
|
|
<L16>:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableChannel (Adc_Sar_Ip_EnableChannel, funcdef_no=23, decl_uid=4503, cgraph_uid=24, symbol_order=27)
|
|
|
|
Adc_Sar_Ip_EnableChannel (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
volatile uint32_t * _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
volatile uint32_t * _7;
|
|
long unsigned int _8;
|
|
volatile uint32_t * _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_16 = pAdcBase[u32Instance_15(D)];
|
|
# DEBUG pBase => pBase_16
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_18 = u32ChnIdx_17(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_18
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_19 = u32ChnIdx_17(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_19
|
|
# DEBUG BEGIN_STMT
|
|
switch (pChainType_20(D)) <default: <L4> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
|
|
|
|
<bb 3> [local count: 357878150]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 = &pBase_16->NCMR0;
|
|
_2 = u32VectAdr_18 * 4;
|
|
_3 = _1 + _2;
|
|
_4 ={v} MEM[(volatile uint32 *)_3];
|
|
_5 = 1 << u32VectBit_19;
|
|
_6 = _4 | _5;
|
|
MEM[(volatile uint32 *)_3] ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23 ();
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 357878150]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26 ();
|
|
# DEBUG BEGIN_STMT
|
|
_7 = &pBase_16->JCMR0;
|
|
_8 = u32VectAdr_18 * 4;
|
|
_9 = _7 + _8;
|
|
_10 ={v} MEM[(volatile uint32 *)_9];
|
|
_11 = 1 << u32VectBit_19;
|
|
_12 = _10 | _11;
|
|
MEM[(volatile uint32 *)_9] ={v} _12;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26 ();
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 5> [local count: 1073634451]:
|
|
<L4>:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableChannel (Adc_Sar_Ip_DisableChannel, funcdef_no=24, decl_uid=4507, cgraph_uid=25, symbol_order=28)
|
|
|
|
Adc_Sar_Ip_DisableChannel (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
volatile uint32_t * _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
volatile uint32_t * _8;
|
|
long unsigned int _9;
|
|
volatile uint32_t * _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int _14;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_18 = pAdcBase[u32Instance_17(D)];
|
|
# DEBUG pBase => pBase_18
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_20 = u32ChnIdx_19(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_20
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_21 = u32ChnIdx_19(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_21
|
|
# DEBUG BEGIN_STMT
|
|
switch (pChainType_22(D)) <default: <L4> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
|
|
|
|
<bb 3> [local count: 357878150]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 = &pBase_18->NCMR0;
|
|
_2 = u32VectAdr_20 * 4;
|
|
_3 = _1 + _2;
|
|
_4 ={v} MEM[(volatile uint32 *)_3];
|
|
_5 = 1 << u32VectBit_21;
|
|
_6 = ~_5;
|
|
_7 = _4 & _6;
|
|
MEM[(volatile uint32 *)_3] ={v} _7;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24 ();
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 357878150]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27 ();
|
|
# DEBUG BEGIN_STMT
|
|
_8 = &pBase_18->JCMR0;
|
|
_9 = u32VectAdr_20 * 4;
|
|
_10 = _8 + _9;
|
|
_11 ={v} MEM[(volatile uint32 *)_10];
|
|
_12 = 1 << u32VectBit_21;
|
|
_13 = ~_12;
|
|
_14 = _11 & _13;
|
|
MEM[(volatile uint32 *)_10] ={v} _14;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27 ();
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 5> [local count: 1073634451]:
|
|
<L4>:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetResolution (Adc_Sar_Ip_SetResolution, funcdef_no=25, decl_uid=4510, cgraph_uid=26, symbol_order=29)
|
|
|
|
Adc_Sar_Ip_SetResolution (const uint32 u32Instance, const Adc_Sar_Ip_Resolution eResolution)
|
|
{
|
|
uint32 u32Calbistreg;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_5 = pAdcBase[u32Instance_4(D)];
|
|
# DEBUG pBase => pBase_5
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37 ();
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_7 ={v} pBase_5->CALBISTREG;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_7
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_8 = u32Calbistreg_7 & 536870911;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_8
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) eResolution_9(D);
|
|
_2 = _1 << 29;
|
|
u32Calbistreg_10 = _2 | u32Calbistreg_8;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_10
|
|
# DEBUG BEGIN_STMT
|
|
pBase_5->CALBISTREG ={v} u32Calbistreg_10;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_StartConversion (Adc_Sar_Ip_StartConversion, funcdef_no=26, decl_uid=4513, cgraph_uid=27, symbol_order=30)
|
|
|
|
Adc_Sar_Ip_StartConversion (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_7(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10 ();
|
|
# DEBUG BEGIN_STMT
|
|
switch (pChainType_10(D)) <default: <L4> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
|
|
|
|
<bb 3> [local count: 357878150]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_8->MCR;
|
|
_2 = _1 | 16777216;
|
|
pBase_8->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 357878150]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_8->MCR;
|
|
_4 = _3 | 1048576;
|
|
pBase_8->MCR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 5> [local count: 1073634451]:
|
|
<L4>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetStatusFlags (Adc_Sar_Ip_GetStatusFlags, funcdef_no=27, decl_uid=4515, cgraph_uid=28, symbol_order=31)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5763 D.5999 D.6004 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 11
|
|
Number of blocks to update: 10 ( 91%)
|
|
|
|
|
|
Merging blocks 2 and 8
|
|
Merging blocks 6 and 3
|
|
Merging blocks 10 and 7
|
|
Merging blocks 10 and 4
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 6 }
|
|
;; 6 succs { 1 }
|
|
Adc_Sar_Ip_GetStatusFlags (const uint32 u32Instance)
|
|
{
|
|
const struct ADC_Type * const pBase;
|
|
uint32 u32Msr;
|
|
uint32 u32Flags;
|
|
uint32 D.6004;
|
|
const struct ADC_Type * const pBase;
|
|
uint32 u32Isr;
|
|
uint32 u32Flags;
|
|
uint32 D.5999;
|
|
uint32 u32Flags;
|
|
long unsigned int _4;
|
|
long unsigned int _6;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
signed int u32Msr.20_17;
|
|
signed int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
long unsigned int _22;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _27;
|
|
long unsigned int _28;
|
|
long unsigned int _30;
|
|
long unsigned int _31;
|
|
long unsigned int _32;
|
|
long unsigned int _33;
|
|
long unsigned int _35;
|
|
long unsigned int _36;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_2(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_GetMsrFlags
|
|
# DEBUG BEGIN_STMT
|
|
pBase_15 = pAdcBase[u32Instance_2(D)];
|
|
# DEBUG pBase => pBase_15
|
|
# DEBUG BEGIN_STMT
|
|
u32Msr_16 ={v} pBase_15->MSR;
|
|
# DEBUG u32Msr => u32Msr_16
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => 0
|
|
# DEBUG BEGIN_STMT
|
|
u32Msr.20_17 = (signed int) u32Msr_16;
|
|
_18 = u32Msr.20_17 >> 26;
|
|
_19 = (long unsigned int) _18;
|
|
_20 = _19 & 32;
|
|
# DEBUG u32Flags => _20
|
|
# DEBUG BEGIN_STMT
|
|
_21 = u32Msr_16 >> 18;
|
|
_22 = _21 & 64;
|
|
u32Flags_23 = _20 | _22;
|
|
# DEBUG u32Flags => u32Flags_23
|
|
# DEBUG BEGIN_STMT
|
|
_24 = u32Msr_16 >> 15;
|
|
_25 = _24 & 256;
|
|
u32Flags_26 = u32Flags_23 | _25;
|
|
# DEBUG u32Flags => u32Flags_26
|
|
# DEBUG BEGIN_STMT
|
|
_27 = u32Msr_16 >> 13;
|
|
_28 = _27 & 128;
|
|
u32Flags_29 = u32Flags_26 | _28;
|
|
# DEBUG u32Flags => u32Flags_29
|
|
# DEBUG BEGIN_STMT
|
|
_30 = u32AdcFeatureBitmap[u32Instance_2(D)];
|
|
_31 = _30 & 4;
|
|
if (_31 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_32 = u32Msr_16 >> 7;
|
|
_33 = _32 & 512;
|
|
u32Flags_34 = u32Flags_29 | _33;
|
|
# DEBUG u32Flags => u32Flags_34
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32Flags_37 = PHI <u32Flags_29(2), u32Flags_34(3)>
|
|
# DEBUG u32Flags => u32Flags_37
|
|
# DEBUG BEGIN_STMT
|
|
_35 = u32Msr_16 << 5;
|
|
_36 = _35 & 1024;
|
|
u32Flags_38 = _36 | u32Flags_37;
|
|
# DEBUG u32Flags => u32Flags_38
|
|
# DEBUG BEGIN_STMT
|
|
_39 = u32Flags_38;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32Flags => NULL
|
|
# DEBUG u32Msr => NULL
|
|
# DEBUG pBase => NULL
|
|
_4 = _39;
|
|
# DEBUG u32Flags => _4
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_2(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_GetIsrFlags
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_2(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
u32Isr_9 ={v} pBase_8->ISR;
|
|
# DEBUG u32Isr => u32Isr_9
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => u32Isr_9 & 2
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => u32Isr_9 & 3
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => u32Isr_9 & 11
|
|
# DEBUG BEGIN_STMT
|
|
u32Flags_10 = u32Isr_9 & 15;
|
|
# DEBUG u32Flags => u32Flags_10
|
|
# DEBUG BEGIN_STMT
|
|
_11 = u32AdcFeatureBitmap[u32Instance_2(D)];
|
|
_12 = _11 & 4;
|
|
if (_12 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
u32Flags_13 = u32Isr_9 & 31;
|
|
# DEBUG u32Flags => u32Flags_13
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# u32Flags_14 = PHI <u32Flags_10(4), u32Flags_13(5)>
|
|
# DEBUG u32Flags => u32Flags_14
|
|
# DEBUG BEGIN_STMT
|
|
_40 = u32Flags_14;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32Flags => NULL
|
|
# DEBUG u32Isr => NULL
|
|
# DEBUG pBase => NULL
|
|
_6 = _40;
|
|
u32Flags_7 = _4 | _6;
|
|
# DEBUG u32Flags => u32Flags_7
|
|
# DEBUG BEGIN_STMT
|
|
return u32Flags_7;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_ClearStatusFlags (Adc_Sar_Ip_ClearStatusFlags, funcdef_no=28, decl_uid=4518, cgraph_uid=29, symbol_order=32)
|
|
|
|
Adc_Sar_Ip_ClearStatusFlags (const uint32 u32Instance, const uint32 u32Mask)
|
|
{
|
|
uint32 u32IsrFlags;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_6 = pAdcBase[u32Instance_5(D)];
|
|
# DEBUG pBase => pBase_6
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32IsrFlags => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32IsrFlags => u32Mask_7(D) & 2
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32IsrFlags => u32Mask_7(D) & 3
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32IsrFlags => u32Mask_7(D) & 11
|
|
# DEBUG BEGIN_STMT
|
|
u32IsrFlags_8 = u32Mask_7(D) & 15;
|
|
# DEBUG u32IsrFlags => u32IsrFlags_8
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_5(D)];
|
|
_2 = _1 & 4;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
u32IsrFlags_9 = u32Mask_7(D) & 31;
|
|
# DEBUG u32IsrFlags => u32IsrFlags_9
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32IsrFlags_3 = PHI <u32IsrFlags_8(2), u32IsrFlags_9(3)>
|
|
# DEBUG u32IsrFlags => u32IsrFlags_3
|
|
# DEBUG BEGIN_STMT
|
|
pBase_6->ISR ={v} u32IsrFlags_3;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SelfTest (Adc_Sar_Ip_SelfTest, funcdef_no=29, decl_uid=4520, cgraph_uid=30, symbol_order=33)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5765 D.6017 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 27
|
|
Number of blocks to update: 26 ( 96%)
|
|
|
|
|
|
Merging blocks 2 and 10
|
|
Merging blocks 26 and 9
|
|
;; 5 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
|
;;
|
|
;; Loop 1
|
|
;; header 20, latch 19
|
|
;; depth 1, outer 0
|
|
;; nodes: 20 19 21
|
|
;;
|
|
;; Loop 2
|
|
;; header 13, latch 12
|
|
;; depth 1, outer 0
|
|
;; nodes: 13 12 11 9 10 7 8 6 4 5 3 14
|
|
;;
|
|
;; Loop 3
|
|
;; header 9, latch 8
|
|
;; depth 2, outer 2
|
|
;; nodes: 9 8 10
|
|
;;
|
|
;; Loop 4
|
|
;; header 4, latch 3
|
|
;; depth 2, outer 2
|
|
;; nodes: 4 3 5
|
|
;; 2 succs { 13 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 3 6 }
|
|
;; 6 succs { 15 7 }
|
|
;; 7 succs { 9 }
|
|
;; 8 succs { 9 }
|
|
;; 9 succs { 10 11 }
|
|
;; 10 succs { 8 11 }
|
|
;; 11 succs { 15 12 }
|
|
;; 12 succs { 13 }
|
|
;; 13 succs { 14 15 }
|
|
;; 14 succs { 4 }
|
|
;; 15 succs { 16 18 }
|
|
;; 16 succs { 17 18 }
|
|
;; 17 succs { 18 }
|
|
;; 18 succs { 20 }
|
|
;; 19 succs { 20 }
|
|
;; 20 succs { 21 22 }
|
|
;; 21 succs { 19 22 }
|
|
;; 22 succs { 23 24 }
|
|
;; 23 succs { 24 }
|
|
;; 24 succs { 1 }
|
|
Adc_Sar_Ip_SelfTest (const uint32 u32Instance)
|
|
{
|
|
const struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
uint32 u32TimeoutTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32ElapsedTicks;
|
|
uint8 u8Index;
|
|
Adc_Sar_Ip_StatusType D.6017;
|
|
uint32 u32ElapsedTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32TimeoutTicks;
|
|
uint32 u32MsrStatus;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _55;
|
|
long unsigned int _63;
|
|
long unsigned int _64;
|
|
long unsigned int _67;
|
|
long unsigned int _68;
|
|
long unsigned int _70;
|
|
long unsigned int _73;
|
|
long unsigned int _74;
|
|
long unsigned int _79;
|
|
long unsigned int _80;
|
|
|
|
<bb 2> [local count: 65677296]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27 = pAdcBase[u32Instance_26(D)];
|
|
# DEBUG pBase => pBase_27
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_29 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_29
|
|
# DEBUG BEGIN_STMT
|
|
_1 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _1;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25 ();
|
|
# DEBUG BEGIN_STMT
|
|
_2 ={v} MEM[(volatile uint32 *)pBase_27 + 164B];
|
|
_4 = _2 | 1;
|
|
MEM[(volatile uint32 *)pBase_27 + 164B] ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25 ();
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} pBase_27->MCR;
|
|
_6 = _5 & 4294836223;
|
|
pBase_27->MCR ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} pBase_27->MCR;
|
|
_8 = _7 | 536870912;
|
|
pBase_27->MCR ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Reg => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Reg => 268439552
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->STCR1 ={v} 268439552;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35 ();
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} pBase_27->STCR3;
|
|
_10 = _9 | 768;
|
|
pBase_27->STCR3 ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
_11 ={v} pBase_27->STCR2;
|
|
_12 = _11 | 128;
|
|
pBase_27->STCR2 ={v} _12;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35 ();
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
_13 ={v} pBase_27->MCR;
|
|
_14 = _13 | 16777216;
|
|
pBase_27->MCR ={v} _14;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_26(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_CheckSelfTestProgress
|
|
# DEBUG BEGIN_STMT
|
|
pBase_61 = pAdcBase[u32Instance_26(D)];
|
|
# DEBUG pBase => pBase_61
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Reg => 0
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_62 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_62
|
|
# DEBUG BEGIN_STMT
|
|
_63 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _63;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
goto <bb 13>; [100.00%]
|
|
|
|
<bb 3> [local count: 958878293]:
|
|
# DEBUG BEGIN_STMT
|
|
_64 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_66 = _64 + u32ElapsedTicks_65;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_66
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32ElapsedTicks_65 = PHI <u32ElapsedTicks_66(3), 0(14)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_65
|
|
# DEBUG BEGIN_STMT
|
|
_67 ={v} pBase_61->MSR;
|
|
_68 = _67 & 262144;
|
|
if (_68 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (u32TimeoutTicks_62 > u32ElapsedTicks_65)
|
|
goto <bb 3>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# u32ElapsedTicks_69 = PHI <u32ElapsedTicks_65(4), u32ElapsedTicks_65(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_62 <= u32ElapsedTicks_69)
|
|
goto <bb 15>; [3.66%]
|
|
else
|
|
goto <bb 7>; [96.34%]
|
|
|
|
<bb 7> [local count: 110659526]:
|
|
goto <bb 9>; [100.00%]
|
|
|
|
<bb 8> [local count: 923783344]:
|
|
# DEBUG BEGIN_STMT
|
|
_70 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_72 = _70 + u32ElapsedTicks_71;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_72
|
|
|
|
<bb 9> [local count: 1034442871]:
|
|
# u32ElapsedTicks_71 = PHI <0(7), u32ElapsedTicks_72(8)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_71
|
|
# DEBUG BEGIN_STMT
|
|
_73 ={v} pBase_61->MSR;
|
|
_74 = _73 & 262144;
|
|
if (_74 != 0)
|
|
goto <bb 10>; [94.50%]
|
|
else
|
|
goto <bb 11>; [5.50%]
|
|
|
|
<bb 10> [local count: 977548512]:
|
|
if (u32TimeoutTicks_62 > u32ElapsedTicks_71)
|
|
goto <bb 8>; [94.50%]
|
|
else
|
|
goto <bb 11>; [5.50%]
|
|
|
|
<bb 11> [local count: 110659526]:
|
|
# u32ElapsedTicks_75 = PHI <u32ElapsedTicks_71(9), u32ElapsedTicks_71(10)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_62 <= u32ElapsedTicks_75)
|
|
goto <bb 15>; [3.66%]
|
|
else
|
|
goto <bb 12>; [96.34%]
|
|
|
|
<bb 12> [local count: 106609387]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_77 = u8Index_76 + 1;
|
|
# DEBUG u8Index => u8Index_77
|
|
|
|
<bb 13> [local count: 172286684]:
|
|
# u8Index_76 = PHI <0(2), u8Index_77(12)>
|
|
# DEBUG u8Index => u8Index_76
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_76 != 2)
|
|
goto <bb 14>; [66.67%]
|
|
else
|
|
goto <bb 15>; [33.33%]
|
|
|
|
<bb 14> [local count: 114863532]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 15> [local count: 65677296]:
|
|
# eStatus_78 = PHI <2(6), 2(11), 0(13)>
|
|
# DEBUG eStatus => eStatus_78
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_78 != 2)
|
|
goto <bb 16>; [66.00%]
|
|
else
|
|
goto <bb 18>; [34.00%]
|
|
|
|
<bb 16> [local count: 43347015]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Reg => 47104
|
|
# DEBUG BEGIN_STMT
|
|
_79 ={v} pBase_61->STSR1;
|
|
_80 = _79 & 47104;
|
|
if (_80 != 0)
|
|
goto <bb 17>; [50.00%]
|
|
else
|
|
goto <bb 18>; [50.00%]
|
|
|
|
<bb 17> [local count: 21673508]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 1
|
|
|
|
<bb 18> [local count: 65677296]:
|
|
# eStatus_81 = PHI <eStatus_78(15), eStatus_78(16), 1(17)>
|
|
# DEBUG eStatus => eStatus_81
|
|
# DEBUG BEGIN_STMT
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
_92 = eStatus_81;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u8Index => NULL
|
|
# DEBUG u32ElapsedTicks => NULL
|
|
# DEBUG u32CurrentTicks => NULL
|
|
# DEBUG u32TimeoutTicks => NULL
|
|
# DEBUG eStatus => NULL
|
|
# DEBUG pBase => NULL
|
|
eStatus_48 = _92;
|
|
# DEBUG eStatus => eStatus_48
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
_15 ={v} pBase_27->MCR;
|
|
_16 = _15 & 4278190079;
|
|
pBase_27->MCR ={v} _16;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11 ();
|
|
# DEBUG BEGIN_STMT
|
|
_17 ={v} pBase_27->MSR;
|
|
u32MsrStatus_52 = _17 & 7;
|
|
# DEBUG u32MsrStatus => u32MsrStatus_52
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 20>; [100.00%]
|
|
|
|
<bb 19> [local count: 548272649]:
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} pBase_27->MSR;
|
|
u32MsrStatus_53 = _18 & 7;
|
|
# DEBUG u32MsrStatus => u32MsrStatus_53
|
|
# DEBUG BEGIN_STMT
|
|
_55 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_56 = u32ElapsedTicks_23 + _55;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_56
|
|
|
|
<bb 20> [local count: 613949946]:
|
|
# u32MsrStatus_22 = PHI <u32MsrStatus_52(18), u32MsrStatus_53(19)>
|
|
# u32ElapsedTicks_23 = PHI <0(18), u32ElapsedTicks_56(19)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_23
|
|
# DEBUG u32MsrStatus => u32MsrStatus_22
|
|
# DEBUG BEGIN_STMT
|
|
if (u32MsrStatus_22 != 0)
|
|
goto <bb 21>; [94.50%]
|
|
else
|
|
goto <bb 22>; [5.50%]
|
|
|
|
<bb 21> [local count: 580182698]:
|
|
if (u32ElapsedTicks_23 < u32TimeoutTicks_29)
|
|
goto <bb 19>; [94.50%]
|
|
else
|
|
goto <bb 22>; [5.50%]
|
|
|
|
<bb 22> [local count: 65677295]:
|
|
# u32ElapsedTicks_3 = PHI <u32ElapsedTicks_23(20), u32ElapsedTicks_23(21)>
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35 ();
|
|
# DEBUG BEGIN_STMT
|
|
_19 ={v} pBase_27->STCR2;
|
|
_20 = _19 & 4294967167;
|
|
pBase_27->STCR2 ={v} _20;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35 ();
|
|
# DEBUG BEGIN_STMT
|
|
if (u32ElapsedTicks_3 >= u32TimeoutTicks_29)
|
|
goto <bb 23>; [35.00%]
|
|
else
|
|
goto <bb 24>; [65.00%]
|
|
|
|
<bb 23> [local count: 22987053]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 2
|
|
|
|
<bb 24> [local count: 65677295]:
|
|
# eStatus_21 = PHI <eStatus_48(22), 2(23)>
|
|
# DEBUG eStatus => eStatus_21
|
|
# DEBUG BEGIN_STMT
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
return eStatus_21;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetConvDataToArray (Adc_Sar_Ip_GetConvDataToArray, funcdef_no=30, decl_uid=4525, cgraph_uid=31, symbol_order=34)
|
|
|
|
Adc_Sar_Ip_GetConvDataToArray (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType, const uint32 u32Length, uint16 * const pResults)
|
|
{
|
|
uint32 _7;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), pResults_4(D), 0B, u32Length_5(D));
|
|
return _7;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetConvResultsToArray (Adc_Sar_Ip_GetConvResultsToArray, funcdef_no=31, decl_uid=4530, cgraph_uid=32, symbol_order=35)
|
|
|
|
Adc_Sar_Ip_GetConvResultsToArray (const uint32 u32Instance, const Adc_Sar_Ip_ConvChainType pChainType, const uint32 u32Length, struct Adc_Sar_Ip_ChanResultType * const pResults)
|
|
{
|
|
uint32 _7;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), 0B, pResults_4(D), u32Length_5(D));
|
|
return _7;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetConvData (Adc_Sar_Ip_GetConvData, funcdef_no=32, decl_uid=4533, cgraph_uid=33, symbol_order=36)
|
|
|
|
Adc_Sar_Ip_GetConvData (const uint32 u32Instance, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32Cdr;
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
uint16 u16Result;
|
|
const uint32_t * _1;
|
|
long unsigned int _2;
|
|
const uint32_t * _3;
|
|
long unsigned int _4;
|
|
volatile uint32_t * _5;
|
|
long unsigned int _6;
|
|
volatile uint32_t * _7;
|
|
long unsigned int _8;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u16Result => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_13 = pAdcBase[u32Instance_12(D)];
|
|
# DEBUG pBase => pBase_13
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_15 = u32ChnIdx_14(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_15
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_16 = u32ChnIdx_14(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_16
|
|
# DEBUG BEGIN_STMT
|
|
_1 = &pBase_13->PCDR[0];
|
|
_2 = u32ChnIdx_14(D) * 4;
|
|
_3 = _1 + _2;
|
|
u32Cdr_17 ={v} MEM[(volatile uint32 *)_3];
|
|
# DEBUG u32Cdr => u32Cdr_17
|
|
# DEBUG BEGIN_STMT
|
|
_4 = u32Cdr_17 & 524288;
|
|
if (_4 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
u16Result_19 = Adc_Sar_GetMaskedResult (u32Instance_12(D), u32Cdr_17);
|
|
# DEBUG u16Result => u16Result_19
|
|
# DEBUG BEGIN_STMT
|
|
_5 = &pBase_13->CEOCFR0;
|
|
_6 = u32VectAdr_15 * 4;
|
|
_7 = _5 + _6;
|
|
_8 = 1 << u32VectBit_16;
|
|
MEM[(volatile uint32 *)_7] ={v} _8;
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u16Result_9 = PHI <0(2), u16Result_19(3)>
|
|
# DEBUG u16Result => u16Result_9
|
|
# DEBUG BEGIN_STMT
|
|
return u16Result_9;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_GetConvResult (Adc_Sar_Ip_GetConvResult, funcdef_no=33, decl_uid=4538, cgraph_uid=34, symbol_order=37)
|
|
|
|
Adc_Sar_Ip_GetConvResult (const uint32 u32Instance, const uint32 u32ChnIdx, const Adc_Sar_Ip_ConvChainType pChainType, struct Adc_Sar_Ip_ChanResultType * const pResult)
|
|
{
|
|
uint32 u32Cdr;
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
unsigned char _1;
|
|
const uint32_t * _2;
|
|
long unsigned int _3;
|
|
const uint32_t * _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
_Bool _11;
|
|
short unsigned int _12;
|
|
volatile uint32_t * _13;
|
|
long unsigned int _14;
|
|
volatile uint32_t * _15;
|
|
long unsigned int _16;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_20 = pAdcBase[u32Instance_19(D)];
|
|
# DEBUG pBase => pBase_20
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_22 = u32ChnIdx_21(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_22
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_23 = u32ChnIdx_21(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_23
|
|
# DEBUG BEGIN_STMT
|
|
pResult_24(D)->u16ConvData = 0;
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (unsigned char) u32ChnIdx_21(D);
|
|
pResult_24(D)->u8ChnIdx = _1;
|
|
# DEBUG BEGIN_STMT
|
|
pResult_24(D)->bValid = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pResult_24(D)->bOverWritten = 0;
|
|
# DEBUG BEGIN_STMT
|
|
_2 = &pBase_20->PCDR[0];
|
|
_3 = u32ChnIdx_21(D) * 4;
|
|
_4 = _2 + _3;
|
|
u32Cdr_29 ={v} MEM[(volatile uint32 *)_4];
|
|
# DEBUG u32Cdr => u32Cdr_29
|
|
# DEBUG BEGIN_STMT
|
|
_5 = (long unsigned int) pChainType_30(D);
|
|
_6 = _5 << 16;
|
|
_7 = _6 ^ u32Cdr_29;
|
|
_8 = _7 & 196608;
|
|
if (_8 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_9 = u32Cdr_29 & 524288;
|
|
if (_9 != 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 5>; [67.00%]
|
|
|
|
<bb 4> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
pResult_24(D)->bValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
_10 = u32Cdr_29 & 262144;
|
|
_11 = _10 != 0;
|
|
pResult_24(D)->bOverWritten = _11;
|
|
# DEBUG BEGIN_STMT
|
|
_12 = Adc_Sar_GetMaskedResult (u32Instance_19(D), u32Cdr_29);
|
|
pResult_24(D)->u16ConvData = _12;
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_13 = &pBase_20->CEOCFR0;
|
|
_14 = u32VectAdr_22 * 4;
|
|
_15 = _13 + _14;
|
|
_16 = 1 << u32VectBit_23;
|
|
MEM[(volatile uint32 *)_15] ={v} _16;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_Powerup (Adc_Sar_Ip_Powerup, funcdef_no=35, decl_uid=4542, cgraph_uid=36, symbol_order=39)
|
|
|
|
Adc_Sar_Ip_Powerup (const uint32 u32Instance)
|
|
{
|
|
uint32 u32ElapsedTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32TimeoutTicks;
|
|
uint32 u32Status;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _20;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
|
|
<bb 2> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_10 = pAdcBase[u32Instance_9(D)];
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ExpectedStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_10->MSR;
|
|
u32Status_11 = _1 & 7;
|
|
# DEBUG u32Status => u32Status_11
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_13 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_13
|
|
# DEBUG BEGIN_STMT
|
|
_2 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _2;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13 ();
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG INLINE_ENTRY Adc_Sar_Powerup
|
|
# DEBUG BEGIN_STMT
|
|
_24 ={v} pBase_10->MCR;
|
|
_25 = _24 & 4294967294;
|
|
pBase_10->MCR ={v} _25;
|
|
# DEBUG pBase => NULL
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13 ();
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 3> [local count: 958878293]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_10->MSR;
|
|
u32Status_18 = _3 & 7;
|
|
# DEBUG u32Status => u32Status_18
|
|
# DEBUG BEGIN_STMT
|
|
_20 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_21 = u32ElapsedTicks_6 + _20;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_21
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32Status_5 = PHI <u32Status_11(2), u32Status_18(3)>
|
|
# u32ElapsedTicks_6 = PHI <0(2), u32ElapsedTicks_21(3)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_6
|
|
# DEBUG u32Status => u32Status_5
|
|
# DEBUG BEGIN_STMT
|
|
if (u32Status_5 != 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (u32ElapsedTicks_6 < u32TimeoutTicks_13)
|
|
goto <bb 3>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# u32ElapsedTicks_22 = PHI <u32ElapsedTicks_6(4), u32ElapsedTicks_6(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_13 <= u32ElapsedTicks_22)
|
|
goto <bb 7>; [35.00%]
|
|
else
|
|
goto <bb 8>; [65.00%]
|
|
|
|
<bb 7> [local count: 40202236]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 2
|
|
|
|
<bb 8> [local count: 114863532]:
|
|
# eStatus_4 = PHI <0(6), 2(7)>
|
|
# DEBUG eStatus => eStatus_4
|
|
# DEBUG BEGIN_STMT
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
return eStatus_4;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_Powerdown (Adc_Sar_Ip_Powerdown, funcdef_no=36, decl_uid=4544, cgraph_uid=37, symbol_order=40)
|
|
|
|
Adc_Sar_Ip_Powerdown (const uint32 u32Instance)
|
|
{
|
|
uint32 u32ElapsedTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32TimeoutTicks;
|
|
uint32 u32Status;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _20;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
|
|
<bb 2> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_10 = pAdcBase[u32Instance_9(D)];
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ExpectedStatus => 1
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_10->MSR;
|
|
u32Status_11 = _1 & 7;
|
|
# DEBUG u32Status => u32Status_11
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_13 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_13
|
|
# DEBUG BEGIN_STMT
|
|
_2 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _2;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14 ();
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG INLINE_ENTRY Adc_Sar_Powerdown
|
|
# DEBUG BEGIN_STMT
|
|
_24 ={v} pBase_10->MCR;
|
|
_25 = _24 | 1;
|
|
pBase_10->MCR ={v} _25;
|
|
# DEBUG pBase => NULL
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14 ();
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 3> [local count: 958878293]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_10->MSR;
|
|
u32Status_18 = _3 & 7;
|
|
# DEBUG u32Status => u32Status_18
|
|
# DEBUG BEGIN_STMT
|
|
_20 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_21 = u32ElapsedTicks_6 + _20;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_21
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32Status_5 = PHI <u32Status_11(2), u32Status_18(3)>
|
|
# u32ElapsedTicks_6 = PHI <0(2), u32ElapsedTicks_21(3)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_6
|
|
# DEBUG u32Status => u32Status_5
|
|
# DEBUG BEGIN_STMT
|
|
if (u32Status_5 != 1)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (u32ElapsedTicks_6 < u32TimeoutTicks_13)
|
|
goto <bb 3>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# u32ElapsedTicks_22 = PHI <u32ElapsedTicks_6(4), u32ElapsedTicks_6(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_13 <= u32ElapsedTicks_22)
|
|
goto <bb 7>; [35.00%]
|
|
else
|
|
goto <bb 8>; [65.00%]
|
|
|
|
<bb 7> [local count: 40202236]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 2
|
|
|
|
<bb 8> [local count: 114863532]:
|
|
# eStatus_4 = PHI <0(6), 2(7)>
|
|
# DEBUG eStatus => eStatus_4
|
|
# DEBUG BEGIN_STMT
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
return eStatus_4;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DoCalibration (Adc_Sar_Ip_DoCalibration, funcdef_no=34, decl_uid=4540, cgraph_uid=35, symbol_order=38)
|
|
|
|
Adc_Sar_Ip_DoCalibration (const uint32 u32Instance)
|
|
{
|
|
uint32 u32Calbistreg;
|
|
uint32 u32AdcClkSel;
|
|
uint32 u32ElapsedTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32TimeoutTicks;
|
|
struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eCalStatus;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
<unnamed type> _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
long unsigned int _22;
|
|
Adc_Sar_Ip_StatusType _25;
|
|
long unsigned int _53;
|
|
|
|
<bb 2> [local count: 480750531]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eCalStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_30 = pAdcBase[u32Instance_29(D)];
|
|
# DEBUG pBase => pBase_30
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_32 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_32
|
|
# DEBUG BEGIN_STMT
|
|
_1 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _1;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32AdcClkSel => 0
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_36 = Adc_Sar_Ip_Powerdown (u32Instance_29(D));
|
|
# DEBUG eStatus => eStatus_36
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_36 != 0)
|
|
goto <bb 14>; [51.12%]
|
|
else
|
|
goto <bb 3>; [48.88%]
|
|
|
|
<bb 3> [local count: 234990860]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12 ();
|
|
# DEBUG BEGIN_STMT
|
|
_2 ={v} pBase_30->MCR;
|
|
u32AdcClkSel_38 = _2 & 6;
|
|
# DEBUG u32AdcClkSel => u32AdcClkSel_38
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_30->MCR;
|
|
_4 = _3 & 4294967289;
|
|
pBase_30->MCR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} pBase_30->MCR;
|
|
_6 = aAdcSarState[u32Instance_29(D)].eCalibrationClkSelect;
|
|
_7 = (long unsigned int) _6;
|
|
_8 = _7 << 1;
|
|
_9 = _8 & 6;
|
|
_10 = _5 | _9;
|
|
pBase_30->MCR ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12 ();
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_43 = Adc_Sar_Ip_Powerup (u32Instance_29(D));
|
|
# DEBUG eStatus => eStatus_43
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_43 != 0)
|
|
goto <bb 14>; [51.12%]
|
|
else
|
|
goto <bb 4>; [48.88%]
|
|
|
|
<bb 4> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36 ();
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_45 ={v} pBase_30->CALBISTREG;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_45
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_46 = u32Calbistreg_45 & 3892313998;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_46
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_47 = u32Calbistreg_46 | 112;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_47
|
|
# DEBUG BEGIN_STMT
|
|
pBase_30->CALBISTREG ={v} u32Calbistreg_47;
|
|
# DEBUG BEGIN_STMT
|
|
_11 ={v} pBase_30->CALBISTREG;
|
|
_12 = _11 | 8;
|
|
pBase_30->CALBISTREG ={v} _12;
|
|
# DEBUG BEGIN_STMT
|
|
_13 ={v} pBase_30->CALBISTREG;
|
|
_14 = _13 | 1;
|
|
pBase_30->CALBISTREG ={v} _14;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36 ();
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 5> [local count: 958878292]:
|
|
# DEBUG BEGIN_STMT
|
|
_53 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_54 = u32ElapsedTicks_24 + _53;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_54
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# u32ElapsedTicks_24 = PHI <0(4), u32ElapsedTicks_54(5)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_24
|
|
# DEBUG BEGIN_STMT
|
|
_15 ={v} pBase_30->CALBISTREG;
|
|
_16 = _15 & 32768;
|
|
if (_16 != 0)
|
|
goto <bb 7>; [94.50%]
|
|
else
|
|
goto <bb 8>; [5.50%]
|
|
|
|
<bb 7> [local count: 1014686024]:
|
|
if (u32ElapsedTicks_24 < u32TimeoutTicks_32)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 8>; [5.50%]
|
|
|
|
<bb 8> [local count: 114863532]:
|
|
# u32ElapsedTicks_63 = PHI <u32ElapsedTicks_24(6), u32ElapsedTicks_24(7)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_32 <= u32ElapsedTicks_63)
|
|
goto <bb 11>; [50.00%]
|
|
else
|
|
goto <bb 9>; [50.00%]
|
|
|
|
<bb 9> [local count: 57431766]:
|
|
# DEBUG BEGIN_STMT
|
|
_17 ={v} pBase_30->CALBISTREG;
|
|
_18 = _17 & 8;
|
|
if (_18 != 0)
|
|
goto <bb 10>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 10> [local count: 28715883]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eCalStatus => 1
|
|
|
|
<bb 11> [local count: 114863532]:
|
|
# eCalStatus_23 = PHI <2(8), 0(9), 1(10)>
|
|
# DEBUG eCalStatus => eCalStatus_23
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_56 = Adc_Sar_Ip_Powerdown (u32Instance_29(D));
|
|
# DEBUG eStatus => eStatus_56
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_56 != 0)
|
|
goto <bb 14>; [51.12%]
|
|
else
|
|
goto <bb 12>; [48.88%]
|
|
|
|
<bb 12> [local count: 56145294]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12 ();
|
|
# DEBUG BEGIN_STMT
|
|
_19 ={v} pBase_30->MCR;
|
|
_20 = _19 & 4294967289;
|
|
pBase_30->MCR ={v} _20;
|
|
# DEBUG BEGIN_STMT
|
|
_21 ={v} pBase_30->MCR;
|
|
_22 = _21 | u32AdcClkSel_38;
|
|
pBase_30->MCR ={v} _22;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12 ();
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_62 = Adc_Sar_Ip_Powerup (u32Instance_29(D));
|
|
# DEBUG eStatus => eStatus_62
|
|
# DEBUG BEGIN_STMT
|
|
if (eCalStatus_23 != 0)
|
|
goto <bb 13>; [50.00%]
|
|
else
|
|
goto <bb 14>; [50.00%]
|
|
|
|
<bb 13> [local count: 28072647]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => eCalStatus_23
|
|
|
|
<bb 14> [local count: 480750530]:
|
|
# _25 = PHI <eStatus_36(2), eStatus_43(3), eStatus_56(11), eCalStatus_23(13), eStatus_62(12)>
|
|
# DEBUG eStatus => NULL
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
return _25;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableNotifications (Adc_Sar_Ip_EnableNotifications, funcdef_no=37, decl_uid=4547, cgraph_uid=38, symbol_order=41)
|
|
|
|
Adc_Sar_Ip_EnableNotifications (const uint32 u32Instance, const uint32 u32NotificationMask)
|
|
{
|
|
uint32 u32ImrFlags;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_7(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_9(D) & 2
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_9(D) & 3
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_9(D) & 11
|
|
# DEBUG BEGIN_STMT
|
|
u32ImrFlags_10 = u32NotificationMask_9(D) & 15;
|
|
# DEBUG u32ImrFlags => u32ImrFlags_10
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_7(D)];
|
|
_2 = _1 & 4;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
u32ImrFlags_11 = u32NotificationMask_9(D) & 31;
|
|
# DEBUG u32ImrFlags => u32ImrFlags_11
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32ImrFlags_5 = PHI <u32ImrFlags_10(2), u32ImrFlags_11(3)>
|
|
# DEBUG u32ImrFlags => u32ImrFlags_5
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_8->IMR;
|
|
_4 = _3 | u32ImrFlags_5;
|
|
pBase_8->IMR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableNotifications (Adc_Sar_Ip_DisableNotifications, funcdef_no=38, decl_uid=4550, cgraph_uid=39, symbol_order=42)
|
|
|
|
Adc_Sar_Ip_DisableNotifications (const uint32 u32Instance, const uint32 u32NotificationMask)
|
|
{
|
|
uint32 u32ImrFlags;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_9 = pAdcBase[u32Instance_8(D)];
|
|
# DEBUG pBase => pBase_9
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_10(D) & 2
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_10(D) & 3
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ImrFlags => u32NotificationMask_10(D) & 11
|
|
# DEBUG BEGIN_STMT
|
|
u32ImrFlags_11 = u32NotificationMask_10(D) & 15;
|
|
# DEBUG u32ImrFlags => u32ImrFlags_11
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_8(D)];
|
|
_2 = _1 & 4;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
u32ImrFlags_12 = u32NotificationMask_10(D) & 31;
|
|
# DEBUG u32ImrFlags => u32ImrFlags_12
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u32ImrFlags_6 = PHI <u32ImrFlags_11(2), u32ImrFlags_12(3)>
|
|
# DEBUG u32ImrFlags => u32ImrFlags_6
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_9->IMR;
|
|
_4 = ~u32ImrFlags_6;
|
|
_5 = _3 & _4;
|
|
pBase_9->IMR ={v} _5;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableChannelNotifications (Adc_Sar_Ip_EnableChannelNotifications, funcdef_no=39, decl_uid=4554, cgraph_uid=40, symbol_order=43)
|
|
|
|
Adc_Sar_Ip_EnableChannelNotifications (const uint32 u32Instance, const uint32 u32ChnIdx, const uint32 u32Mask)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
volatile uint32_t * _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
volatile uint32_t * _11;
|
|
long unsigned int _12;
|
|
volatile uint32_t * _13;
|
|
long unsigned int _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_21 = pAdcBase[u32Instance_20(D)];
|
|
# DEBUG pBase => pBase_21
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_23 = u32ChnIdx_22(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_23
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_24 = u32ChnIdx_22(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_24
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32Mask_25(D) & 1;
|
|
if (_1 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = u32AdcChanBitmap[u32Instance_20(D)][u32VectAdr_23];
|
|
if (_2 != 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 5>; [67.00%]
|
|
|
|
<bb 4> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_21->CIMR0;
|
|
_4 = u32VectAdr_23 * 4;
|
|
_5 = _3 + _4;
|
|
_6 ={v} MEM[(volatile uint32 *)_5];
|
|
_7 = 1 << u32VectBit_24;
|
|
_8 = _6 | _7;
|
|
MEM[(volatile uint32 *)_5] ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30 ();
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_9 = u32Mask_25(D) & 2;
|
|
if (_9 != 0)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 6> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = u32AdcChanBitmap[u32Instance_20(D)][u32VectAdr_23];
|
|
if (_10 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28 ();
|
|
# DEBUG BEGIN_STMT
|
|
_11 = &pBase_21->CWENR0;
|
|
_12 = u32VectAdr_23 * 4;
|
|
_13 = _11 + _12;
|
|
_14 ={v} MEM[(volatile uint32 *)_13];
|
|
_15 = 1 << u32VectBit_24;
|
|
_16 = _14 | _15;
|
|
MEM[(volatile uint32 *)_13] ={v} _16;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28 ();
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableChannelNotifications (Adc_Sar_Ip_DisableChannelNotifications, funcdef_no=40, decl_uid=4558, cgraph_uid=41, symbol_order=44)
|
|
|
|
Adc_Sar_Ip_DisableChannelNotifications (const uint32 u32Instance, const uint32 u32ChnIdx, const uint32 u32Mask)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
volatile uint32_t * _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
volatile uint32_t * _12;
|
|
long unsigned int _13;
|
|
volatile uint32_t * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_23 = pAdcBase[u32Instance_22(D)];
|
|
# DEBUG pBase => pBase_23
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_25 = u32ChnIdx_24(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_25
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_26 = u32ChnIdx_24(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_26
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32Mask_27(D) & 1;
|
|
if (_1 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = u32AdcChanBitmap[u32Instance_22(D)][u32VectAdr_25];
|
|
if (_2 != 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 5>; [67.00%]
|
|
|
|
<bb 4> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_23->CIMR0;
|
|
_4 = u32VectAdr_25 * 4;
|
|
_5 = _3 + _4;
|
|
_6 ={v} MEM[(volatile uint32 *)_5];
|
|
_7 = 1 << u32VectBit_26;
|
|
_8 = ~_7;
|
|
_9 = _6 & _8;
|
|
MEM[(volatile uint32 *)_5] ={v} _9;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31 ();
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = u32Mask_27(D) & 2;
|
|
if (_10 != 0)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 6> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_11 = u32AdcChanBitmap[u32Instance_22(D)][u32VectAdr_25];
|
|
if (_11 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29 ();
|
|
# DEBUG BEGIN_STMT
|
|
_12 = &pBase_23->CWENR0;
|
|
_13 = u32VectAdr_25 * 4;
|
|
_14 = _12 + _13;
|
|
_15 ={v} MEM[(volatile uint32 *)_14];
|
|
_16 = 1 << u32VectBit_26;
|
|
_17 = ~_16;
|
|
_18 = _15 & _17;
|
|
MEM[(volatile uint32 *)_14] ={v} _18;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29 ();
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetSampleTimes (Adc_Sar_Ip_SetSampleTimes, funcdef_no=42, decl_uid=4564, cgraph_uid=43, symbol_order=46)
|
|
|
|
Adc_Sar_Ip_SetSampleTimes (const uint32 u32Instance, const uint8 * const aSampleTimes)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
unsigned char _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
unsigned char _8;
|
|
long unsigned int _9;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_15 = pAdcBase[u32Instance_14(D)];
|
|
# DEBUG pBase => pBase_15
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcChanBitmap[u32Instance_14(D)][0];
|
|
if (_1 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = *aSampleTimes_16(D);
|
|
_3 = (long unsigned int) _2;
|
|
MEM[(volatile uint32 *)pBase_15 + 148B] ={v} _3;
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_4 = u32AdcChanBitmap[u32Instance_14(D)][1];
|
|
if (_4 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 = MEM[(const uint8 *)aSampleTimes_16(D) + 1B];
|
|
_6 = (long unsigned int) _5;
|
|
MEM[(volatile uint32 *)pBase_15 + 152B] ={v} _6;
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_7 = u32AdcChanBitmap[u32Instance_14(D)][2];
|
|
if (_7 != 0)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = MEM[(const uint8 *)aSampleTimes_16(D) + 2B];
|
|
_9 = (long unsigned int) _8;
|
|
MEM[(volatile uint32 *)pBase_15 + 156B] ={v} _9;
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetAveraging (Adc_Sar_Ip_SetAveraging, funcdef_no=43, decl_uid=4568, cgraph_uid=44, symbol_order=47)
|
|
|
|
Adc_Sar_Ip_SetAveraging (const uint32 u32Instance, const boolean bAvgEn, const Adc_Sar_Ip_AvgSelectType eAvgSel)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int iftmp.22_9;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_12 = pAdcBase[u32Instance_11(D)];
|
|
# DEBUG pBase => pBase_12
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_12->MCR;
|
|
_2 = _1 & 4294963711;
|
|
pBase_12->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_12->MCR;
|
|
if (bAvgEn_15(D) != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# iftmp.22_9 = PHI <2048(2), 0(3)>
|
|
_4 = (long unsigned int) eAvgSel_16(D);
|
|
_5 = _4 << 9;
|
|
_6 = _5 & 1536;
|
|
_7 = _6 | iftmp.22_9;
|
|
_8 = _3 | _7;
|
|
pBase_12->MCR ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetClockMode (Adc_Sar_Ip_SetClockMode, funcdef_no=41, decl_uid=4561, cgraph_uid=42, symbol_order=45)
|
|
|
|
Adc_Sar_Ip_SetClockMode (const uint32 u32Instance, const struct Adc_Sar_Ip_ClockConfigType * const pConfig)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
<unnamed type> _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
_Bool _8;
|
|
<unnamed type> _9;
|
|
unsigned char _10;
|
|
long unsigned int _11;
|
|
const uint8[3] * _12;
|
|
Adc_Sar_Ip_StatusType _13;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_17 = pAdcBase[u32Instance_16(D)];
|
|
# DEBUG pBase => pBase_17
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Mcr => 0
|
|
# DEBUG BEGIN_STMT
|
|
_1 = pConfig_18(D)->eClkSelect;
|
|
_2 = (long unsigned int) _1;
|
|
_3 = _2 << 1;
|
|
_4 = _3 & 6;
|
|
# DEBUG u32Mcr => _4
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_20 = Adc_Sar_Ip_Powerdown (u32Instance_16(D));
|
|
# DEBUG eStatus => eStatus_20
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_20 != 0)
|
|
goto <bb 5>; [51.12%]
|
|
else
|
|
goto <bb 3>; [48.88%]
|
|
|
|
<bb 3> [local count: 524845004]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15 ();
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} pBase_17->MCR;
|
|
_6 = _5 & 4294967289;
|
|
_7 = _4 | _6;
|
|
pBase_17->MCR ={v} _7;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15 ();
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_25 = Adc_Sar_Ip_Powerup (u32Instance_16(D));
|
|
# DEBUG eStatus => eStatus_25
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_25 != 0)
|
|
goto <bb 5>; [51.12%]
|
|
else
|
|
goto <bb 4>; [48.88%]
|
|
|
|
<bb 4> [local count: 256544238]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = pConfig_18(D)->bAvgEn;
|
|
_9 = pConfig_18(D)->eAvgSel;
|
|
Adc_Sar_Ip_SetAveraging (u32Instance_16(D), _8, _9);
|
|
# DEBUG BEGIN_STMT
|
|
_10 = pConfig_18(D)->u8PowerDownDelay;
|
|
_11 = (long unsigned int) _10;
|
|
pBase_17->PDEDR ={v} _11;
|
|
# DEBUG BEGIN_STMT
|
|
_12 = &pConfig_18(D)->aSampleTime;
|
|
Adc_Sar_Ip_SetSampleTimes (u32Instance_16(D), _12);
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# _13 = PHI <eStatus_20(2), eStatus_25(3), 0(4)>
|
|
return _13;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_AbortConversion (Adc_Sar_Ip_AbortConversion, funcdef_no=44, decl_uid=4570, cgraph_uid=45, symbol_order=48)
|
|
|
|
Adc_Sar_Ip_AbortConversion (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_5 = pAdcBase[u32Instance_4(D)];
|
|
# DEBUG pBase => pBase_5
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_5->MCR;
|
|
_2 = _1 | 64;
|
|
pBase_5->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_AbortChain (Adc_Sar_Ip_AbortChain, funcdef_no=45, decl_uid=4574, cgraph_uid=46, symbol_order=49)
|
|
|
|
Adc_Sar_Ip_AbortChain (const uint32 u32Instance, const boolean bBlocking, const boolean bAllowRestart)
|
|
{
|
|
uint32 u32ElapsedTicks;
|
|
uint32 u32CurrentTicks;
|
|
uint32 u32TimeoutTicks;
|
|
uint32 u32Status;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
Adc_Sar_Ip_StatusType _10;
|
|
long unsigned int _31;
|
|
|
|
<bb 2> [local count: 229727064]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_16 = pAdcBase[u32Instance_15(D)];
|
|
# DEBUG pBase => pBase_16
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
u32TimeoutTicks_18 = OsIf_MicrosToTicks (3000, 0);
|
|
# DEBUG u32TimeoutTicks => u32TimeoutTicks_18
|
|
# DEBUG BEGIN_STMT
|
|
_1 = OsIf_GetCounter (0);
|
|
u32CurrentTicks = _1;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ElapsedTicks => 0
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18 ();
|
|
# DEBUG BEGIN_STMT
|
|
if (bAllowRestart_23(D) != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 ={v} pBase_16->MCR;
|
|
_3 = _2 & 4278190079;
|
|
pBase_16->MCR ={v} _3;
|
|
|
|
<bb 4> [local count: 229727064]:
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} pBase_16->MCR;
|
|
_5 = _4 | 128;
|
|
pBase_16->MCR ={v} _5;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18 ();
|
|
# DEBUG BEGIN_STMT
|
|
if (bBlocking_27(D) != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 5> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} pBase_16->MSR;
|
|
u32Status_28 = _6 & 16777216;
|
|
# DEBUG u32Status => u32Status_28
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 6> [local count: 958878293]:
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} pBase_16->MSR;
|
|
u32Status_29 = _7 & 16777216;
|
|
# DEBUG u32Status => u32Status_29
|
|
# DEBUG BEGIN_STMT
|
|
_31 = OsIf_GetElapsed (&u32CurrentTicks, 0);
|
|
u32ElapsedTicks_32 = u32ElapsedTicks_9 + _31;
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_32
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# u32Status_8 = PHI <u32Status_28(5), u32Status_29(6)>
|
|
# u32ElapsedTicks_9 = PHI <0(5), u32ElapsedTicks_32(6)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_9
|
|
# DEBUG u32Status => u32Status_8
|
|
# DEBUG BEGIN_STMT
|
|
if (u32Status_8 == 16777216)
|
|
goto <bb 8>; [94.50%]
|
|
else
|
|
goto <bb 9>; [5.50%]
|
|
|
|
<bb 8> [local count: 1014686025]:
|
|
if (u32ElapsedTicks_9 < u32TimeoutTicks_18)
|
|
goto <bb 6>; [94.50%]
|
|
else
|
|
goto <bb 9>; [5.50%]
|
|
|
|
<bb 9> [local count: 114863532]:
|
|
# u32ElapsedTicks_21 = PHI <u32ElapsedTicks_9(7), u32ElapsedTicks_9(8)>
|
|
# DEBUG BEGIN_STMT
|
|
if (u32TimeoutTicks_18 <= u32ElapsedTicks_21)
|
|
goto <bb 10>; [21.72%]
|
|
else
|
|
goto <bb 11>; [78.28%]
|
|
|
|
<bb 10> [local count: 24948359]:
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 11> [local count: 229727064]:
|
|
# _10 = PHI <2(10), 0(9), 0(4)>
|
|
u32CurrentTicks ={v} {CLOBBER};
|
|
return _10;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetPresamplingSource (Adc_Sar_Ip_SetPresamplingSource, funcdef_no=46, decl_uid=4578, cgraph_uid=47, symbol_order=50)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5783 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 13
|
|
Number of blocks to update: 12 ( 92%)
|
|
|
|
|
|
Removing basic block 3
|
|
Removing basic block 5
|
|
Removing basic block 6
|
|
Merging blocks 11 and 12
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8
|
|
;; 2 succs { 3 8 }
|
|
;; 3 succs { 7 4 5 6 }
|
|
;; 4 succs { 7 }
|
|
;; 5 succs { 7 }
|
|
;; 6 succs { 7 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 1 }
|
|
Adc_Sar_Ip_SetPresamplingSource (const uint32 u32Instance, const Adc_Sar_Ip_ChanGroupType pChanGroup, const Adc_Sar_Ip_PresamplingSourceType pPresampleSource)
|
|
{
|
|
uint32 u32Pscr;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int _14;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _22;
|
|
long unsigned int _23;
|
|
long unsigned int _24;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_5(D)];
|
|
_2 = _1 & 2;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG u32Instance => u32Instance_5(D)
|
|
# DEBUG pChanGroup => pChanGroup_6(D)
|
|
# DEBUG pPresampleSource => pPresampleSource_7(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_Ip_SetPresamplingSource
|
|
# DEBUG BEGIN_STMT
|
|
pBase_9 = pAdcBase[u32Instance_5(D)];
|
|
# DEBUG pBase => pBase_9
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38 ();
|
|
# DEBUG BEGIN_STMT
|
|
u32Pscr_10 ={v} pBase_9->PSCR;
|
|
# DEBUG u32Pscr => u32Pscr_10
|
|
# DEBUG BEGIN_STMT
|
|
switch (pChanGroup_6(D)) <default: <L11> [25.00%], case 0: <L8> [25.00%], case 1: <L9> [25.00%], case 2: <L10> [25.00%]>
|
|
|
|
<bb 4> [local count: 88583701]:
|
|
<L8>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Pscr_11 = u32Pscr_10 & 4294967293;
|
|
# DEBUG u32Pscr => u32Pscr_11
|
|
# DEBUG BEGIN_STMT
|
|
_12 = (long unsigned int) pPresampleSource_7(D);
|
|
_13 = _12 << 1;
|
|
_14 = _13 & 2;
|
|
u32Pscr_15 = u32Pscr_11 | _14;
|
|
# DEBUG u32Pscr => u32Pscr_15
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 5> [local count: 88583701]:
|
|
<L9>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Pscr_16 = u32Pscr_10 & 4294967287;
|
|
# DEBUG u32Pscr => u32Pscr_16
|
|
# DEBUG BEGIN_STMT
|
|
_17 = (long unsigned int) pPresampleSource_7(D);
|
|
_18 = _17 << 3;
|
|
_19 = _18 & 8;
|
|
u32Pscr_20 = u32Pscr_16 | _19;
|
|
# DEBUG u32Pscr => u32Pscr_20
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 6> [local count: 88583701]:
|
|
<L10>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Pscr_21 = u32Pscr_10 & 4294967263;
|
|
# DEBUG u32Pscr => u32Pscr_21
|
|
# DEBUG BEGIN_STMT
|
|
_22 = (long unsigned int) pPresampleSource_7(D);
|
|
_23 = _22 << 5;
|
|
_24 = _23 & 32;
|
|
u32Pscr_25 = u32Pscr_21 | _24;
|
|
# DEBUG u32Pscr => u32Pscr_25
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 7> [local count: 354334802]:
|
|
# u32Pscr_26 = PHI <u32Pscr_10(3), u32Pscr_15(4), u32Pscr_20(5), u32Pscr_25(6)>
|
|
<L11>:
|
|
# DEBUG u32Pscr => u32Pscr_26
|
|
# DEBUG BEGIN_STMT
|
|
pBase_9->PSCR ={v} u32Pscr_26;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38 ();
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG pChanGroup => NULL
|
|
# DEBUG pPresampleSource => NULL
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u32Pscr => NULL
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableChannelPresampling (Adc_Sar_Ip_EnableChannelPresampling, funcdef_no=47, decl_uid=4581, cgraph_uid=48, symbol_order=51)
|
|
|
|
Adc_Sar_Ip_EnableChannelPresampling (const uint32 u32Instance, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
volatile uint32_t * _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_11(D)];
|
|
_2 = _1 & 2;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_12 = pAdcBase[u32Instance_11(D)];
|
|
# DEBUG pBase => pBase_12
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_14 = u32ChnIdx_13(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_14
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_15 = u32ChnIdx_13(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_15
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_12->PSR0;
|
|
_4 = u32VectAdr_14 * 4;
|
|
_5 = _3 + _4;
|
|
_6 ={v} MEM[(volatile uint32 *)_5];
|
|
_7 = 1 << u32VectBit_15;
|
|
_8 = _6 | _7;
|
|
MEM[(volatile uint32 *)_5] ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41 ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableChannelPresampling (Adc_Sar_Ip_DisableChannelPresampling, funcdef_no=48, decl_uid=4584, cgraph_uid=49, symbol_order=52)
|
|
|
|
Adc_Sar_Ip_DisableChannelPresampling (const uint32 u32Instance, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
volatile uint32_t * _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_12(D)];
|
|
_2 = _1 & 2;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_13 = pAdcBase[u32Instance_12(D)];
|
|
# DEBUG pBase => pBase_13
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_15 = u32ChnIdx_14(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_15
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_16 = u32ChnIdx_14(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_16
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_13->PSR0;
|
|
_4 = u32VectAdr_15 * 4;
|
|
_5 = _3 + _4;
|
|
_6 ={v} MEM[(volatile uint32 *)_5];
|
|
_7 = 1 << u32VectBit_16;
|
|
_8 = ~_7;
|
|
_9 = _6 & _8;
|
|
MEM[(volatile uint32 *)_5] ={v} _9;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42 ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnablePresampleConversion (Adc_Sar_Ip_EnablePresampleConversion, funcdef_no=49, decl_uid=4586, cgraph_uid=50, symbol_order=53)
|
|
|
|
Adc_Sar_Ip_EnablePresampleConversion (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_7(D)];
|
|
_2 = _1 & 2;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_7(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_8->PSCR;
|
|
_4 = _3 | 1;
|
|
pBase_8->PSCR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39 ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisablePresampleConversion (Adc_Sar_Ip_DisablePresampleConversion, funcdef_no=50, decl_uid=4588, cgraph_uid=51, symbol_order=54)
|
|
|
|
Adc_Sar_Ip_DisablePresampleConversion (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u32AdcFeatureBitmap[u32Instance_7(D)];
|
|
_2 = _1 & 2;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_7(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_8->PSCR;
|
|
_4 = _3 & 4294967294;
|
|
pBase_8->PSCR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40 ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableDma (Adc_Sar_Ip_EnableDma, funcdef_no=51, decl_uid=4590, cgraph_uid=52, symbol_order=55)
|
|
|
|
Adc_Sar_Ip_EnableDma (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_5 = pAdcBase[u32Instance_4(D)];
|
|
# DEBUG pBase => pBase_5
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_5->DMAE;
|
|
_2 = _1 | 1;
|
|
pBase_5->DMAE ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableDma (Adc_Sar_Ip_DisableDma, funcdef_no=52, decl_uid=4592, cgraph_uid=53, symbol_order=56)
|
|
|
|
Adc_Sar_Ip_DisableDma (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_5 = pAdcBase[u32Instance_4(D)];
|
|
# DEBUG pBase => pBase_5
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_5->DMAE;
|
|
_2 = _1 & 4294967294;
|
|
pBase_5->DMAE ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableChannelDma (Adc_Sar_Ip_EnableChannelDma, funcdef_no=53, decl_uid=4595, cgraph_uid=54, symbol_order=57)
|
|
|
|
Adc_Sar_Ip_EnableChannelDma (const uint32 u32Instance, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
volatile uint32_t * _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_9 = pAdcBase[u32Instance_8(D)];
|
|
# DEBUG pBase => pBase_9
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_11 = u32ChnIdx_10(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_11
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_12 = u32ChnIdx_10(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_12
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 = &pBase_9->DMAR0;
|
|
_2 = u32VectAdr_11 * 4;
|
|
_3 = _1 + _2;
|
|
_4 ={v} MEM[(volatile uint32 *)_3];
|
|
_5 = 1 << u32VectBit_12;
|
|
_6 = _4 | _5;
|
|
MEM[(volatile uint32 *)_3] ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableChannelDma (Adc_Sar_Ip_DisableChannelDma, funcdef_no=54, decl_uid=4598, cgraph_uid=55, symbol_order=58)
|
|
|
|
Adc_Sar_Ip_DisableChannelDma (const uint32 u32Instance, const uint32 u32ChnIdx)
|
|
{
|
|
uint32 u32VectBit;
|
|
uint32 u32VectAdr;
|
|
struct ADC_Type * const pBase;
|
|
volatile uint32_t * _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_10 = pAdcBase[u32Instance_9(D)];
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG BEGIN_STMT
|
|
u32VectAdr_12 = u32ChnIdx_11(D) >> 5;
|
|
# DEBUG u32VectAdr => u32VectAdr_12
|
|
# DEBUG BEGIN_STMT
|
|
u32VectBit_13 = u32ChnIdx_11(D) & 31;
|
|
# DEBUG u32VectBit => u32VectBit_13
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 = &pBase_10->DMAR0;
|
|
_2 = u32VectAdr_12 * 4;
|
|
_3 = _1 + _2;
|
|
_4 ={v} MEM[(volatile uint32 *)_3];
|
|
_5 = 1 << u32VectBit_13;
|
|
_6 = ~_5;
|
|
_7 = _4 & _6;
|
|
MEM[(volatile uint32 *)_3] ={v} _7;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_DisableChannelDmaAll (Adc_Sar_Ip_DisableChannelDmaAll, funcdef_no=55, decl_uid=4600, cgraph_uid=56, symbol_order=59)
|
|
|
|
Adc_Sar_Ip_DisableChannelDmaAll (const uint32 u32Instance)
|
|
{
|
|
uint8 u8Index;
|
|
struct ADC_Type * const pBase;
|
|
int _1;
|
|
long unsigned int _2;
|
|
volatile uint32_t * _3;
|
|
unsigned int _4;
|
|
unsigned int _5;
|
|
volatile uint32_t * _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
|
|
<bb 2> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_15 = pAdcBase[u32Instance_14(D)];
|
|
# DEBUG pBase => pBase_15
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 3> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) u8Index_10;
|
|
_2 = u32AdcChanBitmap[u32Instance_14(D)][_1];
|
|
if (_2 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 4> [local count: 402653184]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 5> [local count: 402653184]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48 ();
|
|
# DEBUG BEGIN_STMT
|
|
_3 = &pBase_15->DMAR0;
|
|
_4 = (unsigned int) u8Index_10;
|
|
_5 = _4 * 4;
|
|
_6 = _3 + _5;
|
|
_7 ={v} MEM[(volatile uint32 *)_6];
|
|
_8 = ~_2;
|
|
_9 = _7 & _8;
|
|
MEM[(volatile uint32 *)_6] ={v} _9;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48 ();
|
|
|
|
<bb 6> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_19 = u8Index_10 + 1;
|
|
# DEBUG u8Index => u8Index_19
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# u8Index_10 = PHI <0(2), u8Index_19(6)>
|
|
# DEBUG u8Index => u8Index_10
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_10 != 3)
|
|
goto <bb 3>; [75.00%]
|
|
else
|
|
goto <bb 8>; [25.00%]
|
|
|
|
<bb 8> [local count: 268435456]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetDmaClearSource (Adc_Sar_Ip_SetDmaClearSource, funcdef_no=56, decl_uid=4603, cgraph_uid=57, symbol_order=60)
|
|
|
|
Adc_Sar_Ip_SetDmaClearSource (const uint32 u32Instance, const Adc_Sar_Ip_ClearSourceType pDmaClear)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_10 = pAdcBase[u32Instance_9(D)];
|
|
# DEBUG pBase => pBase_10
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_10->DMAE;
|
|
_2 = _1 & 4294967293;
|
|
pBase_10->DMAE ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_10->DMAE;
|
|
_4 = (long unsigned int) pDmaClear_13(D);
|
|
_5 = _4 << 1;
|
|
_6 = _5 & 2;
|
|
_7 = _3 | _6;
|
|
pBase_10->DMAE ={v} _7;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetWdgThreshold (Adc_Sar_Ip_SetWdgThreshold, funcdef_no=57, decl_uid=4607, cgraph_uid=58, symbol_order=61)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5794 D.6107 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 14
|
|
Number of blocks to update: 13 ( 93%)
|
|
|
|
|
|
Merging blocks 2 and 10
|
|
Merging blocks 13 and 9
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 5 }
|
|
;; 4 succs { 5 }
|
|
;; 5 succs { 6 7 }
|
|
;; 6 succs { 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 9 10 }
|
|
;; 9 succs { 11 }
|
|
;; 10 succs { 11 }
|
|
;; 11 succs { 1 }
|
|
Adc_Sar_Ip_SetWdgThreshold (const uint32 u32Instance, const uint8 u8RegisterIdx, const struct Adc_Sar_Ip_WdgThresholdType * const pThresholdValues)
|
|
{
|
|
uint8 u8Resolution;
|
|
struct ADC_Type * const pBase;
|
|
uint32 u32Calbistreg;
|
|
uint8 D.6107;
|
|
uint32 u32Value;
|
|
uint32 u32Wtimr;
|
|
uint16 u16LowThreshold;
|
|
uint8 u8Shift;
|
|
struct ADC_Type * const pBase;
|
|
unsigned char _1;
|
|
short unsigned int _2;
|
|
int _3;
|
|
int _4;
|
|
int _5;
|
|
short unsigned int _6;
|
|
int _7;
|
|
int _8;
|
|
_Bool _9;
|
|
unsigned int _10;
|
|
unsigned int _11;
|
|
unsigned int _12;
|
|
long unsigned int _13;
|
|
unsigned int _14;
|
|
unsigned int _15;
|
|
unsigned int _16;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
_Bool _19;
|
|
unsigned int _20;
|
|
unsigned int _21;
|
|
long unsigned int _22;
|
|
unsigned int _23;
|
|
unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _26;
|
|
long unsigned int _45;
|
|
short unsigned int _46;
|
|
long unsigned int _47;
|
|
int _49;
|
|
long unsigned int _51;
|
|
long unsigned int _52;
|
|
long unsigned int _55;
|
|
unsigned int _56;
|
|
unsigned char _58;
|
|
unsigned char _59;
|
|
unsigned char _60;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_31 = pAdcBase[u32Instance_30(D)];
|
|
# DEBUG pBase => pBase_31
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_30(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_GetResolution
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pBase_53 = pAdcBase[u32Instance_30(D)];
|
|
# DEBUG pBase => pBase_53
|
|
# DEBUG BEGIN_STMT
|
|
u32Calbistreg_54 ={v} pBase_53->CALBISTREG;
|
|
# DEBUG u32Calbistreg => u32Calbistreg_54
|
|
# DEBUG BEGIN_STMT
|
|
_55 = u32Calbistreg_54 >> 29;
|
|
# DEBUG u8ResolutionBits => (uint8) _55
|
|
# DEBUG BEGIN_STMT
|
|
_56 = _55 + 4294967295;
|
|
if (_56 <= 2)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
<L6>:
|
|
u8Resolution_57 = 14;
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 536870913]:
|
|
<L7>:
|
|
_58 = (unsigned char) _55;
|
|
_59 = _58 * 254;
|
|
_60 = _59 + 14;
|
|
u8Resolution_61 = _60;
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# u8Resolution_62 = PHI <u8Resolution_57(3), u8Resolution_61(4)>
|
|
<L8>:
|
|
<L9>:
|
|
# DEBUG u8Resolution => u8Resolution_62
|
|
# DEBUG BEGIN_STMT
|
|
_63 = u8Resolution_62;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32Calbistreg => NULL
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u8Resolution => NULL
|
|
_1 = _63;
|
|
u8Shift_33 = 15 - _1;
|
|
# DEBUG u8Shift => u8Shift_33
|
|
# DEBUG BEGIN_STMT
|
|
_2 = pThresholdValues_34(D)->u16HighThreshold;
|
|
_3 = (int) _2;
|
|
_4 = (int) u8Shift_33;
|
|
_5 = _3 << _4;
|
|
# DEBUG D#1 => (uint16) _5
|
|
# DEBUG u16HighThreshold => D#1
|
|
# DEBUG BEGIN_STMT
|
|
_6 = pThresholdValues_34(D)->u16LowThreshold;
|
|
_7 = (int) _6;
|
|
_8 = _7 << _4;
|
|
u16LowThreshold_35 = (uint16) _8;
|
|
# DEBUG u16LowThreshold => u16LowThreshold_35
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG pBase => pBase_31
|
|
# DEBUG u8RegisterNumber => u8RegisterIdx_36(D)
|
|
# DEBUG u16HighThreshold => D#1
|
|
# DEBUG u16LowThreshold => u16LowThreshold_35
|
|
# DEBUG INLINE_ENTRY Adc_Sar_WriteThresholds
|
|
# DEBUG BEGIN_STMT
|
|
_51 = (long unsigned int) _5;
|
|
_52 = _51 << 16;
|
|
_45 = _52 & 2147418112;
|
|
_46 = u16LowThreshold_35 & 32767;
|
|
_47 = (long unsigned int) _46;
|
|
u32Value_48 = _45 | _47;
|
|
# DEBUG u32Value => u32Value_48
|
|
# DEBUG BEGIN_STMT
|
|
_49 = (int) u8RegisterIdx_36(D);
|
|
pBase_31->THRHLR[_49] ={v} u32Value_48;
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u8RegisterNumber => NULL
|
|
# DEBUG u16HighThreshold => NULL
|
|
# DEBUG u16LowThreshold => NULL
|
|
# DEBUG u32Value => NULL
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32 ();
|
|
# DEBUG BEGIN_STMT
|
|
u32Wtimr_38 ={v} pBase_31->WTIMR;
|
|
# DEBUG u32Wtimr => u32Wtimr_38
|
|
# DEBUG BEGIN_STMT
|
|
_9 = pThresholdValues_34(D)->bLowThresholdIntEn;
|
|
if (_9 != 0)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 7>; [50.00%]
|
|
|
|
<bb 6> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = (unsigned int) u8RegisterIdx_36(D);
|
|
_11 = _10 * 2;
|
|
_12 = _11 + 1;
|
|
_13 = 1 << _12;
|
|
u32Wtimr_40 = _13 | u32Wtimr_38;
|
|
# DEBUG u32Wtimr => u32Wtimr_40
|
|
goto <bb 8>; [100.00%]
|
|
|
|
<bb 7> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = (unsigned int) u8RegisterIdx_36(D);
|
|
_15 = _14 * 2;
|
|
_16 = _15 + 1;
|
|
_17 = 1 << _16;
|
|
_18 = ~_17;
|
|
u32Wtimr_39 = _18 & u32Wtimr_38;
|
|
# DEBUG u32Wtimr => u32Wtimr_39
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
# u32Wtimr_27 = PHI <u32Wtimr_40(6), u32Wtimr_39(7)>
|
|
# DEBUG u32Wtimr => u32Wtimr_27
|
|
# DEBUG BEGIN_STMT
|
|
_19 = pThresholdValues_34(D)->bHighThresholdIntEn;
|
|
if (_19 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = (unsigned int) u8RegisterIdx_36(D);
|
|
_21 = _20 * 2;
|
|
_22 = 1 << _21;
|
|
u32Wtimr_42 = _22 | u32Wtimr_27;
|
|
# DEBUG u32Wtimr => u32Wtimr_42
|
|
goto <bb 11>; [100.00%]
|
|
|
|
<bb 10> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 = (unsigned int) u8RegisterIdx_36(D);
|
|
_24 = _23 * 2;
|
|
_25 = 1 << _24;
|
|
_26 = ~_25;
|
|
u32Wtimr_41 = _26 & u32Wtimr_27;
|
|
# DEBUG u32Wtimr => u32Wtimr_41
|
|
|
|
<bb 11> [local count: 1073741824]:
|
|
# u32Wtimr_28 = PHI <u32Wtimr_42(9), u32Wtimr_41(10)>
|
|
# DEBUG u32Wtimr => u32Wtimr_28
|
|
# DEBUG BEGIN_STMT
|
|
pBase_31->WTIMR ={v} u32Wtimr_28;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_Init (Adc_Sar_Ip_Init, funcdef_no=20, decl_uid=4493, cgraph_uid=21, symbol_order=24)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5795 D.6117 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 85
|
|
Number of blocks to update: 84 ( 99%)
|
|
|
|
|
|
Removing basic block 3
|
|
Removing basic block 29
|
|
Removing basic block 34
|
|
Removing basic block 35
|
|
Merging blocks 58 and 36
|
|
Removing basic block 59
|
|
Merging blocks 62 and 75
|
|
Removing basic block 73
|
|
Removing basic block 74
|
|
;; 5 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
|
;;
|
|
;; Loop 4
|
|
;; header 71, latch 70
|
|
;; depth 1, outer 0
|
|
;; nodes: 71 70 66 69 67 68 64 65 62 63 51 61 52 53 54 55 56 57 58 59 60
|
|
;;
|
|
;; Loop 3
|
|
;; header 47, latch 46
|
|
;; depth 1, outer 0
|
|
;; nodes: 47 46
|
|
;;
|
|
;; Loop 2
|
|
;; header 43, latch 42
|
|
;; depth 1, outer 0
|
|
;; nodes: 43 42 40 41 39
|
|
;;
|
|
;; Loop 1
|
|
;; header 38, latch 37
|
|
;; depth 1, outer 0
|
|
;; nodes: 38 37 35 36 34
|
|
;; 2 succs { 75 3 }
|
|
;; 3 succs { 5 4 }
|
|
;; 4 succs { 5 }
|
|
;; 5 succs { 7 6 }
|
|
;; 6 succs { 7 }
|
|
;; 7 succs { 8 11 }
|
|
;; 8 succs { 11 9 10 }
|
|
;; 9 succs { 11 }
|
|
;; 10 succs { 11 }
|
|
;; 11 succs { 14 12 13 }
|
|
;; 12 succs { 14 }
|
|
;; 13 succs { 14 }
|
|
;; 14 succs { 16 15 }
|
|
;; 15 succs { 16 }
|
|
;; 16 succs { 17 22 }
|
|
;; 17 succs { 19 18 }
|
|
;; 18 succs { 19 }
|
|
;; 19 succs { 21 20 }
|
|
;; 20 succs { 21 }
|
|
;; 21 succs { 22 }
|
|
;; 22 succs { 24 23 }
|
|
;; 23 succs { 24 }
|
|
;; 24 succs { 75 25 }
|
|
;; 25 succs { 26 27 }
|
|
;; 26 succs { 27 }
|
|
;; 27 succs { 28 29 }
|
|
;; 28 succs { 29 }
|
|
;; 29 succs { 30 31 }
|
|
;; 30 succs { 31 }
|
|
;; 31 succs { 32 33 }
|
|
;; 32 succs { 33 }
|
|
;; 33 succs { 38 }
|
|
;; 34 succs { 35 36 }
|
|
;; 35 succs { 37 }
|
|
;; 36 succs { 37 }
|
|
;; 37 succs { 38 }
|
|
;; 38 succs { 34 43 }
|
|
;; 39 succs { 40 41 }
|
|
;; 40 succs { 42 }
|
|
;; 41 succs { 42 }
|
|
;; 42 succs { 43 }
|
|
;; 43 succs { 39 44 }
|
|
;; 44 succs { 45 48 }
|
|
;; 45 succs { 47 48 }
|
|
;; 46 succs { 47 }
|
|
;; 47 succs { 46 48 }
|
|
;; 48 succs { 49 72 }
|
|
;; 49 succs { 50 72 }
|
|
;; 50 succs { 71 }
|
|
;; 51 succs { 52 62 }
|
|
;; 52 succs { 61 53 54 55 56 57 58 59 60 }
|
|
;; 53 succs { 61 }
|
|
;; 54 succs { 61 }
|
|
;; 55 succs { 61 }
|
|
;; 56 succs { 61 }
|
|
;; 57 succs { 61 }
|
|
;; 58 succs { 61 }
|
|
;; 59 succs { 61 }
|
|
;; 60 succs { 61 }
|
|
;; 61 succs { 62 }
|
|
;; 62 succs { 63 64 }
|
|
;; 63 succs { 64 }
|
|
;; 64 succs { 65 66 }
|
|
;; 65 succs { 66 }
|
|
;; 66 succs { 67 70 }
|
|
;; 67 succs { 68 69 }
|
|
;; 68 succs { 69 }
|
|
;; 69 succs { 70 }
|
|
;; 70 succs { 71 }
|
|
;; 71 succs { 51 72 }
|
|
;; 72 succs { 74 73 }
|
|
;; 73 succs { 74 }
|
|
;; 74 succs { 75 }
|
|
;; 75 succs { 1 }
|
|
Adc_Sar_Ip_Init (const uint32 u32Instance, const struct Adc_Sar_Ip_ConfigType * const pConfig)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
uint32 u32Mask;
|
|
uint8 u8Index;
|
|
const struct Adc_Sar_Ip_ChanConfigType * pChnConfig;
|
|
uint32 u32RegNum;
|
|
uint32 u32Pos;
|
|
uint32 u32Mcr;
|
|
uint32 D.6117;
|
|
uint8 u8Index;
|
|
struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
<unnamed type> _4;
|
|
long unsigned int _5;
|
|
unsigned char _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
unsigned char _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
unsigned char _12;
|
|
long unsigned int _13;
|
|
unsigned char _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _17;
|
|
short unsigned int _18;
|
|
long unsigned int _19;
|
|
int _20;
|
|
long unsigned int _21;
|
|
volatile uint32_t * _22;
|
|
unsigned int _23;
|
|
unsigned int _24;
|
|
volatile uint32_t * _25;
|
|
long unsigned int _26;
|
|
int _27;
|
|
long unsigned int _28;
|
|
volatile uint32_t * _29;
|
|
unsigned int _30;
|
|
unsigned int _31;
|
|
volatile uint32_t * _32;
|
|
long unsigned int _33;
|
|
<unnamed type> _34;
|
|
const struct Adc_Sar_Ip_WdgThresholdType * _35;
|
|
unsigned char _36;
|
|
const struct Adc_Sar_Ip_WdgThresholdType * _37;
|
|
unsigned int _38;
|
|
unsigned int _39;
|
|
const struct Adc_Sar_Ip_WdgThresholdType * _40;
|
|
unsigned char _41;
|
|
unsigned char _43;
|
|
const struct Adc_Sar_Ip_ChanConfigType * _44;
|
|
unsigned char _45;
|
|
long unsigned int _46;
|
|
long unsigned int _47;
|
|
long unsigned int _48;
|
|
_Bool _49;
|
|
long unsigned int _50;
|
|
<unnamed type> _51;
|
|
<unnamed type> _52;
|
|
<unnamed type> _53;
|
|
void (*<T34c>) (void) _54;
|
|
void (*<T34c>) (void) _55;
|
|
void (*<T34c>) (void) _56;
|
|
void (*<T34d>) (uint16) _57;
|
|
void (*<T34d>) (uint16) _58;
|
|
<unnamed type> _59;
|
|
<unnamed type> _60;
|
|
unsigned char _61;
|
|
long unsigned int _62;
|
|
short unsigned int _63;
|
|
long unsigned int _64;
|
|
long unsigned int _65;
|
|
long unsigned int _66;
|
|
long unsigned int _67;
|
|
Adc_Sar_Ip_StatusType _71;
|
|
long unsigned int iftmp.3_72;
|
|
<unnamed type> _124;
|
|
long unsigned int _125;
|
|
long unsigned int _126;
|
|
long unsigned int _127;
|
|
<unnamed type> _128;
|
|
long unsigned int _129;
|
|
long unsigned int _130;
|
|
long unsigned int _131;
|
|
_Bool _133;
|
|
long unsigned int iftmp.4_134;
|
|
_Bool _136;
|
|
long unsigned int iftmp.5_137;
|
|
<unnamed type> _139;
|
|
long unsigned int _140;
|
|
long unsigned int _141;
|
|
long unsigned int _142;
|
|
long unsigned int _144;
|
|
long unsigned int _145;
|
|
<unnamed type> _146;
|
|
<unnamed type> _149;
|
|
<unnamed type> _153;
|
|
long unsigned int iftmp.6_155;
|
|
_Bool _157;
|
|
long unsigned int iftmp.7_158;
|
|
_Bool _160;
|
|
long unsigned int iftmp.8_161;
|
|
_Bool _163;
|
|
long unsigned int iftmp.9_165;
|
|
<unnamed type> _167;
|
|
long unsigned int _168;
|
|
long unsigned int _169;
|
|
long unsigned int _170;
|
|
unsigned int _174;
|
|
unsigned int _175;
|
|
unsigned char _177;
|
|
unsigned char _178;
|
|
unsigned char _180;
|
|
long unsigned int _182;
|
|
long unsigned int _183;
|
|
unsigned char _184;
|
|
long unsigned int _185;
|
|
long unsigned int _186;
|
|
long unsigned int _187;
|
|
long unsigned int _188;
|
|
unsigned char _189;
|
|
long unsigned int _190;
|
|
_Bool _191;
|
|
_Bool _192;
|
|
unsigned char _195;
|
|
long unsigned int _196;
|
|
unsigned char _198;
|
|
unsigned char _199;
|
|
unsigned char _201;
|
|
long unsigned int _203;
|
|
volatile uint32_t * _204;
|
|
long unsigned int _205;
|
|
volatile uint32_t * _206;
|
|
long unsigned int _207;
|
|
_Bool _208;
|
|
long unsigned int iftmp.10_209;
|
|
long unsigned int iftmp.10_210;
|
|
long unsigned int _211;
|
|
volatile uint32_t * _213;
|
|
long unsigned int _214;
|
|
volatile uint32_t * _215;
|
|
long unsigned int _216;
|
|
long unsigned int _217;
|
|
long unsigned int _218;
|
|
long unsigned int _219;
|
|
long unsigned int _220;
|
|
volatile uint32_t * _221;
|
|
long unsigned int _222;
|
|
volatile uint32_t * _223;
|
|
long unsigned int _224;
|
|
long unsigned int _225;
|
|
long unsigned int _226;
|
|
long unsigned int _227;
|
|
long unsigned int _228;
|
|
long unsigned int _229;
|
|
volatile uint32_t * _230;
|
|
long unsigned int _231;
|
|
volatile uint32_t * _232;
|
|
long unsigned int _233;
|
|
long unsigned int _234;
|
|
long unsigned int _235;
|
|
long unsigned int _236;
|
|
long unsigned int _237;
|
|
long unsigned int _238;
|
|
volatile uint32_t * _239;
|
|
long unsigned int _240;
|
|
volatile uint32_t * _241;
|
|
long unsigned int _242;
|
|
long unsigned int _243;
|
|
long unsigned int _244;
|
|
long unsigned int _245;
|
|
long unsigned int _246;
|
|
long unsigned int _247;
|
|
volatile uint32_t * _248;
|
|
long unsigned int _249;
|
|
volatile uint32_t * _250;
|
|
long unsigned int _251;
|
|
long unsigned int _252;
|
|
long unsigned int _253;
|
|
long unsigned int _254;
|
|
long unsigned int _255;
|
|
long unsigned int _256;
|
|
volatile uint32_t * _257;
|
|
long unsigned int _258;
|
|
volatile uint32_t * _259;
|
|
long unsigned int _260;
|
|
long unsigned int _261;
|
|
long unsigned int _262;
|
|
long unsigned int _263;
|
|
long unsigned int _264;
|
|
long unsigned int _265;
|
|
volatile uint32_t * _266;
|
|
long unsigned int _267;
|
|
volatile uint32_t * _268;
|
|
long unsigned int _269;
|
|
long unsigned int _270;
|
|
long unsigned int _271;
|
|
long unsigned int _272;
|
|
long unsigned int _273;
|
|
long unsigned int _274;
|
|
volatile uint32_t * _275;
|
|
long unsigned int _276;
|
|
volatile uint32_t * _277;
|
|
long unsigned int _278;
|
|
long unsigned int _279;
|
|
long unsigned int _280;
|
|
long unsigned int _281;
|
|
long unsigned int _282;
|
|
long unsigned int _283;
|
|
|
|
<bb 2> [local count: 832204182]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_87 = pAdcBase[u32Instance_86(D)];
|
|
# DEBUG pBase => pBase_87
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_Ip_AbortChain (u32Instance_86(D), 1, 0);
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_87->MCR;
|
|
_2 = _1 & 4294836223;
|
|
pBase_87->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_91 = Adc_Sar_Ip_Powerdown (u32Instance_86(D));
|
|
# DEBUG eStatus => eStatus_91
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_91 != 0)
|
|
goto <bb 75>; [51.12%]
|
|
else
|
|
goto <bb 3>; [48.88%]
|
|
|
|
<bb 3> [local count: 406781404]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_86(D)
|
|
# DEBUG pConfig => pConfig_92(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_CollectMcrMasks
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Mcr => 0
|
|
# DEBUG BEGIN_STMT
|
|
_124 = pConfig_92(D)->eConvMode;
|
|
_125 = (long unsigned int) _124;
|
|
_126 = _125 << 29;
|
|
_127 = _126 & 536870912;
|
|
# DEBUG u32Mcr => _127
|
|
# DEBUG BEGIN_STMT
|
|
_128 = pConfig_92(D)->eClkSelect;
|
|
_129 = (long unsigned int) _128;
|
|
_130 = _129 << 1;
|
|
_131 = _130 & 6;
|
|
u32Mcr_132 = _127 | _131;
|
|
# DEBUG u32Mcr => u32Mcr_132
|
|
# DEBUG BEGIN_STMT
|
|
_133 = pConfig_92(D)->bAutoClockOff;
|
|
if (_133 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 4> [local count: 203390702]:
|
|
|
|
<bb 5> [local count: 406781404]:
|
|
# iftmp.4_134 = PHI <32(3), 0(4)>
|
|
u32Mcr_135 = u32Mcr_132 | iftmp.4_134;
|
|
# DEBUG u32Mcr => u32Mcr_135
|
|
# DEBUG BEGIN_STMT
|
|
_136 = pConfig_92(D)->bOverwriteEnable;
|
|
if (_136 != 0)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 6> [local count: 203390702]:
|
|
|
|
<bb 7> [local count: 406781404]:
|
|
# iftmp.5_137 = PHI <2147483648(5), 0(6)>
|
|
u32Mcr_138 = u32Mcr_135 | iftmp.5_137;
|
|
# DEBUG u32Mcr => u32Mcr_138
|
|
# DEBUG BEGIN_STMT
|
|
_139 = pConfig_92(D)->eDataAlign;
|
|
_140 = (long unsigned int) _139;
|
|
_141 = _140 << 30;
|
|
_142 = _141 & 1073741824;
|
|
u32Mcr_143 = u32Mcr_138 | _142;
|
|
# DEBUG u32Mcr => u32Mcr_143
|
|
# DEBUG BEGIN_STMT
|
|
_144 = u32AdcFeatureBitmap[u32Instance_86(D)];
|
|
_145 = _144 & 4;
|
|
if (_145 != 0)
|
|
goto <bb 8>; [50.00%]
|
|
else
|
|
goto <bb 11>; [50.00%]
|
|
|
|
<bb 8> [local count: 203390702]:
|
|
# DEBUG BEGIN_STMT
|
|
_146 = pConfig_92(D)->eCtuMode;
|
|
switch (_146) <default: <L41> [33.33%], case 1: <L39> [33.33%], case 2: <L40> [33.33%]>
|
|
|
|
<bb 9> [local count: 67790121]:
|
|
<L39>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Mcr_147 = u32Mcr_143 | 131072;
|
|
# DEBUG u32Mcr => u32Mcr_147
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 11>; [100.00%]
|
|
|
|
<bb 10> [local count: 67790121]:
|
|
<L40>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Mcr => u32Mcr_143 | 65536
|
|
# DEBUG BEGIN_STMT
|
|
u32Mcr_148 = u32Mcr_143 | 196608;
|
|
# DEBUG u32Mcr => u32Mcr_148
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 11> [local count: 406761065]:
|
|
# u32Mcr_150 = PHI <u32Mcr_143(7), u32Mcr_143(8), u32Mcr_147(9), u32Mcr_148(10)>
|
|
<L41>:
|
|
# DEBUG u32Mcr => u32Mcr_150
|
|
# DEBUG BEGIN_STMT
|
|
_149 = pConfig_92(D)->eInjectedEdge;
|
|
switch (_149) <default: <L44> [33.33%], case 1: <L42> [33.33%], case 2: <L43> [33.33%]>
|
|
|
|
<bb 12> [local count: 135573463]:
|
|
<L42>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Mcr_151 = u32Mcr_150 | 4194304;
|
|
# DEBUG u32Mcr => u32Mcr_151
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 14>; [100.00%]
|
|
|
|
<bb 13> [local count: 135573463]:
|
|
<L43>:
|
|
# DEBUG BEGIN_STMT
|
|
u32Mcr_152 = u32Mcr_150 | 6291456;
|
|
# DEBUG u32Mcr => u32Mcr_152
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 14> [local count: 406720389]:
|
|
# u32Mcr_154 = PHI <u32Mcr_150(11), u32Mcr_151(12), u32Mcr_152(13)>
|
|
<L44>:
|
|
# DEBUG u32Mcr => u32Mcr_154
|
|
# DEBUG BEGIN_STMT
|
|
_153 = pConfig_92(D)->eExtTrigger;
|
|
if (_153 == 2)
|
|
goto <bb 16>; [34.00%]
|
|
else
|
|
goto <bb 15>; [66.00%]
|
|
|
|
<bb 15> [local count: 268435457]:
|
|
|
|
<bb 16> [local count: 406720389]:
|
|
# iftmp.6_155 = PHI <67108864(14), 0(15)>
|
|
u32Mcr_156 = u32Mcr_154 | iftmp.6_155;
|
|
# DEBUG u32Mcr => u32Mcr_156
|
|
# DEBUG BEGIN_STMT
|
|
if (_153 != 0)
|
|
goto <bb 17>; [50.00%]
|
|
else
|
|
goto <bb 22>; [50.00%]
|
|
|
|
<bb 17> [local count: 203360194]:
|
|
# DEBUG BEGIN_STMT
|
|
_157 = pConfig_92(D)->bNormalExtTrgEn;
|
|
if (_157 != 0)
|
|
goto <bb 19>; [50.00%]
|
|
else
|
|
goto <bb 18>; [50.00%]
|
|
|
|
<bb 18> [local count: 101680097]:
|
|
|
|
<bb 19> [local count: 203360194]:
|
|
# iftmp.7_158 = PHI <134217728(17), 0(18)>
|
|
u32Mcr_159 = u32Mcr_156 | iftmp.7_158;
|
|
# DEBUG u32Mcr => u32Mcr_159
|
|
# DEBUG BEGIN_STMT
|
|
_160 = pConfig_92(D)->bNormalAuxExtTrgEn;
|
|
if (_160 != 0)
|
|
goto <bb 21>; [50.00%]
|
|
else
|
|
goto <bb 20>; [50.00%]
|
|
|
|
<bb 20> [local count: 101680097]:
|
|
|
|
<bb 21> [local count: 203360194]:
|
|
# iftmp.8_161 = PHI <33554432(19), 0(20)>
|
|
u32Mcr_162 = u32Mcr_159 | iftmp.8_161;
|
|
# DEBUG u32Mcr => u32Mcr_162
|
|
|
|
<bb 22> [local count: 406720388]:
|
|
# u32Mcr_164 = PHI <u32Mcr_156(16), u32Mcr_162(21)>
|
|
# DEBUG u32Mcr => u32Mcr_164
|
|
# DEBUG BEGIN_STMT
|
|
_163 = pConfig_92(D)->bAvgEn;
|
|
if (_163 != 0)
|
|
goto <bb 24>; [50.00%]
|
|
else
|
|
goto <bb 23>; [50.00%]
|
|
|
|
<bb 23> [local count: 203360194]:
|
|
|
|
<bb 24> [local count: 406720388]:
|
|
# iftmp.9_165 = PHI <2048(22), 0(23)>
|
|
u32Mcr_166 = u32Mcr_164 | iftmp.9_165;
|
|
# DEBUG u32Mcr => u32Mcr_166
|
|
# DEBUG BEGIN_STMT
|
|
_167 = pConfig_92(D)->eAvgSel;
|
|
_168 = (long unsigned int) _167;
|
|
_169 = _168 << 9;
|
|
_170 = _169 & 1536;
|
|
u32Mcr_171 = u32Mcr_166 | _170;
|
|
# DEBUG u32Mcr => u32Mcr_171
|
|
# DEBUG BEGIN_STMT
|
|
_288 = u32Mcr_171;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG pConfig => NULL
|
|
# DEBUG u32Mcr => NULL
|
|
_3 = _288;
|
|
pBase_87->MCR ={v} _3;
|
|
# DEBUG BEGIN_STMT
|
|
_4 = pConfig_92(D)->eDataAlign;
|
|
aAdcSarState[u32Instance_86(D)].eDataAlign = _4;
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_96 = Adc_Sar_Ip_Powerup (u32Instance_86(D));
|
|
# DEBUG eStatus => eStatus_96
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_96 != 0)
|
|
goto <bb 75>; [34.00%]
|
|
else
|
|
goto <bb 25>; [66.00%]
|
|
|
|
<bb 25> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 = u32AdcChanBitmap[u32Instance_86(D)][0];
|
|
if (_5 != 0)
|
|
goto <bb 26>; [50.00%]
|
|
else
|
|
goto <bb 27>; [50.00%]
|
|
|
|
<bb 26> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 = pConfig_92(D)->aSampleTime[0];
|
|
_7 = (long unsigned int) _6;
|
|
MEM[(volatile uint32 *)pBase_87 + 148B] ={v} _7;
|
|
|
|
<bb 27> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = u32AdcChanBitmap[u32Instance_86(D)][1];
|
|
if (_8 != 0)
|
|
goto <bb 28>; [50.00%]
|
|
else
|
|
goto <bb 29>; [50.00%]
|
|
|
|
<bb 28> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
_9 = pConfig_92(D)->aSampleTime[1];
|
|
_10 = (long unsigned int) _9;
|
|
MEM[(volatile uint32 *)pBase_87 + 152B] ={v} _10;
|
|
|
|
<bb 29> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_11 = u32AdcChanBitmap[u32Instance_86(D)][2];
|
|
if (_11 != 0)
|
|
goto <bb 30>; [50.00%]
|
|
else
|
|
goto <bb 31>; [50.00%]
|
|
|
|
<bb 30> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
_12 = pConfig_92(D)->aSampleTime[2];
|
|
_13 = (long unsigned int) _12;
|
|
MEM[(volatile uint32 *)pBase_87 + 156B] ={v} _13;
|
|
|
|
<bb 31> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = pConfig_92(D)->u8PowerDownDelay;
|
|
_15 = (long unsigned int) _14;
|
|
pBase_87->PDEDR ={v} _15;
|
|
# DEBUG BEGIN_STMT
|
|
_16 = u32AdcFeatureBitmap[u32Instance_86(D)];
|
|
_17 = _16 & 1;
|
|
if (_17 != 0)
|
|
goto <bb 32>; [50.00%]
|
|
else
|
|
goto <bb 33>; [50.00%]
|
|
|
|
<bb 32> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
_18 = pConfig_92(D)->u16DecodeDelay;
|
|
_19 = (long unsigned int) _18;
|
|
pBase_87->DSDR ={v} _19;
|
|
|
|
<bb 33> [local count: 268435456]:
|
|
# u8Index_76 = PHI <0(32), 0(31)>
|
|
goto <bb 38>; [100.00%]
|
|
|
|
<bb 34> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = (int) u8Index_68;
|
|
_21 = u32AdcChanBitmap[u32Instance_86(D)][_20];
|
|
if (_21 == 0)
|
|
goto <bb 35>; [33.00%]
|
|
else
|
|
goto <bb 36>; [67.00%]
|
|
|
|
<bb 35> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 37>; [100.00%]
|
|
|
|
<bb 36> [local count: 539555267]:
|
|
# DEBUG BEGIN_STMT
|
|
_22 = &pBase_87->NCMR0;
|
|
_23 = (unsigned int) u8Index_68;
|
|
_24 = _23 * 4;
|
|
_25 = _22 + _24;
|
|
_26 = pConfig_92(D)->pChanMaskNormal[_20];
|
|
MEM[(volatile uint32 *)_25] ={v} _26;
|
|
|
|
<bb 37> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_123 = u8Index_68 + 1;
|
|
# DEBUG u8Index => u8Index_123
|
|
|
|
<bb 38> [local count: 1073741824]:
|
|
# u8Index_68 = PHI <u8Index_76(33), u8Index_123(37)>
|
|
# DEBUG u8Index => u8Index_68
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_68 != 3)
|
|
goto <bb 34>; [75.00%]
|
|
else
|
|
goto <bb 43>; [25.00%]
|
|
|
|
<bb 39> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_27 = (int) u8Index_69;
|
|
_28 = u32AdcChanBitmap[u32Instance_86(D)][_27];
|
|
if (_28 == 0)
|
|
goto <bb 40>; [33.00%]
|
|
else
|
|
goto <bb 41>; [67.00%]
|
|
|
|
<bb 40> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 42>; [100.00%]
|
|
|
|
<bb 41> [local count: 539555267]:
|
|
# DEBUG BEGIN_STMT
|
|
_29 = &pBase_87->JCMR0;
|
|
_30 = (unsigned int) u8Index_69;
|
|
_31 = _30 * 4;
|
|
_32 = _29 + _31;
|
|
_33 = pConfig_92(D)->pChanMaskInjected[_27];
|
|
MEM[(volatile uint32 *)_32] ={v} _33;
|
|
|
|
<bb 42> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_121 = u8Index_69 + 1;
|
|
# DEBUG u8Index => u8Index_121
|
|
|
|
<bb 43> [local count: 1073741824]:
|
|
# u8Index_69 = PHI <u8Index_121(42), 0(38)>
|
|
# DEBUG u8Index => u8Index_69
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_69 != 3)
|
|
goto <bb 39>; [75.00%]
|
|
else
|
|
goto <bb 44>; [25.00%]
|
|
|
|
<bb 44> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_34 = pConfig_92(D)->eAdcResolution;
|
|
Adc_Sar_Ip_SetResolution (u32Instance_86(D), _34);
|
|
# DEBUG BEGIN_STMT
|
|
_35 = pConfig_92(D)->pWdgThresholds;
|
|
if (_35 != 0B)
|
|
goto <bb 45>; [70.00%]
|
|
else
|
|
goto <bb 48>; [30.00%]
|
|
|
|
<bb 45> [local count: 187904819]:
|
|
_36 = pConfig_92(D)->u8NumWdgThresholds;
|
|
if (_36 != 0)
|
|
goto <bb 47>; [50.00%]
|
|
else
|
|
goto <bb 48>; [50.00%]
|
|
|
|
<bb 46> [local count: 760160411]:
|
|
# DEBUG BEGIN_STMT
|
|
_37 = pConfig_92(D)->pWdgThresholds;
|
|
_38 = (unsigned int) u8Index_70;
|
|
_39 = _38 * 8;
|
|
_40 = _37 + _39;
|
|
_41 = _40->u8WdgIndex;
|
|
Adc_Sar_Ip_SetWdgThreshold (u32Instance_86(D), _41, _40);
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_104 = u8Index_70 + 1;
|
|
# DEBUG u8Index => u8Index_104
|
|
|
|
<bb 47> [local count: 854112821]:
|
|
# u8Index_70 = PHI <u8Index_104(46), 0(45)>
|
|
# DEBUG u8Index => u8Index_70
|
|
# DEBUG BEGIN_STMT
|
|
_43 = pConfig_92(D)->u8NumWdgThresholds;
|
|
if (_43 > u8Index_70)
|
|
goto <bb 46>; [89.00%]
|
|
else
|
|
goto <bb 48>; [11.00%]
|
|
|
|
<bb 48> [local count: 268435457]:
|
|
# DEBUG BEGIN_STMT
|
|
_44 = pConfig_92(D)->pChannelConfigs;
|
|
if (_44 != 0B)
|
|
goto <bb 49>; [70.00%]
|
|
else
|
|
goto <bb 72>; [30.00%]
|
|
|
|
<bb 49> [local count: 187904820]:
|
|
_45 = pConfig_92(D)->u8NumChannels;
|
|
if (_45 != 0)
|
|
goto <bb 50>; [33.00%]
|
|
else
|
|
goto <bb 72>; [67.00%]
|
|
|
|
<bb 50> [local count: 62008590]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_86(D)
|
|
# DEBUG pChannelConfigs => _44
|
|
# DEBUG u8NumChannels => _45
|
|
# DEBUG INLINE_ENTRY Adc_Sar_EnableChannelWatchdog
|
|
# DEBUG BEGIN_STMT
|
|
pBase_172 = pAdcBase[u32Instance_86(D)];
|
|
# DEBUG pBase => pBase_172
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
goto <bb 71>; [100.00%]
|
|
|
|
<bb 51> [local count: 501571950]:
|
|
# DEBUG BEGIN_STMT
|
|
_174 = (unsigned int) u8Index_173;
|
|
_175 = _174 * 5;
|
|
pChnConfig_176 = _44 + _175;
|
|
# DEBUG pChnConfig => pChnConfig_176
|
|
# DEBUG BEGIN_STMT
|
|
_177 = pChnConfig_176->u8ChannelIndex;
|
|
_178 = _177 >> 3;
|
|
u32RegNum_179 = (uint32) _178;
|
|
# DEBUG u32RegNum => u32RegNum_179
|
|
# DEBUG BEGIN_STMT
|
|
_180 = _177 & 7;
|
|
u32Pos_181 = (uint32) _180;
|
|
# DEBUG u32Pos => u32Pos_181
|
|
# DEBUG BEGIN_STMT
|
|
_182 = u32RegNum_179 >> 2;
|
|
_183 = u32AdcChanBitmap[u32Instance_86(D)][_182];
|
|
_184 = _178 & 3;
|
|
_185 = (long unsigned int) _184;
|
|
_186 = _185 * 8;
|
|
_187 = 255 << _186;
|
|
_188 = _183 & _187;
|
|
if (_188 != 0)
|
|
goto <bb 52>; [33.00%]
|
|
else
|
|
goto <bb 62>; [67.00%]
|
|
|
|
<bb 52> [local count: 165518744]:
|
|
# DEBUG BEGIN_STMT
|
|
_189 = pChnConfig_176->u8WdgThreshRegIndex;
|
|
_190 = (long unsigned int) _189;
|
|
# DEBUG pBase => pBase_172
|
|
# DEBUG u32RegisterNumber => u32RegNum_179
|
|
# DEBUG u32FieldPosition => u32Pos_181
|
|
# DEBUG u32Value => _190
|
|
# DEBUG INLINE_ENTRY Adc_Sar_WriteChannelMapping
|
|
# DEBUG BEGIN_STMT
|
|
switch (u32Pos_181) <default: <L53> [11.11%], case 0: <L45> [11.11%], case 1: <L46> [11.11%], case 2: <L47> [11.11%], case 3: <L48> [11.11%], case 4: <L49> [11.11%], case 5: <L50> [11.11%], case 6: <L51> [11.11%], case 7: <L52> [11.11%]>
|
|
|
|
<bb 53> [local count: 18389132]:
|
|
<L45>:
|
|
# DEBUG BEGIN_STMT
|
|
_213 = &pBase_172->CWSELRPI[0];
|
|
_214 = u32RegNum_179 * 4;
|
|
_215 = _213 + _214;
|
|
_216 ={v} MEM[(volatile uint32 *)_215];
|
|
_217 = _216 & 4294967292;
|
|
MEM[(volatile uint32 *)_215] ={v} _217;
|
|
# DEBUG BEGIN_STMT
|
|
_218 ={v} MEM[(volatile uint32 *)_215];
|
|
_219 = _190 & 3;
|
|
_220 = _218 | _219;
|
|
MEM[(volatile uint32 *)_215] ={v} _220;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 54> [local count: 18389132]:
|
|
<L46>:
|
|
# DEBUG BEGIN_STMT
|
|
_221 = &pBase_172->CWSELRPI[0];
|
|
_222 = u32RegNum_179 * 4;
|
|
_223 = _221 + _222;
|
|
_224 ={v} MEM[(volatile uint32 *)_223];
|
|
_225 = _224 & 4294967247;
|
|
MEM[(volatile uint32 *)_223] ={v} _225;
|
|
# DEBUG BEGIN_STMT
|
|
_226 ={v} MEM[(volatile uint32 *)_223];
|
|
_227 = _190 << 4;
|
|
_228 = _227 & 48;
|
|
_229 = _226 | _228;
|
|
MEM[(volatile uint32 *)_223] ={v} _229;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 55> [local count: 18389132]:
|
|
<L47>:
|
|
# DEBUG BEGIN_STMT
|
|
_230 = &pBase_172->CWSELRPI[0];
|
|
_231 = u32RegNum_179 * 4;
|
|
_232 = _230 + _231;
|
|
_233 ={v} MEM[(volatile uint32 *)_232];
|
|
_234 = _233 & 4294966527;
|
|
MEM[(volatile uint32 *)_232] ={v} _234;
|
|
# DEBUG BEGIN_STMT
|
|
_235 ={v} MEM[(volatile uint32 *)_232];
|
|
_236 = _190 << 8;
|
|
_237 = _236 & 768;
|
|
_238 = _235 | _237;
|
|
MEM[(volatile uint32 *)_232] ={v} _238;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 56> [local count: 18389132]:
|
|
<L48>:
|
|
# DEBUG BEGIN_STMT
|
|
_239 = &pBase_172->CWSELRPI[0];
|
|
_240 = u32RegNum_179 * 4;
|
|
_241 = _239 + _240;
|
|
_242 ={v} MEM[(volatile uint32 *)_241];
|
|
_243 = _242 & 4294955007;
|
|
MEM[(volatile uint32 *)_241] ={v} _243;
|
|
# DEBUG BEGIN_STMT
|
|
_244 ={v} MEM[(volatile uint32 *)_241];
|
|
_245 = _190 << 12;
|
|
_246 = _245 & 12288;
|
|
_247 = _244 | _246;
|
|
MEM[(volatile uint32 *)_241] ={v} _247;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 57> [local count: 18389132]:
|
|
<L49>:
|
|
# DEBUG BEGIN_STMT
|
|
_248 = &pBase_172->CWSELRPI[0];
|
|
_249 = u32RegNum_179 * 4;
|
|
_250 = _248 + _249;
|
|
_251 ={v} MEM[(volatile uint32 *)_250];
|
|
_252 = _251 & 4294770687;
|
|
MEM[(volatile uint32 *)_250] ={v} _252;
|
|
# DEBUG BEGIN_STMT
|
|
_253 ={v} MEM[(volatile uint32 *)_250];
|
|
_254 = _190 << 16;
|
|
_255 = _254 & 196608;
|
|
_256 = _253 | _255;
|
|
MEM[(volatile uint32 *)_250] ={v} _256;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 58> [local count: 18389132]:
|
|
<L50>:
|
|
# DEBUG BEGIN_STMT
|
|
_257 = &pBase_172->CWSELRPI[0];
|
|
_258 = u32RegNum_179 * 4;
|
|
_259 = _257 + _258;
|
|
_260 ={v} MEM[(volatile uint32 *)_259];
|
|
_261 = _260 & 4291821567;
|
|
MEM[(volatile uint32 *)_259] ={v} _261;
|
|
# DEBUG BEGIN_STMT
|
|
_262 ={v} MEM[(volatile uint32 *)_259];
|
|
_263 = _190 << 20;
|
|
_264 = _263 & 3145728;
|
|
_265 = _262 | _264;
|
|
MEM[(volatile uint32 *)_259] ={v} _265;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 59> [local count: 18389132]:
|
|
<L51>:
|
|
# DEBUG BEGIN_STMT
|
|
_266 = &pBase_172->CWSELRPI[0];
|
|
_267 = u32RegNum_179 * 4;
|
|
_268 = _266 + _267;
|
|
_269 ={v} MEM[(volatile uint32 *)_268];
|
|
_270 = _269 & 4244635647;
|
|
MEM[(volatile uint32 *)_268] ={v} _270;
|
|
# DEBUG BEGIN_STMT
|
|
_271 ={v} MEM[(volatile uint32 *)_268];
|
|
_272 = _190 << 24;
|
|
_273 = _272 & 50331648;
|
|
_274 = _271 | _273;
|
|
MEM[(volatile uint32 *)_268] ={v} _274;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 61>; [100.00%]
|
|
|
|
<bb 60> [local count: 18389132]:
|
|
<L52>:
|
|
# DEBUG BEGIN_STMT
|
|
_275 = &pBase_172->CWSELRPI[0];
|
|
_276 = u32RegNum_179 * 4;
|
|
_277 = _275 + _276;
|
|
_278 ={v} MEM[(volatile uint32 *)_277];
|
|
_279 = _278 & 3489660927;
|
|
MEM[(volatile uint32 *)_277] ={v} _279;
|
|
# DEBUG BEGIN_STMT
|
|
_280 ={v} MEM[(volatile uint32 *)_277];
|
|
_281 = _190 << 28;
|
|
_282 = _281 & 805306368;
|
|
_283 = _280 | _282;
|
|
MEM[(volatile uint32 *)_277] ={v} _283;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 61> [local count: 165502192]:
|
|
<L53>:
|
|
|
|
<bb 62> [local count: 501555398]:
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u32RegisterNumber => NULL
|
|
# DEBUG u32FieldPosition => NULL
|
|
# DEBUG u32Value => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Mask => 0
|
|
# DEBUG BEGIN_STMT
|
|
_191 = pChnConfig_176->bEndOfConvNotification;
|
|
if (_191 != 0)
|
|
goto <bb 63>; [50.00%]
|
|
else
|
|
goto <bb 64>; [50.00%]
|
|
|
|
<bb 63> [local count: 250777699]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Mask => 1
|
|
|
|
<bb 64> [local count: 501555398]:
|
|
# u32Mask_193 = PHI <0(62), 1(63)>
|
|
# DEBUG u32Mask => u32Mask_193
|
|
# DEBUG BEGIN_STMT
|
|
_192 = pChnConfig_176->bWdgNotification;
|
|
if (_192 != 0)
|
|
goto <bb 65>; [50.00%]
|
|
else
|
|
goto <bb 66>; [50.00%]
|
|
|
|
<bb 65> [local count: 250777699]:
|
|
# DEBUG BEGIN_STMT
|
|
u32Mask_194 = u32Mask_193 | 2;
|
|
# DEBUG u32Mask => u32Mask_194
|
|
|
|
<bb 66> [local count: 501555398]:
|
|
# u32Mask_197 = PHI <u32Mask_193(64), u32Mask_194(65)>
|
|
# DEBUG u32Mask => u32Mask_197
|
|
# DEBUG BEGIN_STMT
|
|
_195 = pChnConfig_176->u8ChannelIndex;
|
|
_196 = (long unsigned int) _195;
|
|
Adc_Sar_Ip_EnableChannelNotifications (u32Instance_86(D), _196, u32Mask_197);
|
|
# DEBUG BEGIN_STMT
|
|
_198 = pChnConfig_176->u8ChannelIndex;
|
|
_199 = _198 >> 5;
|
|
u32RegNum_200 = (uint32) _199;
|
|
# DEBUG u32RegNum => u32RegNum_200
|
|
# DEBUG BEGIN_STMT
|
|
_201 = _198 & 31;
|
|
u32Pos_202 = (uint32) _201;
|
|
# DEBUG u32Pos => u32Pos_202
|
|
# DEBUG BEGIN_STMT
|
|
_203 = u32AdcChanBitmap[u32Instance_86(D)][u32RegNum_200];
|
|
if (_203 != 0)
|
|
goto <bb 67>; [50.00%]
|
|
else
|
|
goto <bb 70>; [50.00%]
|
|
|
|
<bb 67> [local count: 250777699]:
|
|
# DEBUG BEGIN_STMT
|
|
_204 = &pBase_172->PSR0;
|
|
_205 = u32RegNum_200 * 4;
|
|
_206 = _204 + _205;
|
|
_207 ={v} MEM[(volatile uint32 *)_206];
|
|
_208 = pChnConfig_176->bPresamplingEnable;
|
|
if (_208 != 0)
|
|
goto <bb 68>; [50.00%]
|
|
else
|
|
goto <bb 69>; [50.00%]
|
|
|
|
<bb 68> [local count: 125388850]:
|
|
iftmp.10_209 = 1 << u32Pos_202;
|
|
|
|
<bb 69> [local count: 250777699]:
|
|
# iftmp.10_210 = PHI <0(67), iftmp.10_209(68)>
|
|
_211 = _207 | iftmp.10_210;
|
|
MEM[(volatile uint32 *)_206] ={v} _211;
|
|
|
|
<bb 70> [local count: 501555398]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_212 = u8Index_173 + 1;
|
|
# DEBUG u8Index => u8Index_212
|
|
|
|
<bb 71> [local count: 563563990]:
|
|
# u8Index_173 = PHI <0(50), u8Index_212(70)>
|
|
# DEBUG u8Index => u8Index_173
|
|
# DEBUG BEGIN_STMT
|
|
if (_45 > u8Index_173)
|
|
goto <bb 51>; [89.00%]
|
|
else
|
|
goto <bb 72>; [11.00%]
|
|
|
|
<bb 72> [local count: 268418905]:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG pChannelConfigs => NULL
|
|
# DEBUG u8NumChannels => NULL
|
|
# DEBUG u32Pos => NULL
|
|
# DEBUG u32RegNum => NULL
|
|
# DEBUG pChnConfig => NULL
|
|
# DEBUG u8Index => NULL
|
|
# DEBUG u32Mask => NULL
|
|
# DEBUG pBase => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_46 ={v} pBase_87->PSCR;
|
|
_47 = _46 & 4294967294;
|
|
pBase_87->PSCR ={v} _47;
|
|
# DEBUG BEGIN_STMT
|
|
_48 ={v} pBase_87->PSCR;
|
|
_49 = pConfig_92(D)->bBypassSampling;
|
|
if (_49 != 0)
|
|
goto <bb 74>; [50.00%]
|
|
else
|
|
goto <bb 73>; [50.00%]
|
|
|
|
<bb 73> [local count: 134209452]:
|
|
|
|
<bb 74> [local count: 268418905]:
|
|
# iftmp.3_72 = PHI <1(72), 0(73)>
|
|
_50 = _48 | iftmp.3_72;
|
|
pBase_87->PSCR ={v} _50;
|
|
# DEBUG BEGIN_STMT
|
|
_51 = pConfig_92(D)->aPresamplingSource[0];
|
|
Adc_Sar_Ip_SetPresamplingSource (u32Instance_86(D), 0, _51);
|
|
# DEBUG BEGIN_STMT
|
|
_52 = pConfig_92(D)->aPresamplingSource[1];
|
|
Adc_Sar_Ip_SetPresamplingSource (u32Instance_86(D), 1, _52);
|
|
# DEBUG BEGIN_STMT
|
|
_53 = pConfig_92(D)->aPresamplingSource[2];
|
|
Adc_Sar_Ip_SetPresamplingSource (u32Instance_86(D), 2, _53);
|
|
# DEBUG BEGIN_STMT
|
|
_54 = pConfig_92(D)->pfEndOfNormalChainNotification;
|
|
aAdcSarState[u32Instance_86(D)].pfEndOfNormalChainNotification = _54;
|
|
# DEBUG BEGIN_STMT
|
|
_55 = pConfig_92(D)->pfEndOfInjectedChainNotification;
|
|
aAdcSarState[u32Instance_86(D)].pfEndOfInjectedChainNotification = _55;
|
|
# DEBUG BEGIN_STMT
|
|
_56 = pConfig_92(D)->pfEndOfCtuConversionNotification;
|
|
aAdcSarState[u32Instance_86(D)].pfEndOfCtuConversionNotification = _56;
|
|
# DEBUG BEGIN_STMT
|
|
_57 = pConfig_92(D)->pfEndOfConvNotification;
|
|
aAdcSarState[u32Instance_86(D)].pfEndOfConvNotification = _57;
|
|
# DEBUG BEGIN_STMT
|
|
_58 = pConfig_92(D)->pfWdgOutOfRangeNotification;
|
|
aAdcSarState[u32Instance_86(D)].pfWdgOutOfRangeNotification = _58;
|
|
# DEBUG BEGIN_STMT
|
|
_59 = pConfig_92(D)->eCalibrationClkSelect;
|
|
aAdcSarState[u32Instance_86(D)].eCalibrationClkSelect = _59;
|
|
# DEBUG BEGIN_STMT
|
|
_60 = pConfig_92(D)->eDmaClearSource;
|
|
Adc_Sar_Ip_SetDmaClearSource (u32Instance_86(D), _60);
|
|
# DEBUG BEGIN_STMT
|
|
_61 = pConfig_92(D)->u8UsrOffset;
|
|
_62 = (long unsigned int) _61;
|
|
_63 = pConfig_92(D)->u16UsrGain;
|
|
_64 = (long unsigned int) _63;
|
|
_65 = _64 << 16;
|
|
_66 = _65 & 67043328;
|
|
_67 = _62 | _66;
|
|
pBase_87->OFSGNUSR ={v} _67;
|
|
# DEBUG BEGIN_STMT
|
|
aAdcSarState[u32Instance_86(D)].bInit = 1;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 75> [local count: 832126615]:
|
|
# _71 = PHI <eStatus_91(2), eStatus_96(24), 0(74)>
|
|
return _71;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_Deinit (Adc_Sar_Ip_Deinit, funcdef_no=21, decl_uid=4495, cgraph_uid=22, symbol_order=25)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5796 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 40
|
|
Number of blocks to update: 39 ( 98%)
|
|
|
|
|
|
Removing basic block 14
|
|
Removing basic block 16
|
|
Removing basic block 24
|
|
Removing basic block 30
|
|
Removing basic block 33
|
|
Removing basic block 39
|
|
;; 7 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
|
;;
|
|
;; Loop 3
|
|
;; header 31, latch 30
|
|
;; depth 1, outer 0
|
|
;; nodes: 31 30 28 29 27
|
|
;;
|
|
;; Loop 4
|
|
;; header 26, latch 25
|
|
;; depth 1, outer 0
|
|
;; nodes: 26 25
|
|
;;
|
|
;; Loop 5
|
|
;; header 24, latch 23
|
|
;; depth 1, outer 0
|
|
;; nodes: 24 23 21 22 20
|
|
;;
|
|
;; Loop 6
|
|
;; header 19, latch 18
|
|
;; depth 1, outer 0
|
|
;; nodes: 19 18 16 17 15
|
|
;;
|
|
;; Loop 2
|
|
;; header 13, latch 12
|
|
;; depth 1, outer 0
|
|
;; nodes: 13 12 10 11 8 9 6 7
|
|
;;
|
|
;; Loop 1
|
|
;; header 4, latch 3
|
|
;; depth 1, outer 0
|
|
;; nodes: 4 3
|
|
;; 2 succs { 4 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 3 5 }
|
|
;; 5 succs { 33 13 }
|
|
;; 6 succs { 7 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 9 10 }
|
|
;; 9 succs { 10 }
|
|
;; 10 succs { 11 12 }
|
|
;; 11 succs { 12 }
|
|
;; 12 succs { 13 }
|
|
;; 13 succs { 6 14 }
|
|
;; 14 succs { 19 }
|
|
;; 15 succs { 16 17 }
|
|
;; 16 succs { 18 }
|
|
;; 17 succs { 18 }
|
|
;; 18 succs { 19 }
|
|
;; 19 succs { 15 24 }
|
|
;; 20 succs { 21 22 }
|
|
;; 21 succs { 23 }
|
|
;; 22 succs { 23 }
|
|
;; 23 succs { 24 }
|
|
;; 24 succs { 20 26 }
|
|
;; 25 succs { 26 }
|
|
;; 26 succs { 25 31 }
|
|
;; 27 succs { 28 29 }
|
|
;; 28 succs { 30 }
|
|
;; 29 succs { 30 }
|
|
;; 30 succs { 31 }
|
|
;; 31 succs { 27 32 }
|
|
;; 32 succs { 33 }
|
|
;; 33 succs { 1 }
|
|
Adc_Sar_Ip_Deinit (const uint32 u32Instance)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
uint8 u8Index;
|
|
struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
struct Adc_Sar_Ip_ConfigType pDefaultConfig;
|
|
uint8 u8Index;
|
|
int _1;
|
|
int _2;
|
|
long unsigned int _3;
|
|
volatile uint32_t * _4;
|
|
unsigned int _5;
|
|
unsigned int _6;
|
|
volatile uint32_t * _7;
|
|
volatile uint32_t * _8;
|
|
unsigned int _9;
|
|
unsigned int _10;
|
|
volatile uint32_t * _11;
|
|
volatile uint32_t * _12;
|
|
unsigned int _13;
|
|
unsigned int _14;
|
|
volatile uint32_t * _15;
|
|
Adc_Sar_Ip_StatusType _18;
|
|
int _75;
|
|
long unsigned int _76;
|
|
volatile uint32_t * _77;
|
|
unsigned int _78;
|
|
unsigned int _79;
|
|
volatile uint32_t * _80;
|
|
int _83;
|
|
long unsigned int _84;
|
|
volatile uint32_t * _85;
|
|
unsigned int _86;
|
|
unsigned int _87;
|
|
volatile uint32_t * _88;
|
|
int _91;
|
|
long unsigned int _93;
|
|
unsigned int _95;
|
|
unsigned char _96;
|
|
unsigned int _97;
|
|
unsigned int _98;
|
|
long unsigned int _99;
|
|
long unsigned int _100;
|
|
volatile uint32_t * _101;
|
|
unsigned int _102;
|
|
volatile uint32_t * _103;
|
|
|
|
<bb 2> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27 = pAdcBase[u32Instance_26(D)];
|
|
# DEBUG pBase => pBase_27
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eConvMode = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eClkSelect = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eCalibrationClkSelect = 1;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eCtuMode = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eInjectedEdge = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eExtTrigger = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bNormalExtTrgEn = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bNormalAuxExtTrgEn = 0;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 3> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) u8Index_16;
|
|
pDefaultConfig.aSampleTime[_1] = 22;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.aPresamplingSource[_1] = 0;
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_72 = u8Index_16 + 1;
|
|
# DEBUG u8Index => u8Index_72
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# u8Index_16 = PHI <0(2), u8Index_72(3)>
|
|
# DEBUG u8Index => u8Index_16
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_16 != 3)
|
|
goto <bb 3>; [75.00%]
|
|
else
|
|
goto <bb 5>; [25.00%]
|
|
|
|
<bb 5> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bBypassSampling = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bAutoClockOff = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bOverwriteEnable = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eDataAlign = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u16DecodeDelay = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u8PowerDownDelay = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.bAvgEn = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eAvgSel = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u8UsrOffset = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u16UsrGain = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.eDmaClearSource = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u8NumChannels = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pChannelConfigs = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.u8NumWdgThresholds = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pWdgThresholds = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pfEndOfNormalChainNotification = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pfEndOfInjectedChainNotification = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pfEndOfCtuConversionNotification = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pfEndOfConvNotification = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
pDefaultConfig.pfWdgOutOfRangeNotification = 0B;
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_57 = Adc_Sar_Ip_Init (u32Instance_26(D), &pDefaultConfig);
|
|
# DEBUG eStatus => eStatus_57
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_57 != 0)
|
|
goto <bb 33>; [34.00%]
|
|
else
|
|
goto <bb 13>; [66.00%]
|
|
|
|
<bb 6> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (int) u8Index_17;
|
|
_3 = u32AdcChanBitmap[u32Instance_26(D)][_2];
|
|
if (_3 != 0)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [local count: 265751101]:
|
|
# DEBUG BEGIN_STMT
|
|
_4 = &pBase_27->CIMR0;
|
|
_5 = (unsigned int) u8Index_17;
|
|
_6 = _5 * 4;
|
|
_7 = _4 + _6;
|
|
MEM[(volatile uint32 *)_7] ={v} 0;
|
|
|
|
<bb 8> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
if (_3 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [local count: 265751101]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = &pBase_27->CEOCFR0;
|
|
_9 = (unsigned int) u8Index_17;
|
|
_10 = _9 * 4;
|
|
_11 = _8 + _10;
|
|
MEM[(volatile uint32 *)_11] ={v} 4294967295;
|
|
|
|
<bb 10> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
if (_3 != 0)
|
|
goto <bb 11>; [50.00%]
|
|
else
|
|
goto <bb 12>; [50.00%]
|
|
|
|
<bb 11> [local count: 265751101]:
|
|
# DEBUG BEGIN_STMT
|
|
_12 = &pBase_27->PSR0;
|
|
_13 = (unsigned int) u8Index_17;
|
|
_14 = _13 * 4;
|
|
_15 = _12 + _14;
|
|
MEM[(volatile uint32 *)_15] ={v} 0;
|
|
|
|
<bb 12> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_68 = u8Index_17 + 1;
|
|
# DEBUG u8Index => u8Index_68
|
|
|
|
<bb 13> [local count: 708669605]:
|
|
# u8Index_17 = PHI <u8Index_68(12), 0(5)>
|
|
# DEBUG u8Index => u8Index_17
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_17 != 3)
|
|
goto <bb 6>; [75.00%]
|
|
else
|
|
goto <bb 14>; [25.00%]
|
|
|
|
<bb 14> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_26(D)
|
|
# DEBUG INLINE_ENTRY Adc_Sar_ResetWdog
|
|
# DEBUG BEGIN_STMT
|
|
pBase_73 = pAdcBase[u32Instance_26(D)];
|
|
# DEBUG pBase => pBase_73
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32ThrhlrCount => 4
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8Index => 0
|
|
goto <bb 19>; [100.00%]
|
|
|
|
<bb 15> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
_75 = (int) u8Index_74;
|
|
_76 = u32AdcChanBitmap[u32Instance_26(D)][_75];
|
|
if (_76 == 0)
|
|
goto <bb 16>; [33.00%]
|
|
else
|
|
goto <bb 17>; [67.00%]
|
|
|
|
<bb 16> [local count: 175395727]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 18>; [100.00%]
|
|
|
|
<bb 17> [local count: 356106476]:
|
|
# DEBUG BEGIN_STMT
|
|
_77 = &pBase_73->CWENR0;
|
|
_78 = (unsigned int) u8Index_74;
|
|
_79 = _78 * 4;
|
|
_80 = _77 + _79;
|
|
MEM[(volatile uint32 *)_80] ={v} 0;
|
|
|
|
<bb 18> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_81 = u8Index_74 + 1;
|
|
# DEBUG u8Index => u8Index_81
|
|
|
|
<bb 19> [local count: 708669605]:
|
|
# u8Index_74 = PHI <0(14), u8Index_81(18)>
|
|
# DEBUG u8Index => u8Index_74
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_74 != 3)
|
|
goto <bb 15>; [75.00%]
|
|
else
|
|
goto <bb 24>; [25.00%]
|
|
|
|
<bb 20> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
_83 = (int) u8Index_82;
|
|
_84 = u32AdcChanBitmap[u32Instance_26(D)][_83];
|
|
if (_84 == 0)
|
|
goto <bb 21>; [33.00%]
|
|
else
|
|
goto <bb 22>; [67.00%]
|
|
|
|
<bb 21> [local count: 175395727]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 23>; [100.00%]
|
|
|
|
<bb 22> [local count: 356106476]:
|
|
# DEBUG BEGIN_STMT
|
|
_85 = &pBase_73->AWORR0;
|
|
_86 = (unsigned int) u8Index_82;
|
|
_87 = _86 * 4;
|
|
_88 = _85 + _87;
|
|
MEM[(volatile uint32 *)_88] ={v} 4294967295;
|
|
|
|
<bb 23> [local count: 531502203]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_89 = u8Index_82 + 1;
|
|
# DEBUG u8Index => u8Index_89
|
|
|
|
<bb 24> [local count: 708669605]:
|
|
# u8Index_82 = PHI <0(19), u8Index_89(23)>
|
|
# DEBUG u8Index => u8Index_82
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_82 != 3)
|
|
goto <bb 20>; [75.00%]
|
|
else
|
|
goto <bb 26>; [25.00%]
|
|
|
|
<bb 25> [local count: 708669607]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG pBase => pBase_73
|
|
# DEBUG u8RegisterNumber => u8Index_90
|
|
# DEBUG u16HighThreshold => 65535
|
|
# DEBUG u16LowThreshold => 0
|
|
# DEBUG INLINE_ENTRY Adc_Sar_WriteThresholds
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Value => 2147418112
|
|
# DEBUG BEGIN_STMT
|
|
_91 = (int) u8Index_90;
|
|
pBase_73->THRHLR[_91] ={v} 2147418112;
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u8RegisterNumber => NULL
|
|
# DEBUG u16HighThreshold => NULL
|
|
# DEBUG u16LowThreshold => NULL
|
|
# DEBUG u32Value => NULL
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_92 = u8Index_90 + 1;
|
|
# DEBUG u8Index => u8Index_92
|
|
|
|
<bb 26> [local count: 885837009]:
|
|
# u8Index_90 = PHI <0(24), u8Index_92(25)>
|
|
# DEBUG u8Index => u8Index_90
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_90 != 4)
|
|
goto <bb 25>; [80.00%]
|
|
else
|
|
goto <bb 31>; [20.00%]
|
|
|
|
<bb 27> [local count: 531502205]:
|
|
# DEBUG BEGIN_STMT
|
|
_93 = u32AdcChanBitmap[u32Instance_26(D)][0];
|
|
_95 = (unsigned int) u8Index_94;
|
|
_96 = u8Index_94;
|
|
_97 = (unsigned int) _96;
|
|
_98 = _97 * 8;
|
|
_99 = 255 << _98;
|
|
_100 = _93 & _99;
|
|
if (_100 == 0)
|
|
goto <bb 28>; [33.00%]
|
|
else
|
|
goto <bb 29>; [67.00%]
|
|
|
|
<bb 28> [local count: 175395728]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 30>; [100.00%]
|
|
|
|
<bb 29> [local count: 356106477]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG pBase => pBase_73
|
|
# DEBUG u8CwselrId => u8Index_94
|
|
# DEBUG INLINE_ENTRY Adc_Sar_ResetWdogCWSELR
|
|
# DEBUG BEGIN_STMT
|
|
_101 = &pBase_73->CWSELRPI[0];
|
|
_102 = _95 * 4;
|
|
_103 = _101 + _102;
|
|
MEM[(volatile uint32 *)_103] ={v} 0;
|
|
|
|
<bb 30> [local count: 531502205]:
|
|
# DEBUG pBase => NULL
|
|
# DEBUG u8CwselrId => NULL
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_104 = u8Index_94 + 1;
|
|
# DEBUG u8Index => u8Index_104
|
|
|
|
<bb 31> [local count: 708669607]:
|
|
# u8Index_94 = PHI <0(26), u8Index_104(30)>
|
|
# DEBUG u8Index => u8Index_94
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_94 != 3)
|
|
goto <bb 27>; [75.00%]
|
|
else
|
|
goto <bb 32>; [25.00%]
|
|
|
|
<bb 32> [local count: 177167402]:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u8Index => NULL
|
|
# DEBUG pBase => NULL
|
|
# DEBUG BEGIN_STMT
|
|
pBase_27->WTIMR ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_Ip_ClearStatusFlags (u32Instance_26(D), 31);
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_Ip_SetResolution (u32Instance_26(D), 1);
|
|
# DEBUG BEGIN_STMT
|
|
aAdcSarState[u32Instance_26(D)].bInit = 0;
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_64 = Adc_Sar_Ip_Powerdown (u32Instance_26(D));
|
|
# DEBUG eStatus => eStatus_64
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 33> [local count: 268435457]:
|
|
# _18 = PHI <eStatus_57(5), eStatus_64(32)>
|
|
pDefaultConfig ={v} {CLOBBER};
|
|
return _18;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetConversionMode (Adc_Sar_Ip_SetConversionMode, funcdef_no=58, decl_uid=4610, cgraph_uid=59, symbol_order=62)
|
|
|
|
Adc_Sar_Ip_SetConversionMode (const uint32 u32Instance, const Adc_Sar_Ip_ConvModeType eConvMode)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_8 = pAdcBase[u32Instance_7(D)];
|
|
# DEBUG pBase => pBase_8
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19 ();
|
|
# DEBUG BEGIN_STMT
|
|
switch (eConvMode_10(D)) <default: <L4> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
|
|
|
|
<bb 3> [local count: 357878150]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_8->MCR;
|
|
_2 = _1 & 3758096383;
|
|
pBase_8->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 4> [local count: 357878150]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} pBase_8->MCR;
|
|
_4 = _3 | 536870912;
|
|
pBase_8->MCR ={v} _4;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 5> [local count: 1073634451]:
|
|
<L4>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetCtuMode (Adc_Sar_Ip_SetCtuMode, funcdef_no=59, decl_uid=4613, cgraph_uid=60, symbol_order=63)
|
|
|
|
Adc_Sar_Ip_SetCtuMode (const uint32 u32Instance, const Adc_Sar_Ip_CtuModeType eCtuMode)
|
|
{
|
|
struct ADC_Type * const pBase;
|
|
Adc_Sar_Ip_StatusType eStatus;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
Adc_Sar_Ip_StatusType _13;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG eStatus => 0
|
|
# DEBUG BEGIN_STMT
|
|
pBase_19 = pAdcBase[u32Instance_18(D)];
|
|
# DEBUG pBase => pBase_19
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} pBase_19->MCR;
|
|
_2 = _1 & 4294836223;
|
|
pBase_19->MCR ={v} _2;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20 ();
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_24 = Adc_Sar_Ip_Powerdown (u32Instance_18(D));
|
|
# DEBUG eStatus => eStatus_24
|
|
# DEBUG BEGIN_STMT
|
|
if (eStatus_24 != 0)
|
|
goto <bb 10>; [34.00%]
|
|
else
|
|
goto <bb 3>; [66.00%]
|
|
|
|
<bb 3> [local count: 708669605]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 = u32AdcFeatureBitmap[u32Instance_18(D)];
|
|
_4 = _3 & 4;
|
|
if (_4 != 0)
|
|
goto <bb 4>; [33.00%]
|
|
else
|
|
goto <bb 9>; [67.00%]
|
|
|
|
<bb 4> [local count: 233860969]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20 ();
|
|
# DEBUG BEGIN_STMT
|
|
switch (eCtuMode_26(D)) <default: <L10> [25.00%], case 0: <L5> [25.00%], case 1: <L3> [25.00%], case 2: <L4> [25.00%]>
|
|
|
|
<bb 5> [local count: 58465242]:
|
|
<L3>:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} pBase_19->MCR;
|
|
_6 = _5 & 4294901759;
|
|
pBase_19->MCR ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} pBase_19->MCR;
|
|
_8 = _7 | 131072;
|
|
pBase_19->MCR ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 8>; [100.00%]
|
|
|
|
<bb 6> [local count: 58465242]:
|
|
<L4>:
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} pBase_19->MCR;
|
|
_10 = _9 | 196608;
|
|
pBase_19->MCR ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 8>; [100.00%]
|
|
|
|
<bb 7> [local count: 58465242]:
|
|
<L5>:
|
|
# DEBUG BEGIN_STMT
|
|
_11 ={v} pBase_19->MCR;
|
|
_12 = _11 & 4294770687;
|
|
pBase_19->MCR ={v} _12;
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 8> [local count: 233860969]:
|
|
<L10>:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20 ();
|
|
|
|
<bb 9> [local count: 708669605]:
|
|
# DEBUG BEGIN_STMT
|
|
eStatus_33 = Adc_Sar_Ip_Powerup (u32Instance_18(D));
|
|
# DEBUG eStatus => eStatus_33
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
# _13 = PHI <eStatus_24(2), eStatus_33(9)>
|
|
return _13;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_SetExternalTrigger (Adc_Sar_Ip_SetExternalTrigger, funcdef_no=60, decl_uid=4617, cgraph_uid=61, symbol_order=64)
|
|
|
|
Adc_Sar_Ip_SetExternalTrigger (const uint32 u32Instance, const Adc_Sar_Ip_ExtTriggerEdgeType eTriggerEdge, const Adc_Sar_Ip_ExtTriggerSourceType eTrggerSrc)
|
|
{
|
|
<bb 2> [local count: 1073741823]:
|
|
# DEBUG BEGIN_STMT
|
|
switch (eTrggerSrc_2(D)) <default: <L6> [20.00%], case 0: <L0> [20.00%], case 1: <L1> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
|
|
|
|
<bb 3> [local count: 214748364]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_ConfigExternalTrigger (u32Instance_4(D), eTriggerEdge_5(D), 67108864, 0, 134217728);
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 4> [local count: 214748364]:
|
|
<L1>:
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_ConfigExternalTrigger (u32Instance_4(D), eTriggerEdge_5(D), 67108864, 0, 33554432);
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 5> [local count: 214748364]:
|
|
<L2>:
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_ConfigExternalTrigger (u32Instance_4(D), eTriggerEdge_5(D), 67108864, 67108864, 167772160);
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 6> [local count: 214748364]:
|
|
<L3>:
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_ConfigExternalTrigger (u32Instance_4(D), eTriggerEdge_5(D), 2097152, 2097152, 4194304);
|
|
# DEBUG BEGIN_STMT
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
<L6>:
|
|
return;
|
|
|
|
}
|
|
|
|
|