mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
6471 lines
214 KiB
C++
6471 lines
214 KiB
C++
|
|
IPA constant propagation start:
|
|
Determining dynamic type for call: Adc_Sar_Ip_SetSampleTimes (u32Instance_16(D), _12);
|
|
Starting walk at: Adc_Sar_Ip_SetSampleTimes (u32Instance_16(D), _12);
|
|
instance pointer: _12 Outer instance pointer: pConfig_18(D) offset: 8 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_Ip_SetAveraging (u32Instance_16(D), _8, _9);
|
|
Function call may change dynamic type:eStatus_25 = Adc_Sar_Ip_Powerup (u32Instance_16(D));
|
|
Function call may change dynamic type:SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15 ();
|
|
Function call may change dynamic type:SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15 ();
|
|
Function call may change dynamic type:eStatus_20 = Adc_Sar_Ip_Powerdown (u32Instance_16(D));
|
|
Determining dynamic type for call: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), 0B, pResults_4(D), u32Length_5(D));
|
|
Starting walk at: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), 0B, pResults_4(D), u32Length_5(D));
|
|
instance pointer: 0B Outer instance pointer: 0B offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), 0B, pResults_4(D), u32Length_5(D));
|
|
Starting walk at: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), 0B, pResults_4(D), u32Length_5(D));
|
|
instance pointer: pResults_4(D) Outer instance pointer: pResults_4(D) offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), pResults_4(D), 0B, u32Length_5(D));
|
|
Starting walk at: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), pResults_4(D), 0B, u32Length_5(D));
|
|
instance pointer: pResults_4(D) Outer instance pointer: pResults_4(D) offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), pResults_4(D), 0B, u32Length_5(D));
|
|
Starting walk at: _7 = Adc_Sar_GetConvResults (u32Instance_2(D), pChainType_3(D), pResults_4(D), 0B, u32Length_5(D));
|
|
instance pointer: 0B Outer instance pointer: 0B offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: eStatus_57 = Adc_Sar_Ip_Init (u32Instance_26(D), &pDefaultConfig);
|
|
Starting walk at: eStatus_57 = Adc_Sar_Ip_Init (u32Instance_26(D), &pDefaultConfig);
|
|
instance pointer: &pDefaultConfig Outer instance pointer: pDefaultConfig offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: _3 = Adc_Sar_CollectMcrMasks (u32Instance_86(D), pConfig_92(D));
|
|
Starting walk at: _3 = Adc_Sar_CollectMcrMasks (u32Instance_86(D), pConfig_92(D));
|
|
instance pointer: pConfig_92(D) Outer instance pointer: pConfig_92(D) offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:eStatus_91 = Adc_Sar_Ip_Powerdown (u32Instance_86(D));
|
|
Function call may change dynamic type:Adc_Sar_Ip_AbortChain (u32Instance_86(D), 1, 0);
|
|
Determining dynamic type for call: Adc_Sar_Ip_SetWdgThreshold (u32Instance_86(D), _41, _40);
|
|
Starting walk at: Adc_Sar_Ip_SetWdgThreshold (u32Instance_86(D), _41, _40);
|
|
instance pointer: _40 Outer instance pointer: _40 offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_Ip_SetWdgThreshold (u32Instance_86(D), _41, _40);
|
|
Function call may change dynamic type:Adc_Sar_Ip_SetResolution (u32Instance_86(D), _34);
|
|
Function call may change dynamic type:eStatus_96 = Adc_Sar_Ip_Powerup (u32Instance_86(D));
|
|
Function call may change dynamic type:eStatus_91 = Adc_Sar_Ip_Powerdown (u32Instance_86(D));
|
|
Function call may change dynamic type:Adc_Sar_Ip_AbortChain (u32Instance_86(D), 1, 0);
|
|
Determining dynamic type for call: Adc_Sar_EnableChannelWatchdog (u32Instance_86(D), _44, _45);
|
|
Starting walk at: Adc_Sar_EnableChannelWatchdog (u32Instance_86(D), _44, _45);
|
|
instance pointer: _44 Outer instance pointer: _44 offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_Ip_SetResolution (u32Instance_86(D), _34);
|
|
Function call may change dynamic type:eStatus_96 = Adc_Sar_Ip_Powerup (u32Instance_86(D));
|
|
Function call may change dynamic type:eStatus_91 = Adc_Sar_Ip_Powerdown (u32Instance_86(D));
|
|
Function call may change dynamic type:Adc_Sar_Ip_AbortChain (u32Instance_86(D), 1, 0);
|
|
Function call may change dynamic type:Adc_Sar_Ip_SetWdgThreshold (u32Instance_86(D), _41, _40);
|
|
Determining dynamic type for call: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _5);
|
|
Starting walk at: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _5);
|
|
instance pointer: _5 Outer instance pointer: _5 offset: 0 (bits) vtbl reference:
|
|
Determining dynamic type for call: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _10);
|
|
Starting walk at: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _10);
|
|
instance pointer: _10 Outer instance pointer: _10 offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _5);
|
|
Determining dynamic type for call: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _15);
|
|
Starting walk at: Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _15);
|
|
instance pointer: _15 Outer instance pointer: _15 offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _5);
|
|
Function call may change dynamic type:Adc_Sar_CheckAndCallNotification (u32Instance_26(D), _10);
|
|
Determining dynamic type for call: Adc_Sar_WriteChannelMapping (pBase_35, u32RegNum_40, u32Pos_41, _12);
|
|
Starting walk at: Adc_Sar_WriteChannelMapping (pBase_35, u32RegNum_40, u32Pos_41, _12);
|
|
instance pointer: pBase_35 Outer instance pointer: pBase_35 offset: 0 (bits) vtbl reference:
|
|
Function call may change dynamic type:Adc_Sar_Ip_EnableChannelNotifications (u32Instance_34(D), _16, u32Mask_27);
|
|
Function call may change dynamic type:Adc_Sar_WriteChannelMapping (pBase_35, u32RegNum_40, u32Pos_41, _12);
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller Adc_Sar_Ip_SetPresamplingSource.part.0/145:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_21/143:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_21/142:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_20/141:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_20/140:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_19/139:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_19/138:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_32/137:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_32/136:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_45/135:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_45/134:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_48/133:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_48/132:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_47/131:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_47/130:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_46/129:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_46/128:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_44/127:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_44/126:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_43/125:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_43/124:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_40/123:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_40/122:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_39/121:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_39/120:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_42/119:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_42/118:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_41/117:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_41/116:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_18/113:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_18/112:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_17/111:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_17/110:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_16/109:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_16/108:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_15/107:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_15/106:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_29/105:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_29/104:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_31/103:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_31/102:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_28/101:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_28/100:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_30/99:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_30/98:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_34/97:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_34/96:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_33/95:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_33/94:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_14/93:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_14/92:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_13/91:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_13/90:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_36/89:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_36/88:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_12/87:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_12/86:
|
|
Jump functions of caller OsIf_GetElapsed/85:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_35/84:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_35/83:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_11/82:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_11/81:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_25/80:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_25/79:
|
|
Jump functions of caller OsIf_GetCounter/78:
|
|
Jump functions of caller OsIf_MicrosToTicks/77:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_10/76:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_10/75:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_37/74:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_37/73:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_27/72:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_27/71:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_24/70:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_24/69:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_26/68:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_26/67:
|
|
Jump functions of caller SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_23/66:
|
|
Jump functions of caller SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_23/65:
|
|
Jump functions of caller Adc_Sar_Ip_SetExternalTrigger/64:
|
|
callsite Adc_Sar_Ip_SetExternalTrigger/64 -> Adc_Sar_ConfigExternalTrigger/22 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 2097152
|
|
value: 0x200000, mask: 0x0
|
|
Unknown VR
|
|
param 3: CONST: 2097152
|
|
value: 0x200000, mask: 0x0
|
|
Unknown VR
|
|
param 4: CONST: 4194304
|
|
value: 0x400000, mask: 0x0
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetExternalTrigger/64 -> Adc_Sar_ConfigExternalTrigger/22 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 67108864
|
|
value: 0x4000000, mask: 0x0
|
|
Unknown VR
|
|
param 3: CONST: 67108864
|
|
value: 0x4000000, mask: 0x0
|
|
Unknown VR
|
|
param 4: CONST: 167772160
|
|
value: 0xa000000, mask: 0x0
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetExternalTrigger/64 -> Adc_Sar_ConfigExternalTrigger/22 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 67108864
|
|
value: 0x4000000, mask: 0x0
|
|
Unknown VR
|
|
param 3: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 4: CONST: 33554432
|
|
value: 0x2000000, mask: 0x0
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetExternalTrigger/64 -> Adc_Sar_ConfigExternalTrigger/22 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 67108864
|
|
value: 0x4000000, mask: 0x0
|
|
Unknown VR
|
|
param 3: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 4: CONST: 134217728
|
|
value: 0x8000000, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_SetCtuMode/63:
|
|
callsite Adc_Sar_Ip_SetCtuMode/63 -> Adc_Sar_Ip_Powerup/39 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetCtuMode/63 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_SetConversionMode/62:
|
|
Jump functions of caller Adc_Sar_Ip_SetWdgThreshold/61:
|
|
callsite Adc_Sar_Ip_SetWdgThreshold/61 -> Adc_Sar_GetResolution/11 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_SetDmaClearSource/60:
|
|
Jump functions of caller Adc_Sar_Ip_DisableChannelDmaAll/59:
|
|
Jump functions of caller Adc_Sar_Ip_DisableChannelDma/58:
|
|
Jump functions of caller Adc_Sar_Ip_EnableChannelDma/57:
|
|
Jump functions of caller Adc_Sar_Ip_DisableDma/56:
|
|
Jump functions of caller Adc_Sar_Ip_EnableDma/55:
|
|
Jump functions of caller Adc_Sar_Ip_DisablePresampleConversion/54:
|
|
Jump functions of caller Adc_Sar_Ip_EnablePresampleConversion/53:
|
|
Jump functions of caller Adc_Sar_Ip_DisableChannelPresampling/52:
|
|
Jump functions of caller Adc_Sar_Ip_EnableChannelPresampling/51:
|
|
Jump functions of caller Adc_Sar_Ip_SetPresamplingSource/50:
|
|
callsite Adc_Sar_Ip_SetPresamplingSource/50 -> Adc_Sar_Ip_SetPresamplingSource.part.0/145 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: PASS THROUGH: 2, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_AbortChain/49:
|
|
Jump functions of caller Adc_Sar_Ip_AbortConversion/48:
|
|
Jump functions of caller Adc_Sar_Ip_SetAveraging/47:
|
|
Jump functions of caller Adc_Sar_Ip_SetSampleTimes/46:
|
|
Jump functions of caller Adc_Sar_Ip_SetClockMode/45:
|
|
callsite Adc_Sar_Ip_SetClockMode/45 -> Adc_Sar_Ip_SetSampleTimes/46 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
VR ~[0, 0]
|
|
callsite Adc_Sar_Ip_SetClockMode/45 -> Adc_Sar_Ip_SetAveraging/47 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x1
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetClockMode/45 -> Adc_Sar_Ip_Powerup/39 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_SetClockMode/45 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_DisableChannelNotifications/44:
|
|
Jump functions of caller Adc_Sar_Ip_EnableChannelNotifications/43:
|
|
Jump functions of caller Adc_Sar_Ip_DisableNotifications/42:
|
|
Jump functions of caller Adc_Sar_Ip_EnableNotifications/41:
|
|
Jump functions of caller Adc_Sar_Ip_Powerdown/40:
|
|
Jump functions of caller Adc_Sar_Ip_Powerup/39:
|
|
Jump functions of caller Adc_Sar_Ip_DoCalibration/38:
|
|
callsite Adc_Sar_Ip_DoCalibration/38 -> Adc_Sar_Ip_Powerup/39 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_DoCalibration/38 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_DoCalibration/38 -> Adc_Sar_Ip_Powerup/39 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_DoCalibration/38 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_GetConvResult/37:
|
|
callsite Adc_Sar_Ip_GetConvResult/37 -> Adc_Sar_GetMaskedResult/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_GetConvData/36:
|
|
callsite Adc_Sar_Ip_GetConvData/36 -> Adc_Sar_GetMaskedResult/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_GetConvResultsToArray/35:
|
|
callsite Adc_Sar_Ip_GetConvResultsToArray/35 -> Adc_Sar_GetConvResults/18 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 0B
|
|
value: 0x0, mask: 0xfffffff8
|
|
Unknown VR
|
|
param 3: PASS THROUGH: 3, op nop_expr, agg_preserved
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 4: PASS THROUGH: 2, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_GetConvDataToArray/34:
|
|
callsite Adc_Sar_Ip_GetConvDataToArray/34 -> Adc_Sar_GetConvResults/18 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: PASS THROUGH: 3, op nop_expr, agg_preserved
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 3: CONST: 0B
|
|
value: 0x0, mask: 0xfffffff8
|
|
Unknown VR
|
|
param 4: PASS THROUGH: 2, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_SelfTest/33:
|
|
callsite Adc_Sar_Ip_SelfTest/33 -> Adc_Sar_CheckSelfTestProgress/17 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_ClearStatusFlags/32:
|
|
Jump functions of caller Adc_Sar_Ip_GetStatusFlags/31:
|
|
callsite Adc_Sar_Ip_GetStatusFlags/31 -> Adc_Sar_GetIsrFlags/14 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_GetStatusFlags/31 -> Adc_Sar_GetMsrFlags/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_StartConversion/30:
|
|
Jump functions of caller Adc_Sar_Ip_SetResolution/29:
|
|
Jump functions of caller Adc_Sar_Ip_DisableChannel/28:
|
|
Jump functions of caller Adc_Sar_Ip_EnableChannel/27:
|
|
Jump functions of caller Adc_Sar_Ip_ChainConfig/26:
|
|
Jump functions of caller Adc_Sar_Ip_Deinit/25:
|
|
callsite Adc_Sar_Ip_Deinit/25 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Deinit/25 -> Adc_Sar_Ip_SetResolution/29 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Deinit/25 -> Adc_Sar_Ip_ClearStatusFlags/32 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 31
|
|
value: 0x1f, mask: 0x0
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Deinit/25 -> Adc_Sar_ResetWdog/19 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Deinit/25 -> Adc_Sar_Ip_Init/24 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
Aggregate passed by reference:
|
|
offset: 160, cst: 0
|
|
offset: 176, cst: 0
|
|
offset: 184, cst: 0
|
|
offset: 192, cst: 0
|
|
offset: 200, cst: 0
|
|
offset: 208, cst: 0
|
|
offset: 224, cst: 0
|
|
offset: 448, cst: 0
|
|
offset: 480, cst: 0B
|
|
offset: 512, cst: 0
|
|
offset: 544, cst: 0B
|
|
offset: 576, cst: 0B
|
|
offset: 608, cst: 0B
|
|
offset: 640, cst: 0B
|
|
offset: 672, cst: 0B
|
|
offset: 704, cst: 0B
|
|
value: 0x0, mask: 0xfffffffc
|
|
VR ~[0, 0]
|
|
Jump functions of caller Adc_Sar_Ip_Init/24:
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetDmaClearSource/60 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetPresamplingSource/50 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 2
|
|
value: 0x2, mask: 0x0
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetPresamplingSource/50 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetPresamplingSource/50 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_EnableChannelWatchdog/16 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetWdgThreshold/61 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_SetResolution/29 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_Powerup/39 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_CollectMcrMasks/15 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_Powerdown/40 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_Init/24 -> Adc_Sar_Ip_AbortChain/49 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_Ip_IRQHandler/23:
|
|
callsite Adc_Sar_Ip_IRQHandler/23 -> Adc_Sar_CheckAndCallNotification/20 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_IRQHandler/23 -> Adc_Sar_CheckAndCallNotification/20 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_Ip_IRQHandler/23 -> Adc_Sar_CheckAndCallNotification/20 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_ConfigExternalTrigger/22:
|
|
Jump functions of caller Adc_Sar_Ip_GetDataAddress/21:
|
|
Jump functions of caller Adc_Sar_CheckAndCallNotification/20:
|
|
indirect simple callsite, calling param 1, offset 0, for stmt pfCallback_3(D) ();
|
|
Jump functions of caller Adc_Sar_ResetWdog/19:
|
|
Jump functions of caller Adc_Sar_GetConvResults/18:
|
|
callsite Adc_Sar_GetConvResults/18 -> Adc_Sar_GetMaskedResult/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
callsite Adc_Sar_GetConvResults/18 -> Adc_Sar_GetMaskedResult/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_CheckSelfTestProgress/17:
|
|
Jump functions of caller Adc_Sar_EnableChannelWatchdog/16:
|
|
callsite Adc_Sar_EnableChannelWatchdog/16 -> Adc_Sar_Ip_EnableChannelNotifications/43 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
VR [0, 255]
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0x3
|
|
VR [0, 3]
|
|
callsite Adc_Sar_EnableChannelWatchdog/16 -> Adc_Sar_WriteChannelMapping/5 :
|
|
param 0: UNKNOWN
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x1f
|
|
VR [0, 31]
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0x7
|
|
VR [0, 7]
|
|
param 3: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
VR [0, 255]
|
|
Jump functions of caller Adc_Sar_CollectMcrMasks/15:
|
|
Jump functions of caller Adc_Sar_GetIsrFlags/14:
|
|
Jump functions of caller Adc_Sar_GetMsrFlags/13:
|
|
Jump functions of caller Adc_Sar_GetMaskedResult/12:
|
|
callsite Adc_Sar_GetMaskedResult/12 -> Adc_Sar_GetResolution/11 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xffffffff
|
|
Unknown VR
|
|
Jump functions of caller Adc_Sar_GetResolution/11:
|
|
Jump functions of caller Adc_Sar_WriteChannelMapping/5:
|
|
|
|
Propagating constants:
|
|
|
|
Not considering Adc_Sar_Ip_SetExternalTrigger for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetCtuMode for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetConversionMode for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetWdgThreshold for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetDmaClearSource for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableChannelDmaAll for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableChannelDma for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableChannelDma for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableDma for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableDma for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisablePresampleConversion for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnablePresampleConversion for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableChannelPresampling for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableChannelPresampling for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetPresamplingSource for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_AbortChain for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_AbortConversion for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetAveraging for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetSampleTimes for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetClockMode for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableChannelNotifications for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableChannelNotifications for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableNotifications for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableNotifications for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_Powerdown for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_Powerup for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DoCalibration for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetConvResult for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetConvData for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetConvResultsToArray for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetConvDataToArray for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SelfTest for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_ClearStatusFlags for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetStatusFlags for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_StartConversion for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_SetResolution for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_DisableChannel for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_EnableChannel for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_ChainConfig for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_Deinit for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_Init for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_IRQHandler for cloning; -fipa-cp-clone disabled.
|
|
Not considering Adc_Sar_Ip_GetDataAddress for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 1723, max_new_size: 11001
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: Adc_Sar_Ip_SetPresamplingSource.part.0/145:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_Ip_SetExternalTrigger/64:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetCtuMode/63:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetConversionMode/62:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetWdgThreshold/61:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetDmaClearSource/60:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableChannelDmaAll/59:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableChannelDma/58:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableChannelDma/57:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableDma/56:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableDma/55:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisablePresampleConversion/54:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnablePresampleConversion/53:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableChannelPresampling/52:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableChannelPresampling/51:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetPresamplingSource/50:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_AbortChain/49:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_AbortConversion/48:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetAveraging/47:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetSampleTimes/46:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetClockMode/45:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableChannelNotifications/44:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableChannelNotifications/43:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableNotifications/42:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableNotifications/41:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_Powerdown/40:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_Powerup/39:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DoCalibration/38:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_GetConvResult/37:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_GetConvData/36:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_GetConvResultsToArray/35:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_GetConvDataToArray/34:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SelfTest/33:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_ClearStatusFlags/32:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_GetStatusFlags/31:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_StartConversion/30:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_SetResolution/29:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_DisableChannel/28:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_EnableChannel/27:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_ChainConfig/26:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_Deinit/25:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_Init/24:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_Ip_IRQHandler/23:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_ConfigExternalTrigger/22:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: 67108864 [loc_time: 1, loc_size: 29, prop_time: 0, prop_size: 0]
|
|
2097152 [loc_time: 1, loc_size: 29, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x200000, mask = 0x4200000
|
|
const uint32 [2097152, 67108864]
|
|
AGGS VARIABLE
|
|
param [3]: 0 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
67108864 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
2097152 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x200000, mask = 0x4200000
|
|
const uint32 [0, 67108864]
|
|
AGGS VARIABLE
|
|
param [4]: 134217728 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
33554432 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
167772160 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
4194304 [loc_time: 1, loc_size: 30, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x400000, mask = 0xa400000
|
|
const uint32 [4194304, 167772160]
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_Ip_GetDataAddress/21:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Adc_Sar_CheckAndCallNotification/20:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_ResetWdog/19:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_GetConvResults/18:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: VARIABLE
|
|
0B [loc_time: 13, loc_size: 54, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [3]: VARIABLE
|
|
0B [loc_time: 13, loc_size: 49, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [4]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_CheckSelfTestProgress/17:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_EnableChannelWatchdog/16:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_CollectMcrMasks/15:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_GetIsrFlags/14:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_GetMsrFlags/13:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_GetMaskedResult/12:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_GetResolution/11:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Adc_Sar_WriteChannelMapping/5:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x1f
|
|
uint32 [0, 31]
|
|
AGGS VARIABLE
|
|
param [2]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x7
|
|
uint32 [0, 7]
|
|
AGGS VARIABLE
|
|
param [3]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0xff
|
|
uint32 [0, 255]
|
|
AGGS VARIABLE
|
|
|
|
IPA decision stage:
|
|
|
|
Propagated bits info for function Adc_Sar_ConfigExternalTrigger/22:
|
|
param 2: value = 0x200000, mask = 0x4200000
|
|
param 3: value = 0x200000, mask = 0x4200000
|
|
param 4: value = 0x400000, mask = 0xa400000
|
|
Propagated bits info for function Adc_Sar_WriteChannelMapping/5:
|
|
param 1: value = 0x0, mask = 0x1f
|
|
param 2: value = 0x0, mask = 0x7
|
|
param 3: value = 0x0, mask = 0xff
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
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:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
|
|
Called by: Adc_Sar_Ip_SetPresamplingSource/50 (354334800 (estimated locally),0.33 per call)
|
|
Calls: SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_38/114 (1073741824 (estimated locally),1.00 per call) SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_38/115 (1073741824 (estimated locally),1.00 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 (1073741824 (estimated locally),1.00 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 (1073741824 (estimated locally),1.00 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 (923783344 (estimated locally),14.07 per call) Adc_Sar_CheckSelfTestProgress/17 (958878293 (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 (65677296 (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 (65677296 (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 (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 (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 (955630223 (estimated locally),8.09 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 (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 (1073741824 (estimated locally),1.00 per call) Adc_Sar_GetMsrFlags/13 (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 (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 (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 (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:
|
|
Availability: local
|
|
Function flags: count:214748364 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Deinit/25 (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:
|
|
Availability: local
|
|
Function flags: count:65677296 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_SelfTest/33 (114863532 (estimated locally),1.00 per call)
|
|
Calls: OsIf_GetElapsed/85 (923783344 (estimated locally),14.07 per call) OsIf_GetElapsed/85 (958878293 (estimated locally),14.60 per call) OsIf_GetCounter/78 (65677296 (estimated locally),1.00 per call) OsIf_MicrosToTicks/77 (65677296 (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:
|
|
Availability: local
|
|
Function flags: count:118111602 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (62008590 (estimated locally),0.07 per call)
|
|
Calls: Adc_Sar_Ip_EnableChannelNotifications/43 (955630223 (estimated locally),8.09 per call) Adc_Sar_WriteChannelMapping/5 (315357973 (estimated locally),2.67 per call)
|
|
Adc_Sar_CollectMcrMasks/15 (Adc_Sar_CollectMcrMasks) @05e3a0e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: u32AdcFeatureBitmap/10 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_Init/24 (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:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetStatusFlags/31 (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:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_Ip_GetStatusFlags/31 (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/11 (1073741824 (estimated locally),1.00 per call)
|
|
Adc_Sar_GetResolution/11 (Adc_Sar_GetResolution) @05e1ba80
|
|
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_SetWdgThreshold/61 (1073741824 (estimated locally),1.00 per call) Adc_Sar_GetMaskedResult/12 (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)
|
|
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:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Adc_Sar_EnableChannelWatchdog/16 (315357973 (estimated locally),2.67 per call)
|
|
Calls:
|
|
|
|
;; Function Adc_Sar_CheckAndCallNotification (Adc_Sar_CheckAndCallNotification, funcdef_no=16, decl_uid=5054, cgraph_uid=17, symbol_order=20)
|
|
|
|
Modification phase of node Adc_Sar_CheckAndCallNotification/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)
|
|
|
|
Modification phase of node Adc_Sar_ConfigExternalTrigger/22
|
|
Adjusting mask for param 2 to 0x4200000
|
|
Adjusting mask for param 3 to 0x4200000
|
|
Adjusting mask for param 4 to 0xa400000
|
|
Setting value range of param 2 [2097152, 67108864]
|
|
Setting value range of param 3 [0, 67108864]
|
|
Setting value range of param 4 [4194304, 167772160]
|
|
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)
|
|
|
|
Modification phase of node Adc_Sar_GetMaskedResult/12
|
|
Adc_Sar_GetMaskedResult (const uint32 u32Instance, const uint32 u32Cdr)
|
|
{
|
|
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;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
u8Resolution_17 = Adc_Sar_GetResolution (u32Instance_15(D));
|
|
# 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 3>; [34.00%]
|
|
else
|
|
goto <bb 4>; [66.00%]
|
|
|
|
<bb 3> [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 5>; [100.00%]
|
|
|
|
<bb 4> [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 5> [local count: 1073741824]:
|
|
# u16Result_13 = PHI <u16Result_22(3), u16Result_21(4)>
|
|
# 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)
|
|
|
|
Modification phase of node Adc_Sar_GetConvResults/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetDataAddress/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_IRQHandler/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_ChainConfig/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableChannel/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableChannel/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetResolution/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_StartConversion/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetStatusFlags/31
|
|
Adc_Sar_Ip_GetStatusFlags (const uint32 u32Instance)
|
|
{
|
|
uint32 u32Flags;
|
|
long unsigned int _4;
|
|
long unsigned int _6;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Flags => 0
|
|
# DEBUG BEGIN_STMT
|
|
_4 = Adc_Sar_GetMsrFlags (u32Instance_2(D));
|
|
# DEBUG u32Flags => _4
|
|
# DEBUG BEGIN_STMT
|
|
_6 = Adc_Sar_GetIsrFlags (u32Instance_2(D));
|
|
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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_ClearStatusFlags/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SelfTest/33
|
|
Adc_Sar_Ip_SelfTest (const uint32 u32Instance)
|
|
{
|
|
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;
|
|
|
|
<bb 2> [local count: 114863532]:
|
|
# 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
|
|
eStatus_48 = Adc_Sar_CheckSelfTestProgress (u32Instance_26(D));
|
|
# 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 4>; [100.00%]
|
|
|
|
<bb 3> [local count: 958878293]:
|
|
# 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 4> [local count: 1073741824]:
|
|
# u32MsrStatus_22 = PHI <u32MsrStatus_52(2), u32MsrStatus_53(3)>
|
|
# u32ElapsedTicks_23 = PHI <0(2), u32ElapsedTicks_56(3)>
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_23
|
|
# DEBUG u32MsrStatus => u32MsrStatus_22
|
|
# DEBUG BEGIN_STMT
|
|
if (u32MsrStatus_22 != 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (u32ElapsedTicks_23 < u32TimeoutTicks_29)
|
|
goto <bb 3>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# u32ElapsedTicks_3 = PHI <u32ElapsedTicks_23(4), u32ElapsedTicks_23(5)>
|
|
# 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 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_21 = PHI <eStatus_48(6), 2(7)>
|
|
# 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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetConvDataToArray/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetConvResultsToArray/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetConvData/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_GetConvResult/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_Powerup/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_Powerdown/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DoCalibration/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableNotifications/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableNotifications/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableChannelNotifications/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableChannelNotifications/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetSampleTimes/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetAveraging/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetClockMode/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_AbortConversion/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_AbortChain/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetPresamplingSource/50
|
|
Adc_Sar_Ip_SetPresamplingSource (const uint32 u32Instance, const Adc_Sar_Ip_ChanGroupType pChanGroup, const Adc_Sar_Ip_PresamplingSourceType pPresampleSource)
|
|
{
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
|
|
<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 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334800]:
|
|
Adc_Sar_Ip_SetPresamplingSource.part.0 (u32Instance_5(D), pChanGroup_6(D), pPresampleSource_7(D));
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_EnableChannelPresampling (Adc_Sar_Ip_EnableChannelPresampling, funcdef_no=47, decl_uid=4581, cgraph_uid=48, symbol_order=51)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableChannelPresampling/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableChannelPresampling/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnablePresampleConversion/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisablePresampleConversion/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableDma/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableDma/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_EnableChannelDma/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableChannelDma/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_DisableChannelDmaAll/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetDmaClearSource/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetWdgThreshold/61
|
|
Adc_Sar_Ip_SetWdgThreshold (const uint32 u32Instance, const uint8 u8RegisterIdx, const struct Adc_Sar_Ip_WdgThresholdType * const pThresholdValues)
|
|
{
|
|
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;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
pBase_31 = pAdcBase[u32Instance_30(D)];
|
|
# DEBUG pBase => pBase_31
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Adc_Sar_GetResolution (u32Instance_30(D));
|
|
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 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [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 5>; [100.00%]
|
|
|
|
<bb 4> [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 5> [local count: 1073741824]:
|
|
# u32Wtimr_27 = PHI <u32Wtimr_40(3), u32Wtimr_39(4)>
|
|
# DEBUG u32Wtimr => u32Wtimr_27
|
|
# DEBUG BEGIN_STMT
|
|
_19 = pThresholdValues_34(D)->bHighThresholdIntEn;
|
|
if (_19 != 0)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 7>; [50.00%]
|
|
|
|
<bb 6> [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 8>; [100.00%]
|
|
|
|
<bb 7> [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 8> [local count: 1073741824]:
|
|
# u32Wtimr_28 = PHI <u32Wtimr_42(6), u32Wtimr_41(7)>
|
|
# 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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_Init/24
|
|
Adc_Sar_Ip_Init (const uint32 u32Instance, const struct Adc_Sar_Ip_ConfigType * const pConfig)
|
|
{
|
|
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;
|
|
|
|
<bb 2> [local count: 832079355]:
|
|
# 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 33>; [51.12%]
|
|
else
|
|
goto <bb 3>; [48.88%]
|
|
|
|
<bb 3> [local count: 406720388]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 = Adc_Sar_CollectMcrMasks (u32Instance_86(D), pConfig_92(D));
|
|
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 33>; [34.00%]
|
|
else
|
|
goto <bb 4>; [66.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 = u32AdcChanBitmap[u32Instance_86(D)][0];
|
|
if (_5 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [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 6> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 = u32AdcChanBitmap[u32Instance_86(D)][1];
|
|
if (_8 != 0)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [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 8> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_11 = u32AdcChanBitmap[u32Instance_86(D)][2];
|
|
if (_11 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [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 10> [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 11>; [50.00%]
|
|
else
|
|
goto <bb 12>; [50.00%]
|
|
|
|
<bb 11> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
_18 = pConfig_92(D)->u16DecodeDelay;
|
|
_19 = (long unsigned int) _18;
|
|
pBase_87->DSDR ={v} _19;
|
|
|
|
<bb 12> [local count: 268435456]:
|
|
# u8Index_76 = PHI <0(11), 0(10)>
|
|
goto <bb 17>; [100.00%]
|
|
|
|
<bb 13> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = (int) u8Index_68;
|
|
_21 = u32AdcChanBitmap[u32Instance_86(D)][_20];
|
|
if (_21 == 0)
|
|
goto <bb 14>; [33.00%]
|
|
else
|
|
goto <bb 15>; [67.00%]
|
|
|
|
<bb 14> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 16>; [100.00%]
|
|
|
|
<bb 15> [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 16> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_123 = u8Index_68 + 1;
|
|
# DEBUG u8Index => u8Index_123
|
|
|
|
<bb 17> [local count: 1073741824]:
|
|
# u8Index_68 = PHI <u8Index_76(12), u8Index_123(16)>
|
|
# DEBUG u8Index => u8Index_68
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_68 != 3)
|
|
goto <bb 13>; [75.00%]
|
|
else
|
|
goto <bb 35>; [25.00%]
|
|
|
|
<bb 35> [local count: 268435456]:
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 18> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
_27 = (int) u8Index_69;
|
|
_28 = u32AdcChanBitmap[u32Instance_86(D)][_27];
|
|
if (_28 == 0)
|
|
goto <bb 19>; [33.00%]
|
|
else
|
|
goto <bb 20>; [67.00%]
|
|
|
|
<bb 19> [local count: 265751102]:
|
|
# DEBUG BEGIN_STMT
|
|
// predicted unlikely by continue predictor.
|
|
goto <bb 21>; [100.00%]
|
|
|
|
<bb 20> [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 21> [local count: 805306369]:
|
|
# DEBUG BEGIN_STMT
|
|
u8Index_121 = u8Index_69 + 1;
|
|
# DEBUG u8Index => u8Index_121
|
|
|
|
<bb 22> [local count: 1073741824]:
|
|
# u8Index_69 = PHI <u8Index_121(21), 0(35)>
|
|
# DEBUG u8Index => u8Index_69
|
|
# DEBUG BEGIN_STMT
|
|
if (u8Index_69 != 3)
|
|
goto <bb 18>; [75.00%]
|
|
else
|
|
goto <bb 23>; [25.00%]
|
|
|
|
<bb 23> [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 24>; [70.00%]
|
|
else
|
|
goto <bb 27>; [30.00%]
|
|
|
|
<bb 24> [local count: 187904819]:
|
|
_36 = pConfig_92(D)->u8NumWdgThresholds;
|
|
if (_36 != 0)
|
|
goto <bb 34>; [50.00%]
|
|
else
|
|
goto <bb 27>; [50.00%]
|
|
|
|
<bb 34> [local count: 93952410]:
|
|
goto <bb 26>; [100.00%]
|
|
|
|
<bb 25> [local count: 760160410]:
|
|
# 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 26> [local count: 854112820]:
|
|
# u8Index_70 = PHI <u8Index_104(25), 0(34)>
|
|
# DEBUG u8Index => u8Index_70
|
|
# DEBUG BEGIN_STMT
|
|
_43 = pConfig_92(D)->u8NumWdgThresholds;
|
|
if (_43 > u8Index_70)
|
|
goto <bb 25>; [89.00%]
|
|
else
|
|
goto <bb 27>; [11.00%]
|
|
|
|
<bb 27> [local count: 268435457]:
|
|
# DEBUG BEGIN_STMT
|
|
_44 = pConfig_92(D)->pChannelConfigs;
|
|
if (_44 != 0B)
|
|
goto <bb 28>; [70.00%]
|
|
else
|
|
goto <bb 30>; [30.00%]
|
|
|
|
<bb 28> [local count: 187904820]:
|
|
_45 = pConfig_92(D)->u8NumChannels;
|
|
if (_45 != 0)
|
|
goto <bb 29>; [33.00%]
|
|
else
|
|
goto <bb 30>; [67.00%]
|
|
|
|
<bb 29> [local count: 62008590]:
|
|
# DEBUG BEGIN_STMT
|
|
Adc_Sar_EnableChannelWatchdog (u32Instance_86(D), _44, _45);
|
|
|
|
<bb 30> [local count: 268435457]:
|
|
# 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 32>; [50.00%]
|
|
else
|
|
goto <bb 31>; [50.00%]
|
|
|
|
<bb 31> [local count: 134217728]:
|
|
|
|
<bb 32> [local count: 268435457]:
|
|
# iftmp.3_72 = PHI <1(30), 0(31)>
|
|
_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 33> [local count: 832079354]:
|
|
# _71 = PHI <eStatus_91(2), eStatus_96(3), 0(32)>
|
|
return _71;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Adc_Sar_Ip_Deinit (Adc_Sar_Ip_Deinit, funcdef_no=21, decl_uid=4495, cgraph_uid=22, symbol_order=25)
|
|
|
|
Modification phase of node Adc_Sar_Ip_Deinit/25
|
|
Adc_Sar_Ip_Deinit (const uint32 u32Instance)
|
|
{
|
|
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;
|
|
|
|
<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 15>; [34.00%]
|
|
else
|
|
goto <bb 16>; [66.00%]
|
|
|
|
<bb 16> [local count: 177167400]:
|
|
goto <bb 13>; [100.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(16)>
|
|
# 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
|
|
Adc_Sar_ResetWdog (u32Instance_26(D));
|
|
# 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 15> [local count: 268435456]:
|
|
# _18 = PHI <eStatus_57(5), eStatus_64(14)>
|
|
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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetConversionMode/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetCtuMode/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)
|
|
|
|
Modification phase of node Adc_Sar_Ip_SetExternalTrigger/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;
|
|
|
|
}
|
|
|
|
|