mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
403 lines
19 KiB
Plaintext
403 lines
19 KiB
Plaintext
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
|
|
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)
|
|
Clearing variable flags:
|
|
|
|
Function name:main/27:
|
|
locals read:
|
|
locals written:
|
|
|
|
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 name:main/27:
|
|
locals read:
|
|
locals written:
|
|
globals read: ALL
|
|
globals written: ALL
|
|
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%]
|
|
|
|
}
|
|
|
|
|