local analysis of main scanning: Clock_Ip_Init (&Mcu_aClockConfigPB[0]); scanning: Siul2_Port_Ip_Init (15, &g_pin_mux_InitConfigArr0); scanning: IntCtrl_Ip_Init (&IntCtrlConfig_0); scanning: IntCtrl_Ip_ConfigIrqRouting (&intRouteConfig); scanning: IntCtrl_Ip_EnableIrq (141); scanning: IntCtrl_Ip_InstallHandler (141, LPUART_UART_IP_0_IRQHandler, 0B); scanning: Lpuart_Uart_Ip_Init (0, &Lpuart_Uart_Ip_pHwConfigPB_0_BOARD_INITPERIPHERALS); scanning: Flexio_Mcl_Ip_InitDevice (&Flexio_Ip_xFlexioInit); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch4); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch5); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch6); scanning: Flexio_Pwm_Ip_InitChannel (0, &Flexio_Pwm_Ip_BOARD_InitPeripherals_I0_Ch7); scanning: status_24 = Adc_Sar_Ip_Init (0, &AdcHwUnit_0_BOARD_INITPERIPHERALS); scanning: if (status_24 != 0) scanning: debug_printf ("ADC[%d] Init failed\n", 0); scanning: status_27 = Adc_Sar_Ip_Init (1, &AdcHwUnit_1_BOARD_INITPERIPHERALS); scanning: if (status_27 != 0) scanning: debug_printf ("ADC[%d] Init failed\n", 1); scanning: IntCtrl_Ip_InstallHandler (180, Adc_Sar_0_Isr, 0B); scanning: IntCtrl_Ip_InstallHandler (181, Adc_Sar_1_Isr, 0B); scanning: IntCtrl_Ip_EnableIrq (180); scanning: IntCtrl_Ip_EnableIrq (181); scanning: status_34 = Adc_Sar_Ip_DoCalibration (0); scanning: if (status_34 != 0) scanning: debug_printf ("ADC[%d] Calibration failed\n", 0); scanning: status_37 = Adc_Sar_Ip_DoCalibration (1); scanning: if (status_37 != 0) scanning: debug_printf ("ADC[%d] Calibration failed\n", 1); scanning: Adc_Sar_Ip_EnableNotifications (0, 1); scanning: Adc_Sar_Ip_EnableNotifications (1, 1); scanning: Adc_Sar_Ip_StartConversion (0, 0); scanning: Adc_Sar_Ip_StartConversion (1, 0); scanning: Pit_Ip_Init (0, &PIT_0_InitConfig_PB); scanning: Pit_Ip_InitChannel (0, &PIT_0_ChannelConfig_PB[0]); scanning: Pit_Ip_EnableChannelInterrupt (0, 0); scanning: Pit_Ip_StartChannel (0, 0, 40000); scanning: Gvar_init (); scanning: board_init (); scanning: PrintLogo (); scanning: debug_printf ("%s", "MR $ "); scanning: cmd_main (); ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 ;; ;; Loop 1 ;; header 11, latch 12 ;; depth 1, outer 0 ;; nodes: 11 12 ;; 2 succs { 3 4 } ;; 3 succs { 4 } ;; 4 succs { 5 6 } ;; 5 succs { 6 } ;; 6 succs { 7 8 } ;; 7 succs { 8 } ;; 8 succs { 9 10 } ;; 9 succs { 10 } ;; 10 succs { 11 } ;; 11 succs { 12 } ;; 12 succs { 11 } cannot prove finiteness of loop 1 Function is locally looping. Function is locally const. callgraph: 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_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_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: 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: 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_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_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_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: 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: 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: 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: 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 Aux: @06b2d7b0 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) ordered call graph: reduced for nothrow main/27 (main) @07ad5e00 Type: function definition analyzed Visibility: externally_visible public Aux: @06b2d7b0 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) MALLOC LATTICE Initial: main: malloc_bottom MALLOC LATTICE after propagation: main: malloc_bottom callgraph: 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_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_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: 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: 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_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_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_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: 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: 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: 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: 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 Aux: @06b2d7b0 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) ordered call graph: reduced main/27 (main) @07ad5e00 Type: function definition analyzed Visibility: externally_visible public Aux: @06b2d7b0 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) Function found to be looping pure: main Declaration updated to be looping pure: main main () { StatusType status; [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 ; [33.00%] else goto ; [67.00%] [local count: 35433]: # DEBUG BEGIN_STMT debug_printf ("ADC[%d] Init failed\n", 0); [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 ; [33.00%] else goto ; [67.00%] [local count: 35433]: # DEBUG BEGIN_STMT debug_printf ("ADC[%d] Init failed\n", 1); [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 ; [33.00%] else goto ; [67.00%] [local count: 35433]: # DEBUG BEGIN_STMT debug_printf ("ADC[%d] Calibration failed\n", 0); [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 ; [33.00%] else goto ; [67.00%] [local count: 35433]: # DEBUG BEGIN_STMT debug_printf ("ADC[%d] Calibration failed\n", 1); [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 $ "); [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT cmd_main (); # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] }