ADM/GW/Debug_RAM/src/main.c.072i.cp
2024-08-08 10:00:15 +09:00

586 lines
22 KiB
C++

IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller cmd_main/70:
Jump functions of caller PrintLogo/69:
Jump functions of caller board_init/68:
Jump functions of caller Gvar_init/67:
Jump functions of caller Pit_Ip_StartChannel/66:
Jump functions of caller Pit_Ip_EnableChannelInterrupt/65:
Jump functions of caller Pit_Ip_InitChannel/63:
Jump functions of caller Pit_Ip_Init/61:
Jump functions of caller Adc_Sar_Ip_StartConversion/60:
Jump functions of caller Adc_Sar_Ip_EnableNotifications/59:
Jump functions of caller Adc_Sar_Ip_DoCalibration/58:
Jump functions of caller Adc_Sar_1_Isr/57:
Jump functions of caller Adc_Sar_0_Isr/56:
Jump functions of caller debug_printf/54:
Jump functions of caller Adc_Sar_Ip_Init/52:
Jump functions of caller Flexio_Pwm_Ip_InitChannel/43:
Jump functions of caller Flexio_Mcl_Ip_InitDevice/41:
Jump functions of caller Lpuart_Uart_Ip_Init/39:
Jump functions of caller LPUART_UART_IP_0_IRQHandler/38:
Jump functions of caller IntCtrl_Ip_InstallHandler/37:
Jump functions of caller IntCtrl_Ip_EnableIrq/36:
Jump functions of caller IntCtrl_Ip_ConfigIrqRouting/34:
Jump functions of caller IntCtrl_Ip_Init/32:
Jump functions of caller Siul2_Port_Ip_Init/30:
Jump functions of caller Clock_Ip_Init/28:
Jump functions of caller main/27:
Propagating constants:
Not considering main for cloning; -fipa-cp-clone disabled.
overall_size: 124, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
Node: main/27:
IPA decision stage:
IPA constant propagation end
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
cmd_main/70 (cmd_main) @07ae0700
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (1073741824 (estimated locally),10000.02 per call)
Calls:
PrintLogo/69 (PrintLogo) @07ae0620
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
board_init/68 (board_init) @07ae0540
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Gvar_init/67 (Gvar_init) @07ae0460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Pit_Ip_StartChannel/66 (Pit_Ip_StartChannel) @07ae0380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Pit_Ip_EnableChannelInterrupt/65 (Pit_Ip_EnableChannelInterrupt) @07ae02a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
PIT_0_ChannelConfig_PB/64 (PIT_0_ChannelConfig_PB) @07adeaf8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags:
Pit_Ip_InitChannel/63 (Pit_Ip_InitChannel) @07ae01c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
PIT_0_InitConfig_PB/62 (PIT_0_InitConfig_PB) @07adea68
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags:
Pit_Ip_Init/61 (Pit_Ip_Init) @07ae00e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Adc_Sar_Ip_StartConversion/60 (Adc_Sar_Ip_StartConversion) @07ae0000
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
Adc_Sar_Ip_EnableNotifications/59 (Adc_Sar_Ip_EnableNotifications) @07adc8c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
Adc_Sar_Ip_DoCalibration/58 (Adc_Sar_Ip_DoCalibration) @07adcee0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
Adc_Sar_1_Isr/57 (Adc_Sar_1_Isr) @07adce00
Type: function
Visibility: external public
Address is taken.
References:
Referring: main/27 (addr)
Availability: not_available
Function flags: optimize_size
Called by:
Calls:
Adc_Sar_0_Isr/56 (Adc_Sar_0_Isr) @07adcd20
Type: function
Visibility: external public
Address is taken.
References:
Referring: main/27 (addr)
Availability: not_available
Function flags: optimize_size
Called by:
Calls:
AdcHwUnit_1_BOARD_INITPERIPHERALS/55 (AdcHwUnit_1_BOARD_INITPERIPHERALS) @07ade630
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
debug_printf/54 (debug_printf) @07adcc40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (35433 (estimated locally),0.33 per call) main/27 (35433 (estimated locally),0.33 per call) main/27 (35433 (estimated locally),0.33 per call) main/27 (35433 (estimated locally),0.33 per call)
Calls:
AdcHwUnit_0_BOARD_INITPERIPHERALS/53 (AdcHwUnit_0_BOARD_INITPERIPHERALS) @07ade558
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Adc_Sar_Ip_Init/52 (Adc_Sar_Ip_Init) @07adcb60
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch7/51 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch7) @07ade4c8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch6/50 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch6) @07ade438
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch5/49 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch5) @07ade3a8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch4/48 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch4) @07ade318
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3/47 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3) @07ade288
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2/46 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2) @07ade1f8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1/45 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1) @07ade168
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0/44 (Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0) @07ade0d8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Pwm_Ip_InitChannel/43 (Flexio_Pwm_Ip_InitChannel) @07adca80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
Flexio_Ip_xFlexioInit/42 (Flexio_Ip_xFlexioInit) @07ade048
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Flexio_Mcl_Ip_InitDevice/41 (Flexio_Mcl_Ip_InitDevice) @07adc9a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Lpuart_Uart_Ip_pHwConfigPB_0_BOARD_INITPERIPHERALS/40 (Lpuart_Uart_Ip_pHwConfigPB_0_BOARD_INITPERIPHERALS) @07ad3f78
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Lpuart_Uart_Ip_Init/39 (Lpuart_Uart_Ip_Init) @07adc7e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
LPUART_UART_IP_0_IRQHandler/38 (LPUART_UART_IP_0_IRQHandler) @07adc700
Type: function
Visibility: external public
Address is taken.
References:
Referring: main/27 (addr)
Availability: not_available
Function flags: optimize_size
Called by:
Calls:
IntCtrl_Ip_InstallHandler/37 (IntCtrl_Ip_InstallHandler) @07adc620
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
IntCtrl_Ip_EnableIrq/36 (IntCtrl_Ip_EnableIrq) @07adc540
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call) main/27 (107374 (estimated locally),1.00 per call)
Calls:
intRouteConfig/35 (intRouteConfig) @07ad3e58
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
IntCtrl_Ip_ConfigIrqRouting/34 (IntCtrl_Ip_ConfigIrqRouting) @07adc460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
IntCtrlConfig_0/33 (IntCtrlConfig_0) @07ad3dc8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
IntCtrl_Ip_Init/32 (IntCtrl_Ip_Init) @07adc380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
g_pin_mux_InitConfigArr0/31 (g_pin_mux_InitConfigArr0) @07ad3d38
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags:
Siul2_Port_Ip_Init/30 (Siul2_Port_Ip_Init) @07adc2a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
Mcu_aClockConfigPB/29 (Mcu_aClockConfigPB) @07ad3ca8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: main/27 (addr)
Availability: not_available
Varpool flags: read-only
Clock_Ip_Init/28 (Clock_Ip_Init) @07adc1c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: main/27 (107374 (estimated locally),1.00 per call)
Calls:
main/27 (main) @07ad5e00
Type: function definition analyzed
Visibility: externally_visible public
References: Mcu_aClockConfigPB/29 (addr)g_pin_mux_InitConfigArr0/31 (addr)IntCtrlConfig_0/33 (addr)intRouteConfig/35 (addr)LPUART_UART_IP_0_IRQHandler/38 (addr)Lpuart_Uart_Ip_pHwConfigPB_0_BOARD_INITPERIPHERALS/40 (addr)Flexio_Ip_xFlexioInit/42 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0/44 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1/45 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2/46 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3/47 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch4/48 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch5/49 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch6/50 (addr)Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch7/51 (addr)AdcHwUnit_0_BOARD_INITPERIPHERALS/53 (addr)AdcHwUnit_1_BOARD_INITPERIPHERALS/55 (addr)Adc_Sar_0_Isr/56 (addr)Adc_Sar_1_Isr/57 (addr)PIT_0_InitConfig_PB/62 (addr)PIT_0_ChannelConfig_PB/64 (addr)
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body only_called_at_startup executed_once optimize_size
Called by:
Calls: cmd_main/70 (1073741824 (estimated locally),10000.02 per call) debug_printf/54 (107374 (estimated locally),1.00 per call) PrintLogo/69 (107374 (estimated locally),1.00 per call) board_init/68 (107374 (estimated locally),1.00 per call) Gvar_init/67 (107374 (estimated locally),1.00 per call) Pit_Ip_StartChannel/66 (107374 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/65 (107374 (estimated locally),1.00 per call) Pit_Ip_InitChannel/63 (107374 (estimated locally),1.00 per call) Pit_Ip_Init/61 (107374 (estimated locally),1.00 per call) Adc_Sar_Ip_StartConversion/60 (107374 (estimated locally),1.00 per call) Adc_Sar_Ip_StartConversion/60 (107374 (estimated locally),1.00 per call) Adc_Sar_Ip_EnableNotifications/59 (107374 (estimated locally),1.00 per call) Adc_Sar_Ip_EnableNotifications/59 (107374 (estimated locally),1.00 per call) debug_printf/54 (35433 (estimated locally),0.33 per call) Adc_Sar_Ip_DoCalibration/58 (107374 (estimated locally),1.00 per call) debug_printf/54 (35433 (estimated locally),0.33 per call) Adc_Sar_Ip_DoCalibration/58 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_EnableIrq/36 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_EnableIrq/36 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_InstallHandler/37 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_InstallHandler/37 (107374 (estimated locally),1.00 per call) debug_printf/54 (35433 (estimated locally),0.33 per call) Adc_Sar_Ip_Init/52 (107374 (estimated locally),1.00 per call) debug_printf/54 (35433 (estimated locally),0.33 per call) Adc_Sar_Ip_Init/52 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Pwm_Ip_InitChannel/43 (107374 (estimated locally),1.00 per call) Flexio_Mcl_Ip_InitDevice/41 (107374 (estimated locally),1.00 per call) Lpuart_Uart_Ip_Init/39 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_InstallHandler/37 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_EnableIrq/36 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_ConfigIrqRouting/34 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_Init/32 (107374 (estimated locally),1.00 per call) Siul2_Port_Ip_Init/30 (107374 (estimated locally),1.00 per call) Clock_Ip_Init/28 (107374 (estimated locally),1.00 per call)
gb/26 (gb) @07aceb40
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Varpool flags:
;; Function main (main, funcdef_no=26, decl_uid=9499, cgraph_uid=27, symbol_order=27) (executed once)
Modification phase of node main/27
main ()
{
StatusType status;
<bb 2> [local count: 107374]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
Clock_Ip_Init (&Mcu_aClockConfigPB[0]);
# DEBUG BEGIN_STMT
Siul2_Port_Ip_Init (15, &g_pin_mux_InitConfigArr0);
# DEBUG BEGIN_STMT
IntCtrl_Ip_Init (&IntCtrlConfig_0);
# DEBUG BEGIN_STMT
IntCtrl_Ip_ConfigIrqRouting (&intRouteConfig);
# DEBUG BEGIN_STMT
IntCtrl_Ip_EnableIrq (141);
# DEBUG BEGIN_STMT
IntCtrl_Ip_InstallHandler (141, LPUART_UART_IP_0_IRQHandler, 0B);
# DEBUG BEGIN_STMT
Lpuart_Uart_Ip_Init (0, &Lpuart_Uart_Ip_pHwConfigPB_0_BOARD_INITPERIPHERALS);
# DEBUG BEGIN_STMT
Flexio_Mcl_Ip_InitDevice (&Flexio_Ip_xFlexioInit);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch4);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch5);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch6);
# DEBUG BEGIN_STMT
Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch7);
# DEBUG BEGIN_STMT
status_24 = Adc_Sar_Ip_Init (0, &AdcHwUnit_0_BOARD_INITPERIPHERALS);
# DEBUG status => status_24
# DEBUG BEGIN_STMT
if (status_24 != 0)
goto <bb 3>; [33.00%]
else
goto <bb 4>; [67.00%]
<bb 3> [local count: 35433]:
# DEBUG BEGIN_STMT
debug_printf ("ADC[%d] Init failed\n", 0);
<bb 4> [local count: 107374]:
# DEBUG BEGIN_STMT
status_27 = Adc_Sar_Ip_Init (1, &AdcHwUnit_1_BOARD_INITPERIPHERALS);
# DEBUG status => status_27
# DEBUG BEGIN_STMT
if (status_27 != 0)
goto <bb 5>; [33.00%]
else
goto <bb 6>; [67.00%]
<bb 5> [local count: 35433]:
# DEBUG BEGIN_STMT
debug_printf ("ADC[%d] Init failed\n", 1);
<bb 6> [local count: 107374]:
# DEBUG BEGIN_STMT
IntCtrl_Ip_InstallHandler (180, Adc_Sar_0_Isr, 0B);
# DEBUG BEGIN_STMT
IntCtrl_Ip_InstallHandler (181, Adc_Sar_1_Isr, 0B);
# DEBUG BEGIN_STMT
IntCtrl_Ip_EnableIrq (180);
# DEBUG BEGIN_STMT
IntCtrl_Ip_EnableIrq (181);
# DEBUG BEGIN_STMT
status_34 = Adc_Sar_Ip_DoCalibration (0);
# DEBUG status => status_34
# DEBUG BEGIN_STMT
if (status_34 != 0)
goto <bb 7>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 7> [local count: 35433]:
# DEBUG BEGIN_STMT
debug_printf ("ADC[%d] Calibration failed\n", 0);
<bb 8> [local count: 107374]:
# DEBUG BEGIN_STMT
status_37 = Adc_Sar_Ip_DoCalibration (1);
# DEBUG status => status_37
# DEBUG BEGIN_STMT
if (status_37 != 0)
goto <bb 9>; [33.00%]
else
goto <bb 10>; [67.00%]
<bb 9> [local count: 35433]:
# DEBUG BEGIN_STMT
debug_printf ("ADC[%d] Calibration failed\n", 1);
<bb 10> [local count: 107374]:
# DEBUG BEGIN_STMT
Adc_Sar_Ip_EnableNotifications (0, 1);
# DEBUG BEGIN_STMT
Adc_Sar_Ip_EnableNotifications (1, 1);
# DEBUG BEGIN_STMT
Adc_Sar_Ip_StartConversion (0, 0);
# DEBUG BEGIN_STMT
Adc_Sar_Ip_StartConversion (1, 0);
# DEBUG BEGIN_STMT
Pit_Ip_Init (0, &PIT_0_InitConfig_PB);
# DEBUG BEGIN_STMT
Pit_Ip_InitChannel (0, &PIT_0_ChannelConfig_PB[0]);
# DEBUG BEGIN_STMT
Pit_Ip_EnableChannelInterrupt (0, 0);
# DEBUG BEGIN_STMT
Pit_Ip_StartChannel (0, 0, 40000);
# DEBUG BEGIN_STMT
Gvar_init ();
# DEBUG BEGIN_STMT
board_init ();
# DEBUG BEGIN_STMT
PrintLogo ();
# DEBUG BEGIN_STMT
debug_printf ("%s", "MR $ ");
<bb 11> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
cmd_main ();
# DEBUG BEGIN_STMT
<bb 12> [local count: 1073741824]:
goto <bb 11>; [100.00%]
}