# Static Call Graph for image IHM08M\IHM08M.axf

#<CALLGRAPH># ARM Linker, 6220000: Last Updated: Fri Jun 5 12:07:06 2026

### Maximum Stack Usage = 568 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)

### Call chain for Maximum Stack Depth:

__rt_entry_main ⇒ main ⇒ AD_Project_Loop ⇒ AD_Modbus_Loop ⇒ process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance

### Functions with no stack information

- __user_initial_stackheap

### Mutually Recursive functions

- ADC1_2_IRQHandler ⇒ ADC1_2_IRQHandler

  ### Function Pointers

  - ADC1_2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - ADC3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - ADC4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - ADC5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - BusFault_Handler from stm32g4xx_it.o(.text.BusFault_Handler) referenced from startup_stm32g474xx.o(RESET)
  - COMP1_2_3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - COMP4_5_6_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - COMP7_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - CORDIC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - CRS_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel6_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel7_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA1_Channel8_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel6_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel7_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMA2_Channel8_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DMAMUX_OVR_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - DebugMon_Handler from stm32g4xx_it.o(.text.DebugMon_Handler) referenced from startup_stm32g474xx.o(RESET)
  - EXTI0_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - EXTI15_10_IRQHandler from stm32g4xx_it.o(.text.EXTI15_10_IRQHandler) referenced from startup_stm32g474xx.o(RESET)
  - EXTI1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - EXTI2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - EXTI3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - EXTI4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - EXTI9_5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN1_IT0_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN1_IT1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN2_IT0_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN2_IT1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN3_IT0_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FDCAN3_IT1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FLASH_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FMAC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FMC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - FPU_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_FLT_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_Master_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIMA_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIMB_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIMC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIMD_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIME_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HRTIM1_TIMF_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - HardFault_Handler from stm32g4xx_it.o(.text.HardFault_Handler) referenced from startup_stm32g474xx.o(RESET)
  - I2C1_ER_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C1_EV_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C2_ER_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C2_EV_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C3_ER_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C3_EV_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C4_ER_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - I2C4_EV_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - LPTIM1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - LPUART1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - MemManage_Handler from stm32g4xx_it.o(.text.MemManage_Handler) referenced from startup_stm32g474xx.o(RESET)
  - NMI_Handler from stm32g4xx_it.o(.text.NMI_Handler) referenced from startup_stm32g474xx.o(RESET)
  - PVD_PVM_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - PendSV_Handler from stm32g4xx_it.o(.text.PendSV_Handler) referenced from startup_stm32g474xx.o(RESET)
  - QUADSPI_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - RCC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - RNG_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - RTC_Alarm_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - RTC_TAMP_LSECSS_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - RTC_WKUP_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - Reset_Handler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SAI1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SPI1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SPI2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SPI3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SPI4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - SVC_Handler from stm32g4xx_it.o(.text.SVC_Handler) referenced from startup_stm32g474xx.o(RESET)
  - SysTick_Handler from stm32g4xx_it.o(.text.SysTick_Handler) referenced from startup_stm32g474xx.o(RESET)
  - SystemInit from system_stm32g4xx.o(.text.SystemInit) referenced from startup_stm32g474xx.o(.text)
  - TIM1_BRK_TIM15_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM1_CC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM1_TRG_COM_TIM17_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM1_UP_TIM16_IRQHandler from stm32g4xx_it.o(.text.TIM1_UP_TIM16_IRQHandler) referenced from startup_stm32g474xx.o(RESET)
  - TIM20_BRK_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM20_CC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM20_TRG_COM_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM20_UP_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM2_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM6_DAC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM7_DAC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM8_BRK_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM8_CC_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM8_TRG_COM_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - TIM8_UP_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - UART4_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - UART5_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - UART_DMAAbortOnError from stm32g4xx_hal_uart.o(.text.UART_DMAAbortOnError) referenced 2 times from stm32g4xx_hal_uart.o(.text.HAL_UART_IRQHandler)
  - UART_RxISR_16BIT from stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT_FIFOEN)
  - UART_RxISR_16BIT from stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - UART_RxISR_16BIT_FIFOEN from stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT_FIFOEN) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - UART_RxISR_8BIT from stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT_FIFOEN)
  - UART_RxISR_8BIT from stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - UART_RxISR_8BIT_FIFOEN from stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT_FIFOEN) referenced 2 times from stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - UCPD1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - USART1_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - USART2_IRQHandler from stm32g4xx_it.o(.text.USART2_IRQHandler) referenced from startup_stm32g474xx.o(RESET)
  - USART3_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - USBWakeUp_IRQHandler from stm32g4xx_it.o(.text.USBWakeUp_IRQHandler) referenced from startup_stm32g474xx.o(RESET)
  - USB_HP_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - USB_LP_IRQHandler from stm32g4xx_it.o(.text.USB_LP_IRQHandler) referenced from startup_stm32g474xx.o(RESET)
  - UsageFault_Handler from stm32g4xx_it.o(.text.UsageFault_Handler) referenced from startup_stm32g474xx.o(RESET)
  - WWDG_IRQHandler from startup_stm32g474xx.o(.text) referenced from startup_stm32g474xx.o(RESET)
  - __main from __main.o(!!!main) referenced from startup_stm32g474xx.o(.text)

  ### Global Symbols

  __main (Thumb, 8 bytes, Stack size 0 bytes, __main.o(!!!main))
  [Calls]

  - >> __scatterload
  - >> __rt_entry
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(.text)

  __scatterload (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter))
  [Called By]

  - >> __main

  __scatterload_rt2 (Thumb, 84 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)
  [Calls]

  - >> __rt_entry

  __scatterload_rt2_thumb_only (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

  __scatterload_loop (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

  __scatterload_copy (Thumb, 26 bytes, Stack size unknown bytes, __scatter_copy.o(!!handler_copy), UNUSED)
  [Calls]

  - >> __scatterload_copy
  [Called By]
  - >> __scatterload_copy

  __scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, __scatter.o(!!handler_null), UNUSED)

  __scatterload_zeroinit (Thumb, 28 bytes, Stack size unknown bytes, __scatter_zi.o(!!handler_zi), UNUSED)

  __rt_lib_init (Thumb, 0 bytes, Stack size unknown bytes, libinit.o(.ARM.Collect$$libinit$$00000000))
  [Called By]

  - >> __rt_entry_li

  __rt_lib_init_fp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000001))
  [Calls]

  - >> _fp_init

  __rt_lib_init_alloca_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000030))

  __rt_lib_init_argv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002E))

  __rt_lib_init_atexit_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001D))

  __rt_lib_init_clock_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000023))

  __rt_lib_init_cpp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000034))

  __rt_lib_init_exceptions_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000032))

  __rt_lib_init_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000021))

  __rt_lib_init_getenv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000025))

  __rt_lib_init_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000C))

  __rt_lib_init_lc_collate_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000013))

  __rt_lib_init_lc_ctype_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000015))

  __rt_lib_init_lc_monetary_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000017))

  __rt_lib_init_lc_numeric_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000019))

  __rt_lib_init_lc_time_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001B))

  __rt_lib_init_preinit_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000006))

  __rt_lib_init_rand_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000010))

  __rt_lib_init_relocate_pie_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000004))

  __rt_lib_init_return (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000035))

  __rt_lib_init_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001F))

  __rt_lib_init_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000027))

  __rt_lib_init_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000E))

  __rt_lib_shutdown (Thumb, 0 bytes, Stack size unknown bytes, libshutdown.o(.ARM.Collect$$libshutdown$$00000000))
  [Called By]

  - >> __rt_exit_ls

  __rt_lib_shutdown_cpp_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000002))

  __rt_lib_shutdown_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000007))

  __rt_lib_shutdown_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F))

  __rt_lib_shutdown_return (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000010))

  __rt_lib_shutdown_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A))

  __rt_lib_shutdown_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000004))

  __rt_lib_shutdown_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C))

  __rt_entry (Thumb, 0 bytes, Stack size unknown bytes, __rtentry.o(.ARM.Collect$$rtentry$$00000000))
  [Called By]

  - >> __scatterload_rt2
  - >> __main

  __rt_entry_presh_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$00000002))

  __rt_entry_sh (Thumb, 0 bytes, Stack size unknown bytes, __rtentry4.o(.ARM.Collect$$rtentry$$00000004))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = __rt_entry_sh ⇒ __user_setup_stackheap
  [Calls]
  - >> __user_setup_stackheap

  __rt_entry_li (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000A))
  [Calls]

  - >> __rt_lib_init

  __rt_entry_postsh_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$00000009))

  __rt_entry_main (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000D))
  [Stack]

  - Max Depth = 568 + Unknown Stack Size
  - Call Chain = __rt_entry_main ⇒ main ⇒ AD_Project_Loop ⇒ AD_Modbus_Loop ⇒ process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> main
  - >> exit

  __rt_entry_postli_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000C))

  __rt_exit (Thumb, 0 bytes, Stack size unknown bytes, rtexit.o(.ARM.Collect$$rtexit$$00000000))
  [Called By]

  - >> exit

  __rt_exit_ls (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000003))
  [Calls]

  - >> __rt_lib_shutdown

  __rt_exit_prels_1 (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000002))

  __rt_exit_exit (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000004))
  [Calls]

  - >> _sys_exit

  Reset_Handler (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  ADC1_2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Calls]

  - >> ADC1_2_IRQHandler
  [Called By]
  - >> ADC1_2_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  ADC3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  ADC4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  ADC5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  COMP1_2_3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  COMP4_5_6_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  COMP7_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  CORDIC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  CRS_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel6_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel7_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA1_Channel8_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel6_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel7_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMA2_Channel8_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DMAMUX_OVR_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI9_5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN1_IT0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN1_IT1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN2_IT0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN2_IT1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN3_IT0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FDCAN3_IT1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FLASH_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FMAC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FMC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  FPU_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_FLT_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_Master_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIMA_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIMB_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIMC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIMD_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIME_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  HRTIM1_TIMF_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C1_ER_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C1_EV_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C2_ER_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C2_EV_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C3_ER_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C3_EV_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C4_ER_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  I2C4_EV_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  LPTIM1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  LPUART1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  PVD_PVM_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  QUADSPI_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  RCC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  RNG_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  RTC_Alarm_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  RTC_TAMP_LSECSS_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  RTC_WKUP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SAI1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SPI1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SPI2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SPI3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SPI4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM1_BRK_TIM15_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM1_CC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM1_TRG_COM_TIM17_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM20_BRK_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM20_CC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM20_TRG_COM_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM20_UP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM6_DAC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM7_DAC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM8_BRK_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM8_CC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM8_TRG_COM_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  TIM8_UP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  UART4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  UART5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  UCPD1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  USART1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  USART3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  USB_HP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  WWDG_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32g474xx.o(.text))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  __user_initial_stackheap (Thumb, 0 bytes, Stack size unknown bytes, startup_stm32g474xx.o(.text))
  [Called By]

  - >> __user_setup_stackheap

  __aeabi_uldivmod (Thumb, 0 bytes, Stack size 48 bytes, lludivv7m.o(.text))
  [Stack]

  - Max Depth = 48
  - Call Chain = __aeabi_uldivmod
  [Called By]
  - >> UART_SetConfig

  _ll_udiv (Thumb, 240 bytes, Stack size 48 bytes, lludivv7m.o(.text), UNUSED)

  __aeabi_memcpy (Thumb, 0 bytes, Stack size 0 bytes, rt_memcpy_v6.o(.text))
  [Called By]

  - >> ep0_send
  - >> AD_CAN_Telemetry_QueuePacket
  - >> AD_USB_CDC_WritePacket
  - >> AD_CAN_Telemetry_Loop
  - >> HAL_UARTEx_RxEventCallback
  - >> AD_Modbus_Loop
  - >> AD_Debug_Update

  __rt_memcpy (Thumb, 138 bytes, Stack size 0 bytes, rt_memcpy_v6.o(.text), UNUSED)
  [Calls]

  - >> __aeabi_memcpy4

  _memcpy_lastbytes (Thumb, 0 bytes, Stack size unknown bytes, rt_memcpy_v6.o(.text), UNUSED)

  __aeabi_memcpy4 (Thumb, 0 bytes, Stack size 8 bytes, rt_memcpy_w.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = __aeabi_memcpy4
  [Called By]
  - >> AD_Debug_Update
  - >> __rt_memcpy

  __aeabi_memcpy8 (Thumb, 0 bytes, Stack size 8 bytes, rt_memcpy_w.o(.text), UNUSED)

  __rt_memcpy_w (Thumb, 100 bytes, Stack size 8 bytes, rt_memcpy_w.o(.text), UNUSED)

  _memcpy_lastbytes_aligned (Thumb, 0 bytes, Stack size unknown bytes, rt_memcpy_w.o(.text), UNUSED)

  __aeabi_memclr (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr.o(.text))
  [Called By]

  - >> AD_CAN_Telemetry_Init
  - >> AD_USB_CDC_Init
  - >> AD_Modbus_Init

  __rt_memclr (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr.o(.text), UNUSED)

  _memset (Thumb, 64 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)
  [Calls]

  - >> _memset_w

  __aeabi_memclr4 (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr_w.o(.text))
  [Called By]

  - >> AD_CAN_Telemetry_Loop
  - >> AD_CAN_Telemetry_Init
  - >> AD_USB_CDC_Init
  - >> set_default_command
  - >> AD_Debug_Init
  - >> AD_Modbus_Init
  - >> AD_BinaryTransport_Init
  - >> AD_ParamID_Init
  - >> AD_Board_ReadMeasurements
  - >> SimulinkInterface_Init
  - >> board_apply_command
  - >> board_adc_init
  - >> SystemClock_Config
  - >> MX_TIM1_Init

  __aeabi_memclr8 (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr_w.o(.text), UNUSED)

  __rt_memclr_w (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr_w.o(.text), UNUSED)

  _memset_w (Thumb, 74 bytes, Stack size 4 bytes, rt_memclr_w.o(.text), UNUSED)
  [Called By]

  - >> _memset

  __use_two_region_memory (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __rt_heap_escrow$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __rt_heap_expand$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __user_setup_stackheap (Thumb, 74 bytes, Stack size 8 bytes, sys_stackheap_outer.o(.text))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = __user_setup_stackheap
  [Calls]
  - >> __user_initial_stackheap
  - >> __user_perproc_libspace
  [Called By]
  - >> __rt_entry_sh

  exit (Thumb, 18 bytes, Stack size 8 bytes, exit.o(.text))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = exit
  [Calls]
  - >> __rt_exit
  [Called By]
  - >> __rt_entry_main

  __user_libspace (Thumb, 8 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

  __user_perproc_libspace (Thumb, 0 bytes, Stack size 0 bytes, libspace.o(.text))
  [Called By]

  - >> __user_setup_stackheap

  __user_perthread_libspace (Thumb, 0 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

  _sys_exit (Thumb, 8 bytes, Stack size 0 bytes, sys_exit.o(.text))
  [Called By]

  - >> __rt_exit_exit

  __I$use$semihosting (Thumb, 0 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

  __use_no_semihosting_swi (Thumb, 2 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

  __semihosting_library_function (Thumb, 0 bytes, Stack size unknown bytes, indicate_semi.o(.text), UNUSED)

  AD_BinaryTransport_GetProtocol (Thumb, 12 bytes, Stack size 0 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_GetProtocol))
  [Called By]

  - >> read_register_live

  AD_BinaryTransport_GetState (Thumb, 16 bytes, Stack size 8 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_GetState))
  [Stack]

  - Max Depth = 36
  - Call Chain = AD_BinaryTransport_GetState ⇒ update_status_flags ⇒ AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  [Called By]
  - >> AD_Debug_Update
  - >> project_update_state

  AD_BinaryTransport_GetTransport (Thumb, 12 bytes, Stack size 0 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_GetTransport))
  [Called By]

  - >> read_register_live

  AD_BinaryTransport_Init (Thumb, 120 bytes, Stack size 24 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_Init))
  [Stack]

  - Max Depth = 192 + Unknown Stack Size
  - Call Chain = AD_BinaryTransport_Init ⇒ AD_USB_CDC_Init ⇒ HAL_PCD_Init ⇒ HAL_PCD_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> AD_CAN_Telemetry_Init
  - >> AD_USB_CDC_Init
  - >> update_status_flags
  - >> AD_BinaryTransport_IsTransportValid
  - >> AD_BinaryTransport_IsProtocolValid
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Project_Init

  AD_BinaryTransport_IsProtocolValid (Thumb, 44 bytes, Stack size 8 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_IsProtocolValid))
  [Stack]

  - Max Depth = 8
  - Call Chain = AD_BinaryTransport_IsProtocolValid
  [Called By]
  - >> AD_BinaryTransport_SetProtocol
  - >> stage_register_write
  - >> AD_BinaryTransport_Init

  AD_BinaryTransport_IsTransportValid (Thumb, 58 bytes, Stack size 8 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_IsTransportValid))
  [Stack]

  - Max Depth = 8
  - Call Chain = AD_BinaryTransport_IsTransportValid
  [Called By]
  - >> AD_BinaryTransport_SetTransport
  - >> stage_register_write
  - >> AD_BinaryTransport_Init

  AD_BinaryTransport_Loop (Thumb, 350 bytes, Stack size 24 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_Loop))
  [Stack]

  - Max Depth = 308 + Unknown Stack Size
  - Call Chain = AD_BinaryTransport_Loop ⇒ AD_USB_CDC_WritePacket ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> AD_CAN_Telemetry_QueuePacket
  - >> AD_USB_CDC_WritePacket
  - >> AD_CAN_Telemetry_Loop
  - >> AD_USB_CDC_Loop
  - >> transport_uses_can
  - >> transport_uses_usb
  - >> update_status_flags
  - >> SimulinkInterface_GetTelemetryBytes
  - >> SimulinkInterface_GetTelemetrySize
  - >> HAL_GetTick
  [Called By]
  - >> AD_Project_Loop

  AD_BinaryTransport_SetProtocol (Thumb, 62 bytes, Stack size 16 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_SetProtocol))
  [Stack]

  - Max Depth = 44
  - Call Chain = AD_BinaryTransport_SetProtocol ⇒ update_status_flags ⇒ AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  - >> AD_BinaryTransport_IsProtocolValid
  [Called By]
  - >> apply_write_effects

  AD_BinaryTransport_SetTransport (Thumb, 62 bytes, Stack size 16 bytes, ad_binary_transport.o(.text.AD_BinaryTransport_SetTransport))
  [Stack]

  - Max Depth = 44
  - Call Chain = AD_BinaryTransport_SetTransport ⇒ update_status_flags ⇒ AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  - >> AD_BinaryTransport_IsTransportValid
  [Called By]
  - >> apply_write_effects

  AD_Board_GetAdcSnapshot (Thumb, 10 bytes, Stack size 0 bytes, ad_board.o(.text.AD_Board_GetAdcSnapshot))
  [Called By]

  - >> AD_Debug_Update

  AD_Board_GetPhaseShuntResistanceOhm (Thumb, 8 bytes, Stack size 8 bytes, ad_board.o(.text.AD_Board_GetPhaseShuntResistanceOhm))
  [Stack]

  - Max Depth = 24
  - Call Chain = AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> board_phase_shunt_resistance_ohm
  [Called By]
  - >> read_register_live

  AD_Board_Init (Thumb, 132 bytes, Stack size 16 bytes, ad_board.o(.text.AD_Board_Init))
  [Stack]

  - Max Depth = 144 + Unknown Stack Size
  - Call Chain = AD_Board_Init ⇒ board_adc_init ⇒ board_adc_zero_calibrate ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> SimulinkInterface_Init
  - >> AD_Inverter_Init
  - >> HAL_GetTick
  - >> board_apply_command
  - >> board_adc_init
  - >> board_set_led
  [Called By]
  - >> AD_Project_Init

  AD_Board_Loop (Thumb, 108 bytes, Stack size 80 bytes, ad_board.o(.text.AD_Board_Loop))
  [Stack]

  - Max Depth = 504 + Unknown Stack Size
  - Call Chain = AD_Board_Loop ⇒ SimulinkInterface_StepFast ⇒ AD_ParamID_StepFast ⇒ AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> SimulinkInterface_StepSlow
  - >> SimulinkInterface_StepFast
  - >> SimulinkInterface_SetMeasurements
  - >> AD_Board_ToggleDataLogging
  - >> AD_Board_ReadMeasurements
  - >> HAL_GetTick
  - >> board_update_led
  [Called By]
  - >> AD_Project_Loop

  AD_Board_ReadMeasurements (Thumb, 76 bytes, Stack size 16 bytes, ad_board.o(.text.AD_Board_ReadMeasurements))
  [Stack]

  - Max Depth = 168 + Unknown Stack Size
  - Call Chain = AD_Board_ReadMeasurements ⇒ board_update_torque_estimate ⇒ board_electrical_torque_estimate ⇒ board_rms_torque_power_estimate ⇒ board_phase_voltage_rms_estimate ⇒ board_sqrtf
  [Calls]
  - >> HAL_GetTick
  - >> board_update_slip_measurement
  - >> board_update_torque_estimate
  - >> board_update_current_rms
  - >> board_adc_update_measurements
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Board_Loop

  AD_Board_ResetAdcFaults (Thumb, 8 bytes, Stack size 8 bytes, ad_board.o(.text.AD_Board_ResetAdcFaults))
  [Stack]

  - Max Depth = 136 + Unknown Stack Size
  - Call Chain = AD_Board_ResetAdcFaults ⇒ board_adc_init ⇒ board_adc_zero_calibrate ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> board_adc_init
  [Called By]
  - >> apply_write_effects

  AD_Board_SetPhaseShuntResistanceOhm (Thumb, 86 bytes, Stack size 16 bytes, ad_board.o(.text.AD_Board_SetPhaseShuntResistanceOhm))
  [Stack]

  - Max Depth = 24
  - Call Chain = AD_Board_SetPhaseShuntResistanceOhm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> board_normalize_phase_shunt_resistance
  [Called By]
  - >> apply_write_effects

  AD_Board_StartDataLogging (Thumb, 28 bytes, Stack size 8 bytes, ad_board.o(.text.AD_Board_StartDataLogging))
  [Stack]

  - Max Depth = 108 + Unknown Stack Size
  - Call Chain = AD_Board_StartDataLogging ⇒ board_apply_command ⇒ SimulinkInterface_SetCommand
  [Calls]
  - >> board_apply_command
  [Called By]
  - >> AD_Board_ToggleDataLogging

  AD_Board_StopParamTest (Thumb, 36 bytes, Stack size 8 bytes, ad_board.o(.text.AD_Board_StopParamTest))
  [Stack]

  - Max Depth = 112 + Unknown Stack Size
  - Call Chain = AD_Board_StopParamTest ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_Stop
  - >> AD_Inverter_Disable
  - >> board_apply_command
  [Called By]
  - >> AD_Board_ToggleDataLogging

  AD_Board_ToggleDataLogging (Thumb, 30 bytes, Stack size 8 bytes, ad_board.o(.text.AD_Board_ToggleDataLogging))
  [Stack]

  - Max Depth = 120 + Unknown Stack Size
  - Call Chain = AD_Board_ToggleDataLogging ⇒ AD_Board_StopParamTest ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_Board_StopParamTest
  - >> AD_Board_StartDataLogging
  [Called By]
  - >> AD_Board_Loop

  AD_CAN_Telemetry_GetState (Thumb, 16 bytes, Stack size 8 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_GetState))
  [Stack]

  - Max Depth = 12
  - Call Chain = AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  [Called By]
  - >> update_status_flags

  AD_CAN_Telemetry_Init (Thumb, 368 bytes, Stack size 40 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_Init))
  [Stack]

  - Max Depth = 148 + Unknown Stack Size
  - Call Chain = AD_CAN_Telemetry_Init ⇒ HAL_FDCAN_Init ⇒ HAL_FDCAN_MspInit ⇒ HAL_GPIO_Init
  [Calls]
  - >> HAL_FDCAN_Start
  - >> HAL_FDCAN_ConfigGlobalFilter
  - >> HAL_FDCAN_GetError
  - >> HAL_FDCAN_Init
  - >> update_status_flags
  - >> __aeabi_memclr4
  - >> __aeabi_memclr
  [Called By]
  - >> AD_BinaryTransport_Init

  AD_CAN_Telemetry_IsStarted (Thumb, 12 bytes, Stack size 0 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_IsStarted))
  [Called By]

  - >> update_status_flags

  AD_CAN_Telemetry_IsTxBusy (Thumb, 12 bytes, Stack size 0 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_IsTxBusy))
  [Called By]

  - >> update_status_flags

  AD_CAN_Telemetry_Loop (Thumb, 450 bytes, Stack size 88 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_Loop))
  [Stack]

  - Max Depth = 152 + Unknown Stack Size
  - Call Chain = AD_CAN_Telemetry_Loop ⇒ HAL_FDCAN_AddMessageToTxFifoQ ⇒ FDCAN_CopyMessageToRAM
  [Calls]
  - >> HAL_FDCAN_AddMessageToTxFifoQ
  - >> HAL_FDCAN_GetTxFifoFreeLevel
  - >> HAL_FDCAN_GetError
  - >> can_dlc_from_len
  - >> update_status_flags
  - >> __aeabi_memclr4
  - >> __aeabi_memcpy
  [Called By]
  - >> AD_CAN_Telemetry_QueuePacket
  - >> AD_BinaryTransport_Loop

  AD_CAN_Telemetry_QueuePacket (Thumb, 234 bytes, Stack size 24 bytes, ad_can_telemetry.o(.text.AD_CAN_Telemetry_QueuePacket))
  [Stack]

  - Max Depth = 176 + Unknown Stack Size
  - Call Chain = AD_CAN_Telemetry_QueuePacket ⇒ AD_CAN_Telemetry_Loop ⇒ HAL_FDCAN_AddMessageToTxFifoQ ⇒ FDCAN_CopyMessageToRAM
  [Calls]
  - >> AD_CAN_Telemetry_Loop
  - >> update_status_flags
  - >> __aeabi_memcpy
  [Called By]
  - >> AD_BinaryTransport_Loop

  AD_Debug_Init (Thumb, 24 bytes, Stack size 8 bytes, ad_project.o(.text.AD_Debug_Init))
  [Stack]

  - Max Depth = 352 + Unknown Stack Size
  - Call Chain = AD_Debug_Init ⇒ AD_Debug_Update ⇒ AD_Modbus_GetRegisters ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Debug_Update
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Project_Init

  AD_Debug_Update (Thumb, 914 bytes, Stack size 112 bytes, ad_project.o(.text.AD_Debug_Update))
  [Stack]

  - Max Depth = 344
  - Call Chain = AD_Debug_Update ⇒ AD_Modbus_GetRegisters ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> SimulinkInterface_GetOutputBus
  - >> AD_Modbus_GetRegisters
  - >> AD_Project_GetState
  - >> AD_BinaryTransport_GetState
  - >> AD_Modbus_GetState
  - >> AD_ParamID_GetFaults
  - >> AD_ParamID_GetMode
  - >> AD_ParamID_GetLastMeasurements
  - >> AD_ParamID_IsPowerStageAllowed
  - >> AD_ParamID_GetStatus
  - >> AD_Board_GetAdcSnapshot
  - >> AD_ParamID_GetParameters
  - >> AD_Inverter_GetState
  - >> HAL_GetTick
  - >> __aeabi_memcpy4
  - >> __aeabi_memcpy
  [Called By]
  - >> AD_Debug_Init
  - >> AD_Project_Loop

  AD_Inverter_ApplyCommand (Thumb, 166 bytes, Stack size 16 bytes, ad_inverter.o(.text.AD_Inverter_ApplyCommand))
  [Stack]

  - Max Depth = 120
  - Call Chain = AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_ParamID_IsPowerStageAllowed
  - >> AD_Inverter_Enable
  - >> AD_Inverter_SetDuty
  - >> AD_Inverter_Disable
  [Called By]
  - >> id_apply_six_step_sector
  - >> id_apply_rotating_vector
  - >> id_apply_dc_vector

  AD_Inverter_Disable (Thumb, 116 bytes, Stack size 24 bytes, ad_inverter.o(.text.AD_Inverter_Disable))
  [Stack]

  - Max Depth = 88
  - Call Chain = AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> HAL_TIM_PWM_Stop
  - >> HAL_TIMEx_PWMN_Stop
  - >> AD_Inverter_SetDuty
  - >> inverter_disable_update_irq
  - >> rotation_pwm_stop
  [Called By]
  - >> AD_ParamID_HardwareStep
  - >> AD_ParamID_HardwareDisable
  - >> AD_Inverter_ApplyCommand
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_Enable
  - >> AD_Inverter_SetPwmTimingMode
  - >> AD_Inverter_SetPwmPolarityFlags
  - >> id_step_locked_rr
  - >> id_step_ls
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> id_step_rs
  - >> AD_Board_StopParamTest
  - >> AD_Inverter_Init

  AD_Inverter_Enable (Thumb, 312 bytes, Stack size 16 bytes, ad_inverter.o(.text.AD_Inverter_Enable))
  [Stack]

  - Max Depth = 104
  - Call Chain = AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> HAL_TIMEx_PWMN_Start
  - >> HAL_TIM_PWM_Start
  - >> AD_ParamID_IsPowerStageAllowed
  - >> inverter_enable_update_irq
  - >> inverter_clear_break_flags
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_Inverter_ApplyCommand
  - >> AD_Inverter_StartPwmOutput
  - >> id_configure_rotation_pwm

  AD_Inverter_GetState (Thumb, 10 bytes, Stack size 0 bytes, ad_inverter.o(.text.AD_Inverter_GetState))
  [Called By]

  - >> read_register_live
  - >> AD_Debug_Update
  - >> project_update_state
  - >> board_torque_omega_from_pwm
  - >> board_update_phase_voltage_estimate
  - >> board_update_slip_measurement

  AD_Inverter_Init (Thumb, 90 bytes, Stack size 16 bytes, ad_inverter.o(.text.AD_Inverter_Init))
  [Stack]

  - Max Depth = 104
  - Call Chain = AD_Inverter_Init ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> id_runtime_reset
  - >> inverter_write_pwm_timing
  - >> inverter_write_pwm_polarity
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_Board_Init

  AD_Inverter_SetDuty (Thumb, 128 bytes, Stack size 32 bytes, ad_inverter.o(.text.AD_Inverter_SetDuty))
  [Stack]

  - Max Depth = 64
  - Call Chain = AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> duty_to_compare
  - >> clamp01
  [Called By]
  - >> AD_Inverter_ApplyCommand
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_SetPwmTimingMode
  - >> rotation_pwm_apply_six_step
  - >> rotation_pwm_service_update
  - >> AD_Inverter_Disable

  AD_Inverter_SetPwmPolarityFlags (Thumb, 90 bytes, Stack size 16 bytes, ad_inverter.o(.text.AD_Inverter_SetPwmPolarityFlags))
  [Stack]

  - Max Depth = 104
  - Call Chain = AD_Inverter_SetPwmPolarityFlags ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> inverter_write_pwm_polarity
  - >> AD_Inverter_Disable
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_Inverter_SetPwmTimingMode (Thumb, 112 bytes, Stack size 16 bytes, ad_inverter.o(.text.AD_Inverter_SetPwmTimingMode))
  [Stack]

  - Max Depth = 104
  - Call Chain = AD_Inverter_SetPwmTimingMode ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_Inverter_SetDuty
  - >> inverter_write_pwm_timing
  - >> AD_Inverter_Disable
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_Inverter_StartPwmOutput (Thumb, 680 bytes, Stack size 64 bytes, ad_inverter.o(.text.AD_Inverter_StartPwmOutput))
  [Stack]

  - Max Depth = 168
  - Call Chain = AD_Inverter_StartPwmOutput ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> HAL_TIMEx_PWMN_Start
  - >> HAL_TIM_PWM_Start
  - >> AD_ParamID_IsPowerStageAllowed
  - >> AD_Inverter_Enable
  - >> AD_Inverter_SetDuty
  - >> duty_to_compare_inverted
  - >> set_service_debug_duty
  - >> inverter_clear_break_flags
  - >> duty_to_compare
  - >> clamp01
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_ParamID_HardwareStep

  AD_Modbus_GetRegisters (Thumb, 16 bytes, Stack size 8 bytes, ad_modbus.o(.text.AD_Modbus_GetRegisters))
  [Stack]

  - Max Depth = 232
  - Call Chain = AD_Modbus_GetRegisters ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  [Called By]
  - >> AD_Debug_Update

  AD_Modbus_GetState (Thumb, 10 bytes, Stack size 0 bytes, ad_modbus.o(.text.AD_Modbus_GetState))
  [Called By]

  - >> AD_Debug_Update
  - >> project_update_state

  AD_Modbus_Init (Thumb, 172 bytes, Stack size 24 bytes, ad_modbus.o(.text.AD_Modbus_Init))
  [Stack]

  - Max Depth = 248 + Unknown Stack Size
  - Call Chain = AD_Modbus_Init ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  - >> restart_uart_rx
  - >> set_default_command
  - >> __aeabi_memclr4
  - >> __aeabi_memclr
  [Called By]
  - >> AD_Project_Init

  AD_Modbus_Loop (Thumb, 206 bytes, Stack size 152 bytes, ad_modbus.o(.text.AD_Modbus_Loop))
  [Stack]

  - Max Depth = 544 + Unknown Stack Size
  - Call Chain = AD_Modbus_Loop ⇒ process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  - >> process_frame
  - >> __aeabi_memcpy
  [Called By]
  - >> AD_Project_Loop

  AD_Modbus_RefreshRegisters (Thumb, 102 bytes, Stack size 16 bytes, ad_modbus.o(.text.AD_Modbus_RefreshRegisters))
  [Stack]

  - Max Depth = 224
  - Call Chain = AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> read_register_live
  - >> register_is_readable
  - >> refresh_command_shadow
  [Called By]
  - >> write_register
  - >> process_write_multiple
  - >> process_read_holding
  - >> AD_Modbus_GetRegisters
  - >> AD_Modbus_Loop
  - >> AD_Modbus_Init

  AD_ParamID_GetFaults (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetFaults))
  [Called By]

  - >> read_register_live
  - >> SimulinkInterface_UpdateInputs
  - >> AD_Debug_Update
  - >> project_update_state

  AD_ParamID_GetLastMeasurements (Thumb, 10 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetLastMeasurements))
  [Called By]

  - >> read_register_live
  - >> AD_Debug_Update

  AD_ParamID_GetMode (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetMode))
  [Called By]

  - >> read_register_live
  - >> SimulinkInterface_UpdateInputs
  - >> SimulinkInterface_UnpackCommand
  - >> AD_Debug_Update

  AD_ParamID_GetMotorControlType (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetMotorControlType))
  [Called By]

  - >> id_step_rotation_3hz

  AD_ParamID_GetParameters (Thumb, 10 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetParameters))
  [Called By]

  - >> read_register_live
  - >> SimulinkInterface_UpdateInputs
  - >> AD_Debug_Update
  - >> id_get_nominal_frequency_hz
  - >> id_has_valid_parameters
  - >> id_store_rr
  - >> id_store_ls
  - >> id_store_inertia_friction
  - >> id_store_lm
  - >> id_step_locked_rr
  - >> id_store_rs
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> board_electrical_torque_estimate
  - >> board_mechanical_torque_estimate
  - >> board_update_slip_measurement

  AD_ParamID_GetPhaseCurrentPeaks (Thumb, 10 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetPhaseCurrentPeaks))
  [Called By]

  - >> read_register_live

  AD_ParamID_GetPolePairs (Thumb, 112 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetPolePairs))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_GetPolePairs
  [Called By]
  - >> write_register
  - >> process_write_multiple
  - >> read_register_live

  AD_ParamID_GetPwmDutyLimit (Thumb, 14 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetPwmDutyLimit))
  [Called By]

  - >> id_get_test_duty

  AD_ParamID_GetRotationFrequencyHz (Thumb, 14 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetRotationFrequencyHz))
  [Called By]

  - >> id_step_rotation_3hz

  AD_ParamID_GetRotationModulation (Thumb, 14 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetRotationModulation))
  [Called By]

  - >> id_get_rotation_test_duty

  AD_ParamID_GetRotationRampTimeMs (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetRotationRampTimeMs))
  [Called By]

  - >> id_configure_rotation_pwm

  AD_ParamID_GetStatus (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_GetStatus))
  [Called By]

  - >> read_register_live
  - >> SimulinkInterface_UpdateInputs
  - >> SimulinkInterface_UnpackCommand
  - >> AD_Debug_Update
  - >> project_update_state
  - >> board_update_led

  AD_ParamID_HardwareDisable (Thumb, 8 bytes, Stack size 8 bytes, ad_inverter.o(.text.AD_ParamID_HardwareDisable))
  [Stack]

  - Max Depth = 96
  - Call Chain = AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_ParamID_SetSoftwareEnable
  - >> AD_ParamID_Start
  - >> enter_data_logging_blocked
  - >> AD_ParamID_Stop

  AD_ParamID_HardwareStep (Thumb, 360 bytes, Stack size 32 bytes, ad_inverter.o(.text.AD_ParamID_HardwareStep))
  [Stack]

  - Max Depth = 376
  - Call Chain = AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_ParamID_MarkStepFailed
  - >> AD_ParamID_MarkComplete
  - >> AD_Inverter_StartPwmOutput
  - >> id_step_rotation_3hz
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> id_step_auto
  - >> id_step_locked_rotor
  - >> id_step_rs
  - >> id_get_test_duty
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_ParamID_StepSlow
  - >> AD_ParamID_StepFast

  AD_ParamID_Init (Thumb, 222 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.AD_ParamID_Init))
  [Stack]

  - Max Depth = 16 + Unknown Stack Size
  - Call Chain = AD_ParamID_Init
  [Calls]
  - >> __aeabi_memclr4
  [Called By]
  - >> SimulinkInterface_Init

  AD_ParamID_IsLockedRotorAllowed (Thumb, 12 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_IsLockedRotorAllowed))
  [Called By]

  - >> id_step_auto

  AD_ParamID_IsPowerStageAllowed (Thumb, 76 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_IsPowerStageAllowed))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_IsPowerStageAllowed
  [Called By]
  - >> read_register_live
  - >> AD_Debug_Update
  - >> AD_ParamID_StepSlow
  - >> AD_ParamID_StepFast
  - >> AD_Inverter_ApplyCommand
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_Enable

  AD_ParamID_MarkComplete (Thumb, 24 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.AD_ParamID_MarkComplete))
  [Stack]

  - Max Depth = 112
  - Call Chain = AD_ParamID_MarkComplete ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_Stop
  [Called By]
  - >> AD_ParamID_HardwareStep

  AD_ParamID_MarkLockedRotorSkipped (Thumb, 18 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_MarkLockedRotorSkipped))
  [Called By]

  - >> id_step_auto

  AD_ParamID_MarkPartialComplete (Thumb, 18 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_MarkPartialComplete))
  [Called By]

  - >> id_finish_auto_partial

  AD_ParamID_MarkStepFailed (Thumb, 18 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_MarkStepFailed))
  [Called By]

  - >> AD_ParamID_HardwareStep
  - >> id_finish_auto_partial

  AD_ParamID_Reset (Thumb, 42 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.AD_ParamID_Reset))
  [Stack]

  - Max Depth = 112
  - Call Chain = AD_ParamID_Reset ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> update_limit_status
  - >> AD_ParamID_Stop
  [Called By]
  - >> apply_write_effects
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_ResetPhaseCurrentPeaks (Thumb, 18 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.AD_ParamID_ResetPhaseCurrentPeaks))
  [Called By]

  - >> apply_write_effects

  AD_ParamID_SetLockedRotorAllowed (Thumb, 30 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetLockedRotorAllowed))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetLockedRotorAllowed
  [Called By]
  - >> apply_write_effects

  AD_ParamID_SetMotorControlType (Thumb, 48 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetMotorControlType))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetMotorControlType
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetParameters (Thumb, 132 bytes, Stack size 28 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetParameters))
  [Stack]

  - Max Depth = 28
  - Call Chain = AD_ParamID_SetParameters
  [Called By]
  - >> id_store_rr
  - >> id_store_ls
  - >> id_store_inertia_friction
  - >> id_store_lm
  - >> id_store_rs

  AD_ParamID_SetPolePairs (Thumb, 120 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetPolePairs))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetPolePairs
  [Called By]
  - >> apply_write_effects

  AD_ParamID_SetPwmDutyLimit (Thumb, 104 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetPwmDutyLimit))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetPwmDutyLimit
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetRotationFrequencyHz (Thumb, 140 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetRotationFrequencyHz))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetRotationFrequencyHz
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetRotationModulation (Thumb, 144 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetRotationModulation))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetRotationModulation
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetRotationRampTimeMs (Thumb, 108 bytes, Stack size 4 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetRotationRampTimeMs))
  [Stack]

  - Max Depth = 4
  - Call Chain = AD_ParamID_SetRotationRampTimeMs
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetSafetyLimits (Thumb, 64 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetSafetyLimits))
  [Stack]

  - Max Depth = 16
  - Call Chain = AD_ParamID_SetSafetyLimits
  [Calls]
  - >> update_limit_status
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_SetSoftwareEnable (Thumb, 194 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.AD_ParamID_SetSoftwareEnable))
  [Stack]

  - Max Depth = 112
  - Call Chain = AD_ParamID_SetSoftwareEnable ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_HardwareDisable
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_Start (Thumb, 274 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.AD_ParamID_Start))
  [Stack]

  - Max Depth = 120
  - Call Chain = AD_ParamID_Start ⇒ enter_data_logging_blocked ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> mode_requires_power
  - >> enter_data_logging_blocked
  - >> mode_is_valid
  - >> AD_ParamID_HardwareDisable
  - >> AD_ParamID_Stop
  [Called By]
  - >> SimulinkInterface_UnpackCommand

  AD_ParamID_StepFast (Thumb, 436 bytes, Stack size 40 bytes, ad_parameter_identification.o(.text.AD_ParamID_StepFast))
  [Stack]

  - Max Depth = 416
  - Call Chain = AD_ParamID_StepFast ⇒ AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> elapsed_us
  - >> mode_uses_test_timeout
  - >> update_safety_from_measurements
  - >> update_phase_current_peaks
  - >> set_fault
  - >> mode_requires_power
  - >> enter_data_logging_blocked
  - >> update_limit_status
  - >> AD_ParamID_HardwareStep
  - >> AD_ParamID_IsPowerStageAllowed
  [Called By]
  - >> SimulinkInterface_StepFast

  AD_ParamID_StepSlow (Thumb, 130 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.AD_ParamID_StepSlow))
  [Stack]

  - Max Depth = 384
  - Call Chain = AD_ParamID_StepSlow ⇒ AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> mode_requires_power
  - >> enter_data_logging_blocked
  - >> AD_ParamID_HardwareStep
  - >> AD_ParamID_IsPowerStageAllowed
  [Called By]
  - >> SimulinkInterface_StepSlow

  AD_ParamID_Stop (Thumb, 70 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.AD_ParamID_Stop))
  [Stack]

  - Max Depth = 104
  - Call Chain = AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_HardwareDisable
  [Called By]
  - >> apply_write_effects
  - >> SimulinkInterface_UnpackCommand
  - >> AD_ParamID_Start
  - >> AD_ParamID_Reset
  - >> set_fault
  - >> AD_ParamID_MarkComplete
  - >> AD_Board_StopParamTest

  AD_Project_GetState (Thumb, 10 bytes, Stack size 0 bytes, ad_project.o(.text.AD_Project_GetState))
  [Called By]

  - >> AD_Debug_Update

  AD_Project_Init (Thumb, 66 bytes, Stack size 16 bytes, ad_project.o(.text.AD_Project_Init))
  [Stack]

  - Max Depth = 368 + Unknown Stack Size
  - Call Chain = AD_Project_Init ⇒ AD_Debug_Init ⇒ AD_Debug_Update ⇒ AD_Modbus_GetRegisters ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Debug_Init
  - >> AD_Modbus_Init
  - >> AD_BinaryTransport_Init
  - >> project_update_state
  - >> AD_Board_Init
  [Called By]
  - >> main

  AD_Project_Loop (Thumb, 42 bytes, Stack size 8 bytes, ad_project.o(.text.AD_Project_Loop))
  [Stack]

  - Max Depth = 552 + Unknown Stack Size
  - Call Chain = AD_Project_Loop ⇒ AD_Modbus_Loop ⇒ process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_Loop
  - >> AD_BinaryTransport_Loop
  - >> AD_Debug_Update
  - >> project_update_state
  - >> AD_Board_Loop
  [Called By]
  - >> main

  AD_USB_CDC_GetState (Thumb, 16 bytes, Stack size 8 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_GetState))
  [Stack]

  - Max Depth = 12
  - Call Chain = AD_USB_CDC_GetState ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  [Called By]
  - >> update_status_flags

  AD_USB_CDC_IRQHandler (Thumb, 16 bytes, Stack size 8 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_IRQHandler))
  [Stack]

  - Max Depth = 452
  - Call Chain = AD_USB_CDC_IRQHandler ⇒ HAL_PCD_IRQHandler ⇒ PCD_EP_ISR_Handler ⇒ HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_IRQHandler
  [Called By]
  - >> USBWakeUp_IRQHandler
  - >> USB_LP_IRQHandler

  AD_USB_CDC_Init (Thumb, 480 bytes, Stack size 32 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_Init))
  [Stack]

  - Max Depth = 168 + Unknown Stack Size
  - Call Chain = AD_USB_CDC_Init ⇒ HAL_PCD_Init ⇒ HAL_PCD_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_PCD_DevConnect
  - >> HAL_PCD_Start
  - >> HAL_PCDEx_PMAConfig
  - >> HAL_PCD_Init
  - >> update_status_flags
  - >> HAL_GetTick
  - >> __aeabi_memclr4
  - >> __aeabi_memclr
  [Called By]
  - >> AD_BinaryTransport_Init

  AD_USB_CDC_IsConfigured (Thumb, 12 bytes, Stack size 0 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_IsConfigured))
  [Called By]

  - >> update_status_flags

  AD_USB_CDC_IsTxBusy (Thumb, 12 bytes, Stack size 0 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_IsTxBusy))
  [Called By]

  - >> update_status_flags

  AD_USB_CDC_Loop (Thumb, 8 bytes, Stack size 8 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_Loop))
  [Stack]

  - Max Depth = 12
  - Call Chain = AD_USB_CDC_Loop ⇒ update_status_flags
  [Calls]
  - >> update_status_flags
  [Called By]
  - >> AD_BinaryTransport_Loop

  AD_USB_CDC_WritePacket (Thumb, 236 bytes, Stack size 32 bytes, ad_usb_cdc.o(.text.AD_USB_CDC_WritePacket))
  [Stack]

  - Max Depth = 284
  - Call Chain = AD_USB_CDC_WritePacket ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_Transmit
  - >> update_status_flags
  - >> __aeabi_memcpy
  [Called By]
  - >> AD_BinaryTransport_Loop

  BusFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.BusFault_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  DebugMon_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.DebugMon_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  EXTI15_10_IRQHandler (Thumb, 12 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.EXTI15_10_IRQHandler))
  [Stack]

  - Max Depth = 40
  - Call Chain = EXTI15_10_IRQHandler ⇒ HAL_GPIO_EXTI_IRQHandler ⇒ HAL_GPIO_EXTI_Callback
  [Calls]
  - >> HAL_GPIO_EXTI_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  Error_Handler (Thumb, 14 bytes, Stack size 4 bytes, main.o(.text.Error_Handler))
  [Stack]

  - Max Depth = 4
  - Call Chain = Error_Handler
  [Called By]
  - >> SystemClock_Config
  - >> MX_USART2_UART_Init
  - >> MX_TIM1_Init

  HAL_DMA_Abort (Thumb, 156 bytes, Stack size 8 bytes, stm32g4xx_hal_dma.o(.text.HAL_DMA_Abort))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_DMA_Abort
  [Called By]
  - >> HAL_UART_IRQHandler

  HAL_DMA_Abort_IT (Thumb, 194 bytes, Stack size 16 bytes, stm32g4xx_hal_dma.o(.text.HAL_DMA_Abort_IT))
  [Stack]

  - Max Depth = 16
  - Call Chain = HAL_DMA_Abort_IT
  [Called By]
  - >> HAL_UART_IRQHandler

  HAL_FDCAN_AddMessageToTxFifoQ (Thumb, 154 bytes, Stack size 32 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_AddMessageToTxFifoQ))
  [Stack]

  - Max Depth = 64
  - Call Chain = HAL_FDCAN_AddMessageToTxFifoQ ⇒ FDCAN_CopyMessageToRAM
  [Calls]
  - >> FDCAN_CopyMessageToRAM
  [Called By]
  - >> AD_CAN_Telemetry_Loop

  HAL_FDCAN_ConfigGlobalFilter (Thumb, 102 bytes, Stack size 20 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_ConfigGlobalFilter))
  [Stack]

  - Max Depth = 20
  - Call Chain = HAL_FDCAN_ConfigGlobalFilter
  [Called By]
  - >> AD_CAN_Telemetry_Init

  HAL_FDCAN_GetError (Thumb, 12 bytes, Stack size 4 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_GetError))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_FDCAN_GetError
  [Called By]
  - >> AD_CAN_Telemetry_Loop
  - >> AD_CAN_Telemetry_Init

  HAL_FDCAN_GetTxFifoFreeLevel (Thumb, 24 bytes, Stack size 8 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_GetTxFifoFreeLevel))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_FDCAN_GetTxFifoFreeLevel
  [Called By]
  - >> AD_CAN_Telemetry_Loop

  HAL_FDCAN_Init (Thumb, 716 bytes, Stack size 24 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_Init))
  [Stack]

  - Max Depth = 108
  - Call Chain = HAL_FDCAN_Init ⇒ HAL_FDCAN_MspInit ⇒ HAL_GPIO_Init
  [Calls]
  - >> HAL_GetTick
  - >> HAL_FDCAN_MspInit
  - >> FDCAN_CalcultateRamBlockAddresses
  [Called By]
  - >> AD_CAN_Telemetry_Init

  HAL_FDCAN_MspInit (Thumb, 154 bytes, Stack size 40 bytes, stm32g4xx_hal_msp.o(.text.HAL_FDCAN_MspInit))
  [Stack]

  - Max Depth = 84
  - Call Chain = HAL_FDCAN_MspInit ⇒ HAL_GPIO_Init
  [Calls]
  - >> HAL_GPIO_Init
  [Called By]
  - >> HAL_FDCAN_Init

  HAL_FDCAN_Start (Thumb, 74 bytes, Stack size 8 bytes, stm32g4xx_hal_fdcan.o(.text.HAL_FDCAN_Start))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_FDCAN_Start
  [Called By]
  - >> AD_CAN_Telemetry_Init

  HAL_GPIO_EXTI_Callback (Thumb, 78 bytes, Stack size 16 bytes, ad_board.o(.text.HAL_GPIO_EXTI_Callback))
  [Stack]

  - Max Depth = 16
  - Call Chain = HAL_GPIO_EXTI_Callback
  [Calls]
  - >> HAL_GetTick
  [Called By]
  - >> HAL_GPIO_EXTI_IRQHandler

  HAL_GPIO_EXTI_IRQHandler (Thumb, 56 bytes, Stack size 16 bytes, stm32g4xx_hal_gpio.o(.text.HAL_GPIO_EXTI_IRQHandler))
  [Stack]

  - Max Depth = 32
  - Call Chain = HAL_GPIO_EXTI_IRQHandler ⇒ HAL_GPIO_EXTI_Callback
  [Calls]
  - >> HAL_GPIO_EXTI_Callback
  [Called By]
  - >> EXTI15_10_IRQHandler

  HAL_GPIO_Init (Thumb, 872 bytes, Stack size 44 bytes, stm32g4xx_hal_gpio.o(.text.HAL_GPIO_Init))
  [Stack]

  - Max Depth = 44
  - Call Chain = HAL_GPIO_Init
  [Called By]
  - >> HAL_UART_MspInit
  - >> HAL_PCD_MspInit
  - >> HAL_FDCAN_MspInit
  - >> HAL_TIM_MspPostInit
  - >> MX_GPIO_Init

  HAL_GetTick (Thumb, 12 bytes, Stack size 0 bytes, stm32g4xx_hal.o(.text.HAL_GetTick))
  [Called By]

  - >> AD_USB_CDC_Init
  - >> HAL_UART_Transmit
  - >> AD_BinaryTransport_Loop
  - >> AD_Debug_Update
  - >> HAL_GPIO_EXTI_Callback
  - >> AD_Board_Loop
  - >> AD_Board_ReadMeasurements
  - >> AD_Board_Init
  - >> HAL_RCC_ClockConfig
  - >> HAL_RCC_OscConfig
  - >> UART_WaitOnFlagUntilTimeout
  - >> UART_CheckIdleState
  - >> HAL_FDCAN_Init

  HAL_IncTick (Thumb, 26 bytes, Stack size 0 bytes, stm32g4xx_hal.o(.text.HAL_IncTick))
  [Called By]

  - >> SysTick_Handler

  HAL_Init (Thumb, 50 bytes, Stack size 16 bytes, stm32g4xx_hal.o(.text.HAL_Init))
  [Stack]

  - Max Depth = 96
  - Call Chain = HAL_Init ⇒ HAL_InitTick ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_MspInit
  - >> HAL_NVIC_SetPriorityGrouping
  - >> HAL_InitTick
  [Called By]
  - >> main

  HAL_InitTick (Thumb, 136 bytes, Stack size 16 bytes, stm32g4xx_hal.o(.text.HAL_InitTick))
  [Stack]

  - Max Depth = 80
  - Call Chain = HAL_InitTick ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_NVIC_SetPriority
  - >> HAL_SYSTICK_Config
  [Called By]
  - >> HAL_RCC_ClockConfig
  - >> HAL_RCC_OscConfig
  - >> HAL_Init

  HAL_MspInit (Thumb, 72 bytes, Stack size 16 bytes, stm32g4xx_hal_msp.o(.text.HAL_MspInit))
  [Stack]

  - Max Depth = 16
  - Call Chain = HAL_MspInit
  [Calls]
  - >> HAL_PWREx_DisableUCPDDeadBattery
  [Called By]
  - >> HAL_Init

  HAL_NVIC_EnableIRQ (Thumb, 20 bytes, Stack size 16 bytes, stm32g4xx_hal_cortex.o(.text.HAL_NVIC_EnableIRQ))
  [Stack]

  - Max Depth = 20
  - Call Chain = HAL_NVIC_EnableIRQ ⇒ __NVIC_EnableIRQ
  [Calls]
  - >> __NVIC_EnableIRQ
  [Called By]
  - >> HAL_TIM_PWM_MspInit
  - >> HAL_UART_MspInit
  - >> HAL_PCD_MspInit
  - >> MX_GPIO_Init

  HAL_NVIC_SetPriority (Thumb, 46 bytes, Stack size 32 bytes, stm32g4xx_hal_cortex.o(.text.HAL_NVIC_SetPriority))
  [Stack]

  - Max Depth = 64
  - Call Chain = HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> __NVIC_SetPriority
  - >> NVIC_EncodePriority
  - >> __NVIC_GetPriorityGrouping
  [Called By]
  - >> HAL_TIM_PWM_MspInit
  - >> HAL_UART_MspInit
  - >> HAL_PCD_MspInit
  - >> MX_GPIO_Init
  - >> HAL_InitTick

  HAL_NVIC_SetPriorityGrouping (Thumb, 16 bytes, Stack size 16 bytes, stm32g4xx_hal_cortex.o(.text.HAL_NVIC_SetPriorityGrouping))
  [Stack]

  - Max Depth = 28
  - Call Chain = HAL_NVIC_SetPriorityGrouping ⇒ __NVIC_SetPriorityGrouping
  [Calls]
  - >> __NVIC_SetPriorityGrouping
  [Called By]
  - >> HAL_Init

  HAL_PCDEx_ActivateLPM (Thumb, 58 bytes, Stack size 8 bytes, stm32g4xx_hal_pcd_ex.o(.text.HAL_PCDEx_ActivateLPM))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_PCDEx_ActivateLPM
  [Called By]
  - >> HAL_PCD_Init

  HAL_PCDEx_LPM_Callback (Thumb, 12 bytes, Stack size 8 bytes, stm32g4xx_hal_pcd_ex.o(.text.HAL_PCDEx_LPM_Callback))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_PCDEx_LPM_Callback
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PCDEx_PMAConfig (Thumb, 122 bytes, Stack size 16 bytes, stm32g4xx_hal_pcd_ex.o(.text.HAL_PCDEx_PMAConfig))
  [Stack]

  - Max Depth = 16
  - Call Chain = HAL_PCDEx_PMAConfig
  [Called By]
  - >> AD_USB_CDC_Init

  HAL_PCD_DataInStageCallback (Thumb, 148 bytes, Stack size 16 bytes, ad_usb_cdc.o(.text.HAL_PCD_DataInStageCallback))
  [Stack]

  - Max Depth = 48
  - Call Chain = HAL_PCD_DataInStageCallback ⇒ HAL_PCD_SetAddress ⇒ USB_SetDevAddress
  [Calls]
  - >> HAL_PCD_SetAddress
  - >> update_status_flags
  [Called By]
  - >> HAL_PCD_EP_DB_Transmit
  - >> PCD_EP_ISR_Handler

  HAL_PCD_DataOutStageCallback (Thumb, 134 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.HAL_PCD_DataOutStageCallback))
  [Stack]

  - Max Depth = 284
  - Call Chain = HAL_PCD_DataOutStageCallback ⇒ ep0_send_zlp ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_GetRxCount
  - >> HAL_PCD_EP_Receive
  - >> ep0_send_zlp
  [Called By]
  - >> PCD_EP_ISR_Handler

  HAL_PCD_DevConnect (Thumb, 76 bytes, Stack size 16 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_DevConnect))
  [Stack]

  - Max Depth = 20
  - Call Chain = HAL_PCD_DevConnect ⇒ USB_DevConnect
  [Calls]
  - >> USB_DevConnect
  [Called By]
  - >> AD_USB_CDC_Init

  HAL_PCD_EP_Close (Thumb, 168 bytes, Stack size 24 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_Close))
  [Stack]

  - Max Depth = 72
  - Call Chain = HAL_PCD_EP_Close ⇒ USB_DeactivateEndpoint
  [Calls]
  - >> USB_DeactivateEndpoint
  [Called By]
  - >> close_cdc_endpoints

  HAL_PCD_EP_GetRxCount (Thumb, 34 bytes, Stack size 8 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_GetRxCount))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_PCD_EP_GetRxCount
  [Called By]
  - >> HAL_PCD_DataOutStageCallback

  HAL_PCD_EP_Open (Thumb, 222 bytes, Stack size 32 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_Open))
  [Stack]

  - Max Depth = 184
  - Call Chain = HAL_PCD_EP_Open ⇒ USB_ActivateEndpoint
  [Calls]
  - >> USB_ActivateEndpoint
  [Called By]
  - >> HAL_PCD_ResetCallback
  - >> open_cdc_endpoints

  HAL_PCD_EP_Receive (Thumb, 90 bytes, Stack size 32 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_Receive))
  [Stack]

  - Max Depth = 252
  - Call Chain = HAL_PCD_EP_Receive ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> USB_EPStartXfer
  [Called By]
  - >> HAL_PCD_DataOutStageCallback
  - >> open_cdc_endpoints
  - >> handle_class_request

  HAL_PCD_EP_SetStall (Thumb, 196 bytes, Stack size 24 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_SetStall))
  [Stack]

  - Max Depth = 36
  - Call Chain = HAL_PCD_EP_SetStall ⇒ USB_EPSetStall
  [Calls]
  - >> USB_EPSetStall
  [Called By]
  - >> ep0_stall

  HAL_PCD_EP_Transmit (Thumb, 102 bytes, Stack size 32 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_Transmit))
  [Stack]

  - Max Depth = 252
  - Call Chain = HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> USB_EPStartXfer
  [Called By]
  - >> ep0_send_zlp
  - >> ep0_send
  - >> AD_USB_CDC_WritePacket

  HAL_PCD_IRQHandler (Thumb, 488 bytes, Stack size 16 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_IRQHandler))
  [Stack]

  - Max Depth = 444
  - Call Chain = HAL_PCD_IRQHandler ⇒ PCD_EP_ISR_Handler ⇒ HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_ResumeCallback
  - >> HAL_PCD_SuspendCallback
  - >> HAL_PCD_SetAddress
  - >> HAL_PCD_ResetCallback
  - >> HAL_PCD_SOFCallback
  - >> HAL_PCDEx_LPM_Callback
  - >> USB_ReadInterrupts
  - >> PCD_EP_ISR_Handler
  [Called By]
  - >> AD_USB_CDC_IRQHandler

  HAL_PCD_Init (Thumb, 404 bytes, Stack size 24 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_Init))
  [Stack]

  - Max Depth = 136
  - Call Chain = HAL_PCD_Init ⇒ HAL_PCD_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_PCD_MspInit
  - >> HAL_PCDEx_ActivateLPM
  - >> USB_DevInit
  - >> USB_DisableGlobalInt
  [Called By]
  - >> AD_USB_CDC_Init

  HAL_PCD_MspInit (Thumb, 152 bytes, Stack size 48 bytes, stm32g4xx_hal_msp.o(.text.HAL_PCD_MspInit))
  [Stack]

  - Max Depth = 112
  - Call Chain = HAL_PCD_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_NVIC_EnableIRQ
  - >> HAL_NVIC_SetPriority
  - >> HAL_GPIO_Init
  [Called By]
  - >> HAL_PCD_Init

  HAL_PCD_ResetCallback (Thumb, 132 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.HAL_PCD_ResetCallback))
  [Stack]

  - Max Depth = 208
  - Call Chain = HAL_PCD_ResetCallback ⇒ HAL_PCD_EP_Open ⇒ USB_ActivateEndpoint
  [Calls]
  - >> HAL_PCD_EP_Open
  - >> HAL_PCD_SetAddress
  - >> update_status_flags
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PCD_ResumeCallback (Thumb, 8 bytes, Stack size 4 bytes, ad_usb_cdc.o(.text.HAL_PCD_ResumeCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_PCD_ResumeCallback
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PCD_SOFCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_SOFCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_PCD_SOFCallback
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PCD_SetAddress (Thumb, 92 bytes, Stack size 24 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_SetAddress))
  [Stack]

  - Max Depth = 32
  - Call Chain = HAL_PCD_SetAddress ⇒ USB_SetDevAddress
  [Calls]
  - >> USB_SetDevAddress
  [Called By]
  - >> HAL_PCD_DataInStageCallback
  - >> HAL_PCD_ResetCallback
  - >> HAL_PCD_IRQHandler

  HAL_PCD_SetupStageCallback (Thumb, 100 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.HAL_PCD_SetupStageCallback))
  [Stack]

  - Max Depth = 348
  - Call Chain = HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> ep0_stall
  - >> handle_class_request
  - >> handle_standard_request
  - >> parse_setup
  [Called By]
  - >> PCD_EP_ISR_Handler

  HAL_PCD_Start (Thumb, 84 bytes, Stack size 16 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_Start))
  [Stack]

  - Max Depth = 24
  - Call Chain = HAL_PCD_Start ⇒ USB_EnableGlobalInt
  [Calls]
  - >> USB_DevConnect
  - >> USB_EnableGlobalInt
  [Called By]
  - >> AD_USB_CDC_Init

  HAL_PCD_SuspendCallback (Thumb, 8 bytes, Stack size 4 bytes, ad_usb_cdc.o(.text.HAL_PCD_SuspendCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_PCD_SuspendCallback
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PWREx_ControlVoltageScaling (Thumb, 436 bytes, Stack size 20 bytes, stm32g4xx_hal_pwr_ex.o(.text.HAL_PWREx_ControlVoltageScaling))
  [Stack]

  - Max Depth = 20
  - Call Chain = HAL_PWREx_ControlVoltageScaling
  [Called By]
  - >> SystemClock_Config

  HAL_PWREx_DisableUCPDDeadBattery (Thumb, 18 bytes, Stack size 0 bytes, stm32g4xx_hal_pwr_ex.o(.text.HAL_PWREx_DisableUCPDDeadBattery))
  [Called By]

  - >> HAL_MspInit

  HAL_RCC_ClockConfig (Thumb, 806 bytes, Stack size 32 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_ClockConfig))
  [Stack]

  - Max Depth = 112
  - Call Chain = HAL_RCC_ClockConfig ⇒ HAL_InitTick ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_GetTick
  - >> HAL_RCC_GetSysClockFreq
  - >> RCC_GetSysClockFreqFromPLLSource
  - >> HAL_InitTick
  [Called By]
  - >> SystemClock_Config

  HAL_RCC_GetHCLKFreq (Thumb, 12 bytes, Stack size 0 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_GetHCLKFreq))
  [Called By]

  - >> HAL_RCC_GetPCLK2Freq
  - >> HAL_RCC_GetPCLK1Freq

  HAL_RCC_GetPCLK1Freq (Thumb, 38 bytes, Stack size 8 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_GetPCLK1Freq))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_RCC_GetPCLK1Freq
  [Calls]
  - >> HAL_RCC_GetHCLKFreq
  [Called By]
  - >> UART_SetConfig

  HAL_RCC_GetPCLK2Freq (Thumb, 38 bytes, Stack size 8 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_GetPCLK2Freq))
  [Stack]

  - Max Depth = 8
  - Call Chain = HAL_RCC_GetPCLK2Freq
  [Calls]
  - >> HAL_RCC_GetHCLKFreq
  [Called By]
  - >> inverter_get_tim1_clock_hz
  - >> UART_SetConfig

  HAL_RCC_GetSysClockFreq (Thumb, 252 bytes, Stack size 24 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_GetSysClockFreq))
  [Stack]

  - Max Depth = 24
  - Call Chain = HAL_RCC_GetSysClockFreq
  [Called By]
  - >> HAL_RCC_ClockConfig
  - >> UART_SetConfig

  HAL_RCC_OscConfig (Thumb, 1974 bytes, Stack size 48 bytes, stm32g4xx_hal_rcc.o(.text.HAL_RCC_OscConfig))
  [Stack]

  - Max Depth = 128
  - Call Chain = HAL_RCC_OscConfig ⇒ HAL_InitTick ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_GetTick
  - >> HAL_InitTick
  [Called By]
  - >> SystemClock_Config

  HAL_SYSTICK_Config (Thumb, 16 bytes, Stack size 16 bytes, stm32g4xx_hal_cortex.o(.text.HAL_SYSTICK_Config))
  [Stack]

  - Max Depth = 40
  - Call Chain = HAL_SYSTICK_Config ⇒ SysTick_Config ⇒ __NVIC_SetPriority
  [Calls]
  - >> SysTick_Config
  [Called By]
  - >> HAL_InitTick

  HAL_TIMEx_Break2Callback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_Break2Callback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_Break2Callback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_BreakCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_BreakCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_BreakCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_CommutCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_CommutCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_CommutCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_ConfigBreakDeadTime (Thumb, 322 bytes, Stack size 16 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_ConfigBreakDeadTime))
  [Stack]

  - Max Depth = 16
  - Call Chain = HAL_TIMEx_ConfigBreakDeadTime
  [Called By]
  - >> MX_TIM1_Init

  HAL_TIMEx_DirectionChangeCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_DirectionChangeCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_DirectionChangeCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_EncoderIndexCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_EncoderIndexCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_EncoderIndexCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_IndexErrorCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_IndexErrorCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_IndexErrorCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIMEx_MasterConfigSynchronization (Thumb, 372 bytes, Stack size 20 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_MasterConfigSynchronization))
  [Stack]

  - Max Depth = 20
  - Call Chain = HAL_TIMEx_MasterConfigSynchronization
  [Called By]
  - >> MX_TIM1_Init

  HAL_TIMEx_PWMN_Start (Thumb, 418 bytes, Stack size 48 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_PWMN_Start))
  [Stack]

  - Max Depth = 64
  - Call Chain = HAL_TIMEx_PWMN_Start ⇒ TIM_CCxNChannelCmd
  [Calls]
  - >> TIM_CCxNChannelCmd
  [Called By]
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_Enable

  HAL_TIMEx_PWMN_Stop (Thumb, 208 bytes, Stack size 24 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_PWMN_Stop))
  [Stack]

  - Max Depth = 40
  - Call Chain = HAL_TIMEx_PWMN_Stop ⇒ TIM_CCxNChannelCmd
  [Calls]
  - >> TIM_CCxNChannelCmd
  [Called By]
  - >> AD_Inverter_Disable

  HAL_TIMEx_TransitionErrorCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim_ex.o(.text.HAL_TIMEx_TransitionErrorCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIMEx_TransitionErrorCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIM_IC_CaptureCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_IC_CaptureCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIM_IC_CaptureCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIM_IRQHandler (Thumb, 768 bytes, Stack size 24 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_IRQHandler))
  [Stack]

  - Max Depth = 216
  - Call Chain = HAL_TIM_IRQHandler ⇒ HAL_TIM_PeriodElapsedCallback ⇒ rotation_pwm_service_update ⇒ rotation_pwm_apply_six_step ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> HAL_TIM_PeriodElapsedCallback
  - >> HAL_TIMEx_TransitionErrorCallback
  - >> HAL_TIMEx_IndexErrorCallback
  - >> HAL_TIMEx_DirectionChangeCallback
  - >> HAL_TIMEx_EncoderIndexCallback
  - >> HAL_TIMEx_CommutCallback
  - >> HAL_TIM_TriggerCallback
  - >> HAL_TIMEx_Break2Callback
  - >> HAL_TIMEx_BreakCallback
  - >> HAL_TIM_OC_DelayElapsedCallback
  - >> HAL_TIM_IC_CaptureCallback
  - >> HAL_TIM_PWM_PulseFinishedCallback
  [Called By]
  - >> TIM1_UP_TIM16_IRQHandler

  HAL_TIM_MspPostInit (Thumb, 210 bytes, Stack size 64 bytes, stm32g4xx_hal_msp.o(.text.HAL_TIM_MspPostInit))
  [Stack]

  - Max Depth = 108
  - Call Chain = HAL_TIM_MspPostInit ⇒ HAL_GPIO_Init
  [Calls]
  - >> HAL_GPIO_Init
  [Called By]
  - >> MX_TIM1_Init

  HAL_TIM_OC_DelayElapsedCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_OC_DelayElapsedCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIM_OC_DelayElapsedCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIM_PWM_ConfigChannel (Thumb, 432 bytes, Stack size 32 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_PWM_ConfigChannel))
  [Stack]

  - Max Depth = 52
  - Call Chain = HAL_TIM_PWM_ConfigChannel ⇒ TIM_OC2_SetConfig
  [Calls]
  - >> TIM_OC2_SetConfig
  - >> TIM_OC6_SetConfig
  - >> TIM_OC5_SetConfig
  - >> TIM_OC4_SetConfig
  - >> TIM_OC3_SetConfig
  - >> TIM_OC1_SetConfig
  [Called By]
  - >> MX_TIM1_Init

  HAL_TIM_PWM_Init (Thumb, 168 bytes, Stack size 16 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_PWM_Init))
  [Stack]

  - Max Depth = 104
  - Call Chain = HAL_TIM_PWM_Init ⇒ HAL_TIM_PWM_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_TIM_PWM_MspInit
  - >> TIM_Base_SetConfig
  [Called By]
  - >> MX_TIM1_Init

  HAL_TIM_PWM_MspInit (Thumb, 78 bytes, Stack size 24 bytes, stm32g4xx_hal_msp.o(.text.HAL_TIM_PWM_MspInit))
  [Stack]

  - Max Depth = 88
  - Call Chain = HAL_TIM_PWM_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_NVIC_EnableIRQ
  - >> HAL_NVIC_SetPriority
  [Called By]
  - >> HAL_TIM_PWM_Init

  HAL_TIM_PWM_PulseFinishedCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_PWM_PulseFinishedCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIM_PWM_PulseFinishedCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIM_PWM_Start (Thumb, 664 bytes, Stack size 72 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_PWM_Start))
  [Stack]

  - Max Depth = 88
  - Call Chain = HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> TIM_CCxChannelCmd
  [Called By]
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_Enable

  HAL_TIM_PWM_Stop (Thumb, 404 bytes, Stack size 40 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_PWM_Stop))
  [Stack]

  - Max Depth = 56
  - Call Chain = HAL_TIM_PWM_Stop ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> TIM_CCxChannelCmd
  [Called By]
  - >> AD_Inverter_Disable

  HAL_TIM_PeriodElapsedCallback (Thumb, 40 bytes, Stack size 16 bytes, ad_inverter.o(.text.HAL_TIM_PeriodElapsedCallback))
  [Stack]

  - Max Depth = 192
  - Call Chain = HAL_TIM_PeriodElapsedCallback ⇒ rotation_pwm_service_update ⇒ rotation_pwm_apply_six_step ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> rotation_pwm_service_update
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_TIM_TriggerCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_tim.o(.text.HAL_TIM_TriggerCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_TIM_TriggerCallback
  [Called By]
  - >> HAL_TIM_IRQHandler

  HAL_UARTEx_GetRxEventType (Thumb, 12 bytes, Stack size 4 bytes, stm32g4xx_hal_uart_ex.o(.text.HAL_UARTEx_GetRxEventType))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UARTEx_GetRxEventType
  [Called By]
  - >> HAL_UARTEx_RxEventCallback

  HAL_UARTEx_ReceiveToIdle_IT (Thumb, 168 bytes, Stack size 32 bytes, stm32g4xx_hal_uart_ex.o(.text.HAL_UARTEx_ReceiveToIdle_IT))
  [Stack]

  - Max Depth = 64
  - Call Chain = HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> UART_Start_Receive_IT
  [Called By]
  - >> restart_uart_rx

  HAL_UARTEx_RxEventCallback (Thumb, 258 bytes, Stack size 24 bytes, ad_modbus.o(.text.HAL_UARTEx_RxEventCallback))
  [Stack]

  - Max Depth = 96
  - Call Chain = HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UARTEx_GetRxEventType
  - >> restart_uart_rx
  - >> __aeabi_memcpy
  [Called By]
  - >> HAL_UART_IRQHandler
  - >> UART_RxISR_8BIT
  - >> UART_RxISR_16BIT
  - >> UART_RxISR_8BIT_FIFOEN
  - >> UART_RxISR_16BIT_FIFOEN

  HAL_UARTEx_RxFifoFullCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_uart_ex.o(.text.HAL_UARTEx_RxFifoFullCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UARTEx_RxFifoFullCallback
  [Called By]
  - >> HAL_UART_IRQHandler

  HAL_UARTEx_TxFifoEmptyCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_uart_ex.o(.text.HAL_UARTEx_TxFifoEmptyCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UARTEx_TxFifoEmptyCallback
  [Called By]
  - >> HAL_UART_IRQHandler

  HAL_UARTEx_WakeupCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_uart_ex.o(.text.HAL_UARTEx_WakeupCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UARTEx_WakeupCallback
  [Called By]
  - >> HAL_UART_IRQHandler

  HAL_UART_ErrorCallback (Thumb, 84 bytes, Stack size 16 bytes, ad_modbus.o(.text.HAL_UART_ErrorCallback))
  [Stack]

  - Max Depth = 88
  - Call Chain = HAL_UART_ErrorCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> restart_uart_rx
  [Called By]
  - >> HAL_UART_IRQHandler
  - >> UART_DMAAbortOnError
  - >> UART_RxISR_8BIT_FIFOEN
  - >> UART_RxISR_16BIT_FIFOEN

  HAL_UART_IRQHandler (Thumb, 1430 bytes, Stack size 72 bytes, stm32g4xx_hal_uart.o(.text.HAL_UART_IRQHandler))
  [Stack]

  - Max Depth = 168
  - Call Chain = HAL_UART_IRQHandler ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UART_ErrorCallback
  - >> HAL_UARTEx_RxEventCallback
  - >> HAL_UARTEx_RxFifoFullCallback
  - >> HAL_UARTEx_TxFifoEmptyCallback
  - >> HAL_UARTEx_WakeupCallback
  - >> HAL_DMA_Abort
  - >> UART_EndTransmit_IT
  - >> UART_EndRxTransfer
  - >> HAL_DMA_Abort_IT
  [Called By]
  - >> USART2_IRQHandler

  HAL_UART_Init (Thumb, 170 bytes, Stack size 16 bytes, stm32g4xx_hal_uart.o(.text.HAL_UART_Init))
  [Stack]

  - Max Depth = 144
  - Call Chain = HAL_UART_Init ⇒ UART_SetConfig ⇒ __aeabi_uldivmod
  [Calls]
  - >> HAL_UART_MspInit
  - >> UART_CheckIdleState
  - >> UART_SetConfig
  - >> UART_AdvFeatureConfig
  [Called By]
  - >> MX_USART2_UART_Init

  HAL_UART_MspInit (Thumb, 150 bytes, Stack size 48 bytes, stm32g4xx_hal_msp.o(.text.HAL_UART_MspInit))
  [Stack]

  - Max Depth = 112
  - Call Chain = HAL_UART_MspInit ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_NVIC_EnableIRQ
  - >> HAL_NVIC_SetPriority
  - >> HAL_GPIO_Init
  [Called By]
  - >> HAL_UART_Init

  HAL_UART_RxCpltCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_uart.o(.text.HAL_UART_RxCpltCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UART_RxCpltCallback
  [Called By]
  - >> UART_RxISR_8BIT
  - >> UART_RxISR_16BIT
  - >> UART_RxISR_8BIT_FIFOEN
  - >> UART_RxISR_16BIT_FIFOEN

  HAL_UART_Transmit (Thumb, 312 bytes, Stack size 48 bytes, stm32g4xx_hal_uart.o(.text.HAL_UART_Transmit))
  [Stack]

  - Max Depth = 96
  - Call Chain = HAL_UART_Transmit ⇒ UART_WaitOnFlagUntilTimeout ⇒ UART_EndRxTransfer
  [Calls]
  - >> HAL_GetTick
  - >> UART_WaitOnFlagUntilTimeout
  [Called By]
  - >> send_response

  HAL_UART_TxCpltCallback (Thumb, 8 bytes, Stack size 4 bytes, stm32g4xx_hal_uart.o(.text.HAL_UART_TxCpltCallback))
  [Stack]

  - Max Depth = 4
  - Call Chain = HAL_UART_TxCpltCallback
  [Called By]
  - >> UART_EndTransmit_IT

  HardFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.HardFault_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  MemManage_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.MemManage_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  NMI_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.NMI_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.PendSV_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.SVC_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  SimulinkInterface_GetOutputBus (Thumb, 10 bytes, Stack size 0 bytes, simulink_interface.o(.text.SimulinkInterface_GetOutputBus))
  [Called By]

  - >> refresh_command_shadow
  - >> AD_Debug_Update

  SimulinkInterface_GetTelemetryBytes (Thumb, 10 bytes, Stack size 0 bytes, simulink_interface.o(.text.SimulinkInterface_GetTelemetryBytes))
  [Called By]

  - >> AD_BinaryTransport_Loop

  SimulinkInterface_GetTelemetrySize (Thumb, 4 bytes, Stack size 0 bytes, simulink_interface.o(.text.SimulinkInterface_GetTelemetrySize))
  [Called By]

  - >> SimulinkInterface_UpdateOutputs
  - >> AD_BinaryTransport_Loop

  SimulinkInterface_Init (Thumb, 86 bytes, Stack size 8 bytes, simulink_interface.o(.text.SimulinkInterface_Init))
  [Stack]

  - Max Depth = 60 + Unknown Stack Size
  - Call Chain = SimulinkInterface_Init ⇒ SimulinkInterface_PackTelemetry ⇒ crc16_ccitt
  [Calls]
  - >> SimulinkInterface_PackTelemetry
  - >> AD_ParamID_Init
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Board_Init

  SimulinkInterface_PackTelemetry (Thumb, 324 bytes, Stack size 32 bytes, simulink_interface.o(.text.SimulinkInterface_PackTelemetry))
  [Stack]

  - Max Depth = 52
  - Call Chain = SimulinkInterface_PackTelemetry ⇒ crc16_ccitt
  [Calls]
  - >> crc16_ccitt
  [Called By]
  - >> SimulinkInterface_StepSlow
  - >> SimulinkInterface_Init

  SimulinkInterface_SetCommand (Thumb, 108 bytes, Stack size 28 bytes, simulink_interface.o(.text.SimulinkInterface_SetCommand))
  [Stack]

  - Max Depth = 28
  - Call Chain = SimulinkInterface_SetCommand
  [Called By]
  - >> apply_command_shadow
  - >> board_apply_command

  SimulinkInterface_SetMeasurements (Thumb, 138 bytes, Stack size 28 bytes, simulink_interface.o(.text.SimulinkInterface_SetMeasurements))
  [Stack]

  - Max Depth = 28
  - Call Chain = SimulinkInterface_SetMeasurements
  [Called By]
  - >> AD_Board_Loop

  SimulinkInterface_StepFast (Thumb, 28 bytes, Stack size 8 bytes, simulink_interface.o(.text.SimulinkInterface_StepFast))
  [Stack]

  - Max Depth = 424
  - Call Chain = SimulinkInterface_StepFast ⇒ AD_ParamID_StepFast ⇒ AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> SimulinkInterface_UpdateOutputs
  - >> SimulinkInterface_UpdateInputs
  - >> SimulinkInterface_UnpackCommand
  - >> AD_ParamID_StepFast
  [Called By]
  - >> AD_Board_Loop

  SimulinkInterface_StepSlow (Thumb, 16 bytes, Stack size 8 bytes, simulink_interface.o(.text.SimulinkInterface_StepSlow))
  [Stack]

  - Max Depth = 392
  - Call Chain = SimulinkInterface_StepSlow ⇒ AD_ParamID_StepSlow ⇒ AD_ParamID_HardwareStep ⇒ id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> SimulinkInterface_UpdateInputs
  - >> SimulinkInterface_PackTelemetry
  - >> AD_ParamID_StepSlow
  [Called By]
  - >> AD_Board_Loop

  SimulinkInterface_UnpackCommand (Thumb, 376 bytes, Stack size 56 bytes, simulink_interface.o(.text.SimulinkInterface_UnpackCommand))
  [Stack]

  - Max Depth = 176
  - Call Chain = SimulinkInterface_UnpackCommand ⇒ AD_ParamID_Start ⇒ enter_data_logging_blocked ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_SetMotorControlType
  - >> AD_ParamID_SetRotationRampTimeMs
  - >> AD_ParamID_SetRotationModulation
  - >> AD_ParamID_SetRotationFrequencyHz
  - >> AD_ParamID_SetPwmDutyLimit
  - >> AD_ParamID_SetSoftwareEnable
  - >> AD_ParamID_SetSafetyLimits
  - >> AD_ParamID_GetMode
  - >> AD_ParamID_Start
  - >> AD_ParamID_Reset
  - >> AD_Inverter_SetPwmTimingMode
  - >> AD_Inverter_SetPwmPolarityFlags
  - >> AD_ParamID_GetStatus
  - >> AD_ParamID_Stop
  [Called By]
  - >> SimulinkInterface_StepFast

  SimulinkInterface_UpdateInputs (Thumb, 148 bytes, Stack size 32 bytes, simulink_interface.o(.text.SimulinkInterface_UpdateInputs))
  [Stack]

  - Max Depth = 32
  - Call Chain = SimulinkInterface_UpdateInputs
  [Calls]
  - >> AD_ParamID_GetFaults
  - >> AD_ParamID_GetMode
  - >> AD_ParamID_GetStatus
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> SimulinkInterface_StepSlow
  - >> SimulinkInterface_StepFast

  SimulinkInterface_UpdateOutputs (Thumb, 18 bytes, Stack size 8 bytes, simulink_interface.o(.text.SimulinkInterface_UpdateOutputs))
  [Stack]

  - Max Depth = 8
  - Call Chain = SimulinkInterface_UpdateOutputs
  [Calls]
  - >> SimulinkInterface_GetTelemetrySize
  [Called By]
  - >> SimulinkInterface_StepFast

  SysTick_Handler (Thumb, 8 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.SysTick_Handler))
  [Stack]

  - Max Depth = 8
  - Call Chain = SysTick_Handler
  [Calls]
  - >> HAL_IncTick
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  SystemClock_Config (Thumb, 116 bytes, Stack size 88 bytes, main.o(.text.SystemClock_Config))
  [Stack]

  - Max Depth = 216 + Unknown Stack Size
  - Call Chain = SystemClock_Config ⇒ HAL_RCC_OscConfig ⇒ HAL_InitTick ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_RCC_ClockConfig
  - >> Error_Handler
  - >> HAL_RCC_OscConfig
  - >> HAL_PWREx_ControlVoltageScaling
  - >> __aeabi_memclr4
  [Called By]
  - >> main

  SystemInit (Thumb, 18 bytes, Stack size 0 bytes, system_stm32g4xx.o(.text.SystemInit))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(.text)

  TIM1_UP_TIM16_IRQHandler (Thumb, 16 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.TIM1_UP_TIM16_IRQHandler))
  [Stack]

  - Max Depth = 224
  - Call Chain = TIM1_UP_TIM16_IRQHandler ⇒ HAL_TIM_IRQHandler ⇒ HAL_TIM_PeriodElapsedCallback ⇒ rotation_pwm_service_update ⇒ rotation_pwm_apply_six_step ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> HAL_TIM_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  TIM_Base_SetConfig (Thumb, 486 bytes, Stack size 12 bytes, stm32g4xx_hal_tim.o(.text.TIM_Base_SetConfig))
  [Stack]

  - Max Depth = 12
  - Call Chain = TIM_Base_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_Init

  TIM_CCxChannelCmd (Thumb, 54 bytes, Stack size 16 bytes, stm32g4xx_hal_tim.o(.text.TIM_CCxChannelCmd))
  [Stack]

  - Max Depth = 16
  - Call Chain = TIM_CCxChannelCmd
  [Called By]
  - >> HAL_TIM_PWM_Start
  - >> HAL_TIM_PWM_Stop

  TIM_OC2_SetConfig (Thumb, 400 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC2_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC2_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  UART_AdvFeatureConfig (Thumb, 328 bytes, Stack size 4 bytes, stm32g4xx_hal_uart.o(.text.UART_AdvFeatureConfig))
  [Stack]

  - Max Depth = 4
  - Call Chain = UART_AdvFeatureConfig
  [Called By]
  - >> HAL_UART_Init

  UART_CheckIdleState (Thumb, 326 bytes, Stack size 40 bytes, stm32g4xx_hal_uart.o(.text.UART_CheckIdleState))
  [Stack]

  - Max Depth = 88
  - Call Chain = UART_CheckIdleState ⇒ UART_WaitOnFlagUntilTimeout ⇒ UART_EndRxTransfer
  [Calls]
  - >> HAL_GetTick
  - >> UART_WaitOnFlagUntilTimeout
  [Called By]
  - >> HAL_UART_Init

  UART_SetConfig (Thumb, 1506 bytes, Stack size 80 bytes, stm32g4xx_hal_uart.o(.text.UART_SetConfig))
  [Stack]

  - Max Depth = 128
  - Call Chain = UART_SetConfig ⇒ __aeabi_uldivmod
  [Calls]
  - >> HAL_RCC_GetPCLK2Freq
  - >> HAL_RCC_GetSysClockFreq
  - >> HAL_RCC_GetPCLK1Freq
  - >> __aeabi_uldivmod
  [Called By]
  - >> HAL_UART_Init

  UART_Start_Receive_IT (Thumb, 546 bytes, Stack size 32 bytes, stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT))
  [Stack]

  - Max Depth = 32
  - Call Chain = UART_Start_Receive_IT
  [Called By]
  - >> HAL_UARTEx_ReceiveToIdle_IT

  UART_WaitOnFlagUntilTimeout (Thumb, 268 bytes, Stack size 32 bytes, stm32g4xx_hal_uart.o(.text.UART_WaitOnFlagUntilTimeout))
  [Stack]

  - Max Depth = 48
  - Call Chain = UART_WaitOnFlagUntilTimeout ⇒ UART_EndRxTransfer
  [Calls]
  - >> HAL_GetTick
  - >> UART_EndRxTransfer
  [Called By]
  - >> HAL_UART_Transmit
  - >> UART_CheckIdleState

  USART2_IRQHandler (Thumb, 16 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.USART2_IRQHandler))
  [Stack]

  - Max Depth = 176
  - Call Chain = USART2_IRQHandler ⇒ HAL_UART_IRQHandler ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UART_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  USBWakeUp_IRQHandler (Thumb, 8 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.USBWakeUp_IRQHandler))
  [Stack]

  - Max Depth = 460
  - Call Chain = USBWakeUp_IRQHandler ⇒ AD_USB_CDC_IRQHandler ⇒ HAL_PCD_IRQHandler ⇒ PCD_EP_ISR_Handler ⇒ HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> AD_USB_CDC_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  USB_ActivateEndpoint (Thumb, 2182 bytes, Stack size 152 bytes, stm32g4xx_ll_usb.o(.text.USB_ActivateEndpoint))
  [Stack]

  - Max Depth = 152
  - Call Chain = USB_ActivateEndpoint
  [Called By]
  - >> HAL_PCD_EP_Open

  USB_DeactivateEndpoint (Thumb, 864 bytes, Stack size 48 bytes, stm32g4xx_ll_usb.o(.text.USB_DeactivateEndpoint))
  [Stack]

  - Max Depth = 48
  - Call Chain = USB_DeactivateEndpoint
  [Called By]
  - >> HAL_PCD_EP_Close

  USB_DevConnect (Thumb, 24 bytes, Stack size 4 bytes, stm32g4xx_ll_usb.o(.text.USB_DevConnect))
  [Stack]

  - Max Depth = 4
  - Call Chain = USB_DevConnect
  [Called By]
  - >> HAL_PCD_DevConnect
  - >> HAL_PCD_Start

  USB_DevInit (Thumb, 40 bytes, Stack size 12 bytes, stm32g4xx_ll_usb.o(.text.USB_DevInit))
  [Stack]

  - Max Depth = 12
  - Call Chain = USB_DevInit
  [Called By]
  - >> HAL_PCD_Init

  USB_DisableGlobalInt (Thumb, 30 bytes, Stack size 8 bytes, stm32g4xx_ll_usb.o(.text.USB_DisableGlobalInt))
  [Stack]

  - Max Depth = 8
  - Call Chain = USB_DisableGlobalInt
  [Called By]
  - >> HAL_PCD_Init

  USB_EPSetStall (Thumb, 136 bytes, Stack size 12 bytes, stm32g4xx_ll_usb.o(.text.USB_EPSetStall))
  [Stack]

  - Max Depth = 12
  - Call Chain = USB_EPSetStall
  [Called By]
  - >> HAL_PCD_EP_SetStall

  USB_EPStartXfer (Thumb, 2522 bytes, Stack size 184 bytes, stm32g4xx_ll_usb.o(.text.USB_EPStartXfer))
  [Stack]

  - Max Depth = 220
  - Call Chain = USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> USB_WritePMA
  [Called By]
  - >> HAL_PCD_EP_Receive
  - >> HAL_PCD_EP_Transmit
  - >> PCD_EP_ISR_Handler

  USB_EnableGlobalInt (Thumb, 30 bytes, Stack size 8 bytes, stm32g4xx_ll_usb.o(.text.USB_EnableGlobalInt))
  [Stack]

  - Max Depth = 8
  - Call Chain = USB_EnableGlobalInt
  [Called By]
  - >> HAL_PCD_Start

  USB_LP_IRQHandler (Thumb, 8 bytes, Stack size 8 bytes, stm32g4xx_it.o(.text.USB_LP_IRQHandler))
  [Stack]

  - Max Depth = 460
  - Call Chain = USB_LP_IRQHandler ⇒ AD_USB_CDC_IRQHandler ⇒ HAL_PCD_IRQHandler ⇒ PCD_EP_ISR_Handler ⇒ HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> AD_USB_CDC_IRQHandler
  [Address Reference Count : 1]
  - startup_stm32g474xx.o(RESET)

  USB_ReadInterrupts (Thumb, 18 bytes, Stack size 8 bytes, stm32g4xx_ll_usb.o(.text.USB_ReadInterrupts))
  [Stack]

  - Max Depth = 8
  - Call Chain = USB_ReadInterrupts
  [Called By]
  - >> HAL_PCD_IRQHandler

  USB_ReadPMA (Thumb, 132 bytes, Stack size 36 bytes, stm32g4xx_ll_usb.o(.text.USB_ReadPMA))
  [Stack]

  - Max Depth = 36
  - Call Chain = USB_ReadPMA
  [Called By]
  - >> HAL_PCD_EP_DB_Receive
  - >> PCD_EP_ISR_Handler

  USB_SetDevAddress (Thumb, 32 bytes, Stack size 8 bytes, stm32g4xx_ll_usb.o(.text.USB_SetDevAddress))
  [Stack]

  - Max Depth = 8
  - Call Chain = USB_SetDevAddress
  [Called By]
  - >> HAL_PCD_SetAddress

  USB_WritePMA (Thumb, 122 bytes, Stack size 36 bytes, stm32g4xx_ll_usb.o(.text.USB_WritePMA))
  [Stack]

  - Max Depth = 36
  - Call Chain = USB_WritePMA
  [Called By]
  - >> USB_EPStartXfer
  - >> HAL_PCD_EP_DB_Transmit

  UsageFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32g4xx_it.o(.text.UsageFault_Handler))
  [Address Reference Count : 1]

  - startup_stm32g474xx.o(RESET)

  main (Thumb, 42 bytes, Stack size 16 bytes, main.o(.text.main))
  [Stack]

  - Max Depth = 568 + Unknown Stack Size
  - Call Chain = main ⇒ AD_Project_Loop ⇒ AD_Modbus_Loop ⇒ process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Project_Loop
  - >> AD_Project_Init
  - >> SystemClock_Config
  - >> HAL_Init
  - >> MX_USART2_UART_Init
  - >> MX_TIM1_Init
  - >> MX_GPIO_Init
  [Called By]
  - >> __rt_entry_main

  _fp_init (Thumb, 26 bytes, Stack size 0 bytes, fpinit.o(x$fpl$fpinit))
  [Called By]

  - >> __rt_lib_init_fp_1

  __fplib_config_fpu_vfp (Thumb, 0 bytes, Stack size unknown bytes, fpinit.o(x$fpl$fpinit), UNUSED)

  __fplib_config_pureend_doubles (Thumb, 0 bytes, Stack size unknown bytes, fpinit.o(x$fpl$fpinit), UNUSED)

  ### Local Symbols

  MX_GPIO_Init (Thumb, 190 bytes, Stack size 56 bytes, main.o(.text.MX_GPIO_Init))
  [Stack]

  - Max Depth = 120
  - Call Chain = MX_GPIO_Init ⇒ HAL_NVIC_SetPriority ⇒ NVIC_EncodePriority
  [Calls]
  - >> HAL_NVIC_EnableIRQ
  - >> HAL_NVIC_SetPriority
  - >> HAL_GPIO_Init
  [Called By]
  - >> main

  MX_TIM1_Init (Thumb, 300 bytes, Stack size 112 bytes, main.o(.text.MX_TIM1_Init))
  [Stack]

  - Max Depth = 220 + Unknown Stack Size
  - Call Chain = MX_TIM1_Init ⇒ HAL_TIM_MspPostInit ⇒ HAL_GPIO_Init
  [Calls]
  - >> HAL_TIM_MspPostInit
  - >> HAL_TIMEx_ConfigBreakDeadTime
  - >> HAL_TIM_PWM_ConfigChannel
  - >> HAL_TIMEx_MasterConfigSynchronization
  - >> HAL_TIM_PWM_Init
  - >> Error_Handler
  - >> __aeabi_memclr4
  [Called By]
  - >> main

  MX_USART2_UART_Init (Thumb, 72 bytes, Stack size 16 bytes, main.o(.text.MX_USART2_UART_Init))
  [Stack]

  - Max Depth = 160
  - Call Chain = MX_USART2_UART_Init ⇒ HAL_UART_Init ⇒ UART_SetConfig ⇒ __aeabi_uldivmod
  [Calls]
  - >> HAL_UART_Init
  - >> Error_Handler
  [Called By]
  - >> main

  board_set_led (Thumb, 10 bytes, Stack size 4 bytes, ad_board.o(.text.board_set_led))
  [Stack]

  - Max Depth = 4
  - Call Chain = board_set_led
  [Called By]
  - >> AD_Board_Init
  - >> board_toggle_led
  - >> board_update_led

  board_adc_init (Thumb, 590 bytes, Stack size 24 bytes, ad_board.o(.text.board_adc_init))
  [Stack]

  - Max Depth = 128 + Unknown Stack Size
  - Call Chain = board_adc_init ⇒ board_adc_zero_calibrate ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> board_adc_zero_calibrate
  - >> wait_bits_set
  - >> wait_bits_clear
  - >> board_adc_stop_regular
  - >> board_adc_gpio_init
  - >> board_phase_shunt_resistance_ohm
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Board_ResetAdcFaults
  - >> AD_Board_Init

  board_apply_command (Thumb, 216 bytes, Stack size 72 bytes, ad_board.o(.text.board_apply_command))
  [Stack]

  - Max Depth = 100 + Unknown Stack Size
  - Call Chain = board_apply_command ⇒ SimulinkInterface_SetCommand
  [Calls]
  - >> SimulinkInterface_SetCommand
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Board_StopParamTest
  - >> AD_Board_StartDataLogging
  - >> AD_Board_Init

  board_phase_shunt_resistance_ohm (Thumb, 20 bytes, Stack size 8 bytes, ad_board.o(.text.board_phase_shunt_resistance_ohm))
  [Stack]

  - Max Depth = 16
  - Call Chain = board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> board_normalize_phase_shunt_resistance
  [Called By]
  - >> AD_Board_GetPhaseShuntResistanceOhm
  - >> board_current_a_per_v
  - >> board_adc_init

  board_adc_gpio_init (Thumb, 124 bytes, Stack size 8 bytes, ad_board.o(.text.board_adc_gpio_init))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_adc_gpio_init
  [Called By]
  - >> board_adc_init

  board_adc_stop_regular (Thumb, 116 bytes, Stack size 16 bytes, ad_board.o(.text.board_adc_stop_regular))
  [Stack]

  - Max Depth = 32
  - Call Chain = board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> wait_bits_clear
  [Called By]
  - >> board_adc_read_channel
  - >> board_adc_init

  wait_bits_clear (Thumb, 60 bytes, Stack size 16 bytes, ad_board.o(.text.wait_bits_clear))
  [Stack]

  - Max Depth = 16
  - Call Chain = wait_bits_clear
  [Called By]
  - >> board_adc_stop_regular
  - >> board_adc_init

  wait_bits_set (Thumb, 60 bytes, Stack size 16 bytes, ad_board.o(.text.wait_bits_set))
  [Stack]

  - Max Depth = 16
  - Call Chain = wait_bits_set
  [Called By]
  - >> board_adc_read_channel
  - >> board_adc_init

  board_adc_zero_calibrate (Thumb, 176 bytes, Stack size 24 bytes, ad_board.o(.text.board_adc_zero_calibrate))
  [Stack]

  - Max Depth = 104
  - Call Chain = board_adc_zero_calibrate ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> adc_raw_to_voltage
  - >> board_adc_read_channel_average
  [Called By]
  - >> board_adc_init

  board_adc_update_measurements (Thumb, 308 bytes, Stack size 24 bytes, ad_board.o(.text.board_adc_update_measurements))
  [Stack]

  - Max Depth = 104
  - Call Chain = board_adc_update_measurements ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> adc_vdc_from_voltage
  - >> adc_current_from_voltage
  - >> board_mcu_temperature_filter
  - >> adc_mcu_temperature_from_raw
  - >> board_vdc_filter
  - >> adc_voltage_minus_offset
  - >> adc_raw_to_voltage
  - >> board_adc_read_channel_average
  - >> board_adc_read_channel
  [Called By]
  - >> AD_Board_ReadMeasurements

  board_update_current_rms (Thumb, 364 bytes, Stack size 32 bytes, ad_board.o(.text.board_update_current_rms))
  [Stack]

  - Max Depth = 56
  - Call Chain = board_update_current_rms ⇒ board_sqrtf
  [Calls]
  - >> board_sqrtf
  [Called By]
  - >> AD_Board_ReadMeasurements

  board_update_torque_estimate (Thumb, 284 bytes, Stack size 32 bytes, ad_board.o(.text.board_update_torque_estimate))
  [Stack]

  - Max Depth = 152
  - Call Chain = board_update_torque_estimate ⇒ board_electrical_torque_estimate ⇒ board_rms_torque_power_estimate ⇒ board_phase_voltage_rms_estimate ⇒ board_sqrtf
  [Calls]
  - >> board_clamp_abs
  - >> board_electrical_torque_estimate
  - >> board_mechanical_torque_estimate
  - >> board_update_phase_voltage_estimate
  [Called By]
  - >> AD_Board_ReadMeasurements

  board_update_slip_measurement (Thumb, 192 bytes, Stack size 32 bytes, ad_board.o(.text.board_update_slip_measurement))
  [Stack]

  - Max Depth = 44
  - Call Chain = board_update_slip_measurement ⇒ board_clamp_abs
  [Calls]
  - >> AD_ParamID_GetParameters
  - >> AD_Inverter_GetState
  - >> board_absf
  - >> board_get_pole_pairs
  - >> board_clamp_abs
  [Called By]
  - >> AD_Board_ReadMeasurements

  board_adc_read_channel (Thumb, 124 bytes, Stack size 16 bytes, ad_board.o(.text.board_adc_read_channel))
  [Stack]

  - Max Depth = 48
  - Call Chain = board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> board_adc_note_success
  - >> board_adc_note_timeout
  - >> wait_bits_set
  - >> board_adc_stop_regular
  [Called By]
  - >> board_adc_read_channel_average
  - >> board_adc_update_measurements

  board_adc_read_channel_average (Thumb, 110 bytes, Stack size 32 bytes, ad_board.o(.text.board_adc_read_channel_average))
  [Stack]

  - Max Depth = 80
  - Call Chain = board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> board_adc_read_channel
  [Called By]
  - >> board_adc_update_measurements
  - >> board_adc_zero_calibrate

  adc_raw_to_voltage (Thumb, 40 bytes, Stack size 4 bytes, ad_board.o(.text.adc_raw_to_voltage))
  [Stack]

  - Max Depth = 4
  - Call Chain = adc_raw_to_voltage
  [Called By]
  - >> board_adc_update_measurements
  - >> board_adc_zero_calibrate

  adc_voltage_minus_offset (Thumb, 72 bytes, Stack size 12 bytes, ad_board.o(.text.adc_voltage_minus_offset))
  [Stack]

  - Max Depth = 12
  - Call Chain = adc_voltage_minus_offset
  [Called By]
  - >> board_adc_update_measurements

  board_vdc_filter (Thumb, 158 bytes, Stack size 8 bytes, ad_board.o(.text.board_vdc_filter))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_vdc_filter
  [Called By]
  - >> board_adc_update_measurements

  adc_mcu_temperature_from_raw (Thumb, 240 bytes, Stack size 24 bytes, ad_board.o(.text.adc_mcu_temperature_from_raw))
  [Stack]

  - Max Depth = 24
  - Call Chain = adc_mcu_temperature_from_raw
  [Called By]
  - >> board_adc_update_measurements

  board_mcu_temperature_filter (Thumb, 162 bytes, Stack size 8 bytes, ad_board.o(.text.board_mcu_temperature_filter))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_mcu_temperature_filter
  [Called By]
  - >> board_adc_update_measurements

  adc_current_from_voltage (Thumb, 76 bytes, Stack size 24 bytes, ad_board.o(.text.adc_current_from_voltage))
  [Stack]

  - Max Depth = 48
  - Call Chain = adc_current_from_voltage ⇒ board_current_a_per_v ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> board_current_a_per_v
  [Called By]
  - >> board_adc_update_measurements

  adc_vdc_from_voltage (Thumb, 268 bytes, Stack size 28 bytes, ad_board.o(.text.adc_vdc_from_voltage))
  [Stack]

  - Max Depth = 28
  - Call Chain = adc_vdc_from_voltage
  [Called By]
  - >> board_adc_update_measurements

  board_sqrtf (Thumb, 164 bytes, Stack size 24 bytes, ad_board.o(.text.board_sqrtf))
  [Stack]

  - Max Depth = 24
  - Call Chain = board_sqrtf
  [Called By]
  - >> board_phase_voltage_rms_estimate
  - >> board_update_current_rms

  board_update_phase_voltage_estimate (Thumb, 168 bytes, Stack size 24 bytes, ad_board.o(.text.board_update_phase_voltage_estimate))
  [Stack]

  - Max Depth = 24
  - Call Chain = board_update_phase_voltage_estimate
  [Calls]
  - >> AD_Inverter_GetState
  [Called By]
  - >> board_update_torque_estimate

  board_mechanical_torque_estimate (Thumb, 452 bytes, Stack size 48 bytes, ad_board.o(.text.board_mechanical_torque_estimate))
  [Stack]

  - Max Depth = 56
  - Call Chain = board_mechanical_torque_estimate ⇒ board_absf
  [Calls]
  - >> AD_ParamID_GetParameters
  - >> board_rpm_to_rad_s
  - >> board_absf
  [Called By]
  - >> board_update_torque_estimate

  board_electrical_torque_estimate (Thumb, 444 bytes, Stack size 40 bytes, ad_board.o(.text.board_electrical_torque_estimate))
  [Stack]

  - Max Depth = 120
  - Call Chain = board_electrical_torque_estimate ⇒ board_rms_torque_power_estimate ⇒ board_phase_voltage_rms_estimate ⇒ board_sqrtf
  [Calls]
  - >> AD_ParamID_GetParameters
  - >> board_rms_torque_power_estimate
  - >> board_torque_omega_rad_s
  - >> board_absf
  [Called By]
  - >> board_update_torque_estimate

  board_clamp_abs (Thumb, 110 bytes, Stack size 12 bytes, ad_board.o(.text.board_clamp_abs))
  [Stack]

  - Max Depth = 12
  - Call Chain = board_clamp_abs
  [Called By]
  - >> board_update_slip_measurement
  - >> board_update_torque_estimate

  board_get_pole_pairs (Thumb, 84 bytes, Stack size 8 bytes, ad_board.o(.text.board_get_pole_pairs))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_get_pole_pairs
  [Called By]
  - >> board_torque_omega_from_pwm
  - >> board_update_slip_measurement

  board_absf (Thumb, 54 bytes, Stack size 8 bytes, ad_board.o(.text.board_absf))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_absf
  [Called By]
  - >> board_rms_torque_power_estimate
  - >> board_torque_omega_rad_s
  - >> board_electrical_torque_estimate
  - >> board_mechanical_torque_estimate
  - >> board_update_slip_measurement

  board_normalize_phase_shunt_resistance (Thumb, 112 bytes, Stack size 8 bytes, ad_board.o(.text.board_normalize_phase_shunt_resistance))
  [Stack]

  - Max Depth = 8
  - Call Chain = board_normalize_phase_shunt_resistance
  [Called By]
  - >> AD_Board_SetPhaseShuntResistanceOhm
  - >> board_phase_shunt_resistance_ohm

  board_update_led (Thumb, 136 bytes, Stack size 16 bytes, ad_board.o(.text.board_update_led))
  [Stack]

  - Max Depth = 28
  - Call Chain = board_update_led ⇒ board_toggle_led ⇒ board_set_led
  [Calls]
  - >> AD_ParamID_GetStatus
  - >> board_toggle_led
  - >> board_set_led
  [Called By]
  - >> AD_Board_Loop

  board_toggle_led (Thumb, 28 bytes, Stack size 8 bytes, ad_board.o(.text.board_toggle_led))
  [Stack]

  - Max Depth = 12
  - Call Chain = board_toggle_led ⇒ board_set_led
  [Calls]
  - >> board_set_led
  [Called By]
  - >> board_update_led

  board_adc_note_timeout (Thumb, 68 bytes, Stack size 0 bytes, ad_board.o(.text.board_adc_note_timeout))
  [Called By]

  - >> board_adc_read_channel

  board_adc_note_success (Thumb, 30 bytes, Stack size 0 bytes, ad_board.o(.text.board_adc_note_success))
  [Called By]

  - >> board_adc_read_channel

  board_current_a_per_v (Thumb, 28 bytes, Stack size 8 bytes, ad_board.o(.text.board_current_a_per_v))
  [Stack]

  - Max Depth = 24
  - Call Chain = board_current_a_per_v ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> board_phase_shunt_resistance_ohm
  [Called By]
  - >> adc_current_from_voltage

  board_rpm_to_rad_s (Thumb, 24 bytes, Stack size 4 bytes, ad_board.o(.text.board_rpm_to_rad_s))
  [Stack]

  - Max Depth = 4
  - Call Chain = board_rpm_to_rad_s
  [Called By]
  - >> board_torque_omega_rad_s
  - >> board_mechanical_torque_estimate

  board_torque_omega_rad_s (Thumb, 118 bytes, Stack size 24 bytes, ad_board.o(.text.board_torque_omega_rad_s))
  [Stack]

  - Max Depth = 56
  - Call Chain = board_torque_omega_rad_s ⇒ board_torque_omega_from_pwm ⇒ board_get_pole_pairs
  [Calls]
  - >> board_torque_omega_from_pwm
  - >> board_rpm_to_rad_s
  - >> board_absf
  [Called By]
  - >> board_electrical_torque_estimate

  board_rms_torque_power_estimate (Thumb, 252 bytes, Stack size 32 bytes, ad_board.o(.text.board_rms_torque_power_estimate))
  [Stack]

  - Max Depth = 80
  - Call Chain = board_rms_torque_power_estimate ⇒ board_phase_voltage_rms_estimate ⇒ board_sqrtf
  [Calls]
  - >> board_average_phase_current_rms
  - >> board_phase_voltage_rms_estimate
  - >> board_absf
  [Called By]
  - >> board_electrical_torque_estimate

  board_torque_omega_from_pwm (Thumb, 120 bytes, Stack size 24 bytes, ad_board.o(.text.board_torque_omega_from_pwm))
  [Stack]

  - Max Depth = 32
  - Call Chain = board_torque_omega_from_pwm ⇒ board_get_pole_pairs
  [Calls]
  - >> AD_Inverter_GetState
  - >> board_get_pole_pairs
  [Called By]
  - >> board_torque_omega_rad_s

  board_phase_voltage_rms_estimate (Thumb, 86 bytes, Stack size 24 bytes, ad_board.o(.text.board_phase_voltage_rms_estimate))
  [Stack]

  - Max Depth = 48
  - Call Chain = board_phase_voltage_rms_estimate ⇒ board_sqrtf
  [Calls]
  - >> board_sqrtf
  [Called By]
  - >> board_rms_torque_power_estimate

  board_average_phase_current_rms (Thumb, 260 bytes, Stack size 20 bytes, ad_board.o(.text.board_average_phase_current_rms))
  [Stack]

  - Max Depth = 20
  - Call Chain = board_average_phase_current_rms
  [Called By]
  - >> board_rms_torque_power_estimate

  clamp01 (Thumb, 70 bytes, Stack size 8 bytes, ad_inverter.o(.text.clamp01))
  [Stack]

  - Max Depth = 8
  - Call Chain = clamp01
  [Called By]
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_SetDuty
  - >> id_configure_rotation_pwm
  - >> id_apply_six_step_sector
  - >> id_apply_rotating_vector
  - >> id_apply_dc_vector
  - >> rotation_pwm_apply_six_step
  - >> duty_to_compare_inverted
  - >> duty_to_compare

  duty_to_compare (Thumb, 126 bytes, Stack size 24 bytes, ad_inverter.o(.text.duty_to_compare))
  [Stack]

  - Max Depth = 32
  - Call Chain = duty_to_compare ⇒ clamp01
  [Calls]
  - >> clamp01
  [Called By]
  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_SetDuty
  - >> duty_to_compare_inverted

  rotation_pwm_stop (Thumb, 26 bytes, Stack size 0 bytes, ad_inverter.o(.text.rotation_pwm_stop))
  [Called By]

  - >> id_configure_rotation_pwm
  - >> id_step_rotation_3hz
  - >> rotation_pwm_service_update
  - >> id_runtime_reset
  - >> AD_Inverter_Disable

  inverter_disable_update_irq (Thumb, 28 bytes, Stack size 0 bytes, ad_inverter.o(.text.inverter_disable_update_irq))
  [Called By]

  - >> AD_Inverter_Disable

  inverter_write_pwm_polarity (Thumb, 104 bytes, Stack size 16 bytes, ad_inverter.o(.text.inverter_write_pwm_polarity))
  [Stack]

  - Max Depth = 16
  - Call Chain = inverter_write_pwm_polarity
  [Called By]
  - >> AD_Inverter_SetPwmPolarityFlags
  - >> AD_Inverter_Init

  inverter_write_pwm_timing (Thumb, 116 bytes, Stack size 12 bytes, ad_inverter.o(.text.inverter_write_pwm_timing))
  [Stack]

  - Max Depth = 12
  - Call Chain = inverter_write_pwm_timing
  [Called By]
  - >> AD_Inverter_SetPwmTimingMode
  - >> AD_Inverter_Init

  id_runtime_reset (Thumb, 90 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_runtime_reset))
  [Stack]

  - Max Depth = 16
  - Call Chain = id_runtime_reset
  [Calls]
  - >> rotation_pwm_stop
  [Called By]
  - >> id_finish_auto_partial
  - >> id_step_locked_rr
  - >> id_step_ls
  - >> id_step_rotation_3hz
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> id_step_auto
  - >> id_step_locked_rotor
  - >> id_step_rs
  - >> AD_Inverter_Init

  inverter_clear_break_flags (Thumb, 34 bytes, Stack size 0 bytes, ad_inverter.o(.text.inverter_clear_break_flags))
  [Called By]

  - >> AD_Inverter_StartPwmOutput
  - >> AD_Inverter_Enable

  inverter_enable_update_irq (Thumb, 28 bytes, Stack size 0 bytes, ad_inverter.o(.text.inverter_enable_update_irq))
  [Called By]

  - >> AD_Inverter_Enable

  set_service_debug_duty (Thumb, 126 bytes, Stack size 12 bytes, ad_inverter.o(.text.set_service_debug_duty))
  [Stack]

  - Max Depth = 12
  - Call Chain = set_service_debug_duty
  [Called By]
  - >> AD_Inverter_StartPwmOutput

  duty_to_compare_inverted (Thumb, 36 bytes, Stack size 16 bytes, ad_inverter.o(.text.duty_to_compare_inverted))
  [Stack]

  - Max Depth = 48
  - Call Chain = duty_to_compare_inverted ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> duty_to_compare
  - >> clamp01
  [Called By]
  - >> AD_Inverter_StartPwmOutput

  rotation_pwm_service_update (Thumb, 564 bytes, Stack size 72 bytes, ad_inverter.o(.text.rotation_pwm_service_update))
  [Stack]

  - Max Depth = 176
  - Call Chain = rotation_pwm_service_update ⇒ rotation_pwm_apply_six_step ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_Inverter_SetDuty
  - >> cos_approx
  - >> rotation_pwm_apply_six_step
  - >> wrap_angle
  - >> slew_towards
  - >> rotation_pwm_stop
  [Called By]
  - >> HAL_TIM_PeriodElapsedCallback

  slew_towards (Thumb, 180 bytes, Stack size 16 bytes, ad_inverter.o(.text.slew_towards))
  [Stack]

  - Max Depth = 16
  - Call Chain = slew_towards
  [Called By]
  - >> rotation_pwm_service_update

  wrap_angle (Thumb, 92 bytes, Stack size 4 bytes, ad_inverter.o(.text.wrap_angle))
  [Stack]

  - Max Depth = 4
  - Call Chain = wrap_angle
  [Called By]
  - >> id_apply_rotating_vector
  - >> cos_approx
  - >> rotation_pwm_service_update

  rotation_pwm_apply_six_step (Thumb, 214 bytes, Stack size 40 bytes, ad_inverter.o(.text.rotation_pwm_apply_six_step))
  [Stack]

  - Max Depth = 104
  - Call Chain = rotation_pwm_apply_six_step ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_Inverter_SetDuty
  - >> clamp01
  [Called By]
  - >> rotation_pwm_service_update

  cos_approx (Thumb, 240 bytes, Stack size 24 bytes, ad_inverter.o(.text.cos_approx))
  [Stack]

  - Max Depth = 40
  - Call Chain = cos_approx ⇒ cos_poly
  [Calls]
  - >> cos_poly
  - >> wrap_angle
  [Called By]
  - >> id_apply_rotating_vector
  - >> rotation_pwm_service_update

  id_get_test_duty (Thumb, 112 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_get_test_duty))
  [Stack]

  - Max Depth = 16
  - Call Chain = id_get_test_duty
  [Calls]
  - >> AD_ParamID_GetPwmDutyLimit
  [Called By]
  - >> AD_ParamID_HardwareStep

  id_step_rs (Thumb, 424 bytes, Stack size 40 bytes, ad_inverter.o(.text.id_step_rs))
  [Stack]

  - Max Depth = 192
  - Call Chain = id_step_rs ⇒ id_apply_dc_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_store_rs
  - >> id_phase_a_current
  - >> elapsed_us
  - >> id_apply_dc_vector
  - >> id_runtime_reset
  - >> AD_Inverter_Disable
  [Called By]
  - >> AD_ParamID_HardwareStep
  - >> id_step_auto

  id_step_locked_rotor (Thumb, 254 bytes, Stack size 32 bytes, ad_inverter.o(.text.id_step_locked_rotor))
  [Stack]

  - Max Depth = 296
  - Call Chain = id_step_locked_rotor ⇒ id_step_locked_rr ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_step_locked_rr
  - >> id_step_ls
  - >> id_runtime_reset
  [Called By]
  - >> AD_ParamID_HardwareStep

  id_step_auto (Thumb, 630 bytes, Stack size 32 bytes, ad_inverter.o(.text.id_step_auto))
  [Stack]

  - Max Depth = 344
  - Call Chain = id_step_auto ⇒ id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_ParamID_MarkLockedRotorSkipped
  - >> AD_ParamID_IsLockedRotorAllowed
  - >> id_finish_auto_partial
  - >> id_step_locked_rr
  - >> id_step_ls
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> id_step_rs
  - >> id_runtime_reset
  [Called By]
  - >> AD_ParamID_HardwareStep

  id_step_magnetizing (Thumb, 476 bytes, Stack size 56 bytes, ad_inverter.o(.text.id_step_magnetizing))
  [Stack]

  - Max Depth = 248
  - Call Chain = id_step_magnetizing ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_store_lm
  - >> id_phase_voltage_rms
  - >> id_average_vdc
  - >> id_average_ac_current_rms
  - >> id_accumulate_ac_sample
  - >> id_apply_rotating_vector
  - >> id_get_no_load_frequency_hz
  - >> elapsed_us
  - >> id_runtime_reset
  - >> AD_Inverter_Disable
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> AD_ParamID_HardwareStep
  - >> id_step_auto

  id_step_inertia_friction (Thumb, 1180 bytes, Stack size 120 bytes, ad_inverter.o(.text.id_step_inertia_friction))
  [Stack]

  - Max Depth = 312
  - Call Chain = id_step_inertia_friction ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_store_inertia_friction
  - >> rpm_to_rad_s
  - >> absf_local
  - >> id_get_inertia_frequency_hz
  - >> id_phase_voltage_rms
  - >> id_average_vdc
  - >> id_average_ac_current_rms
  - >> id_accumulate_ac_sample
  - >> id_apply_rotating_vector
  - >> elapsed_us
  - >> id_runtime_reset
  - >> AD_Inverter_Disable
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> AD_ParamID_HardwareStep
  - >> id_step_auto

  id_step_rotation_3hz (Thumb, 240 bytes, Stack size 40 bytes, ad_inverter.o(.text.id_step_rotation_3hz))
  [Stack]

  - Max Depth = 224
  - Call Chain = id_step_rotation_3hz ⇒ id_configure_rotation_pwm ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_ParamID_GetRotationFrequencyHz
  - >> AD_ParamID_GetMotorControlType
  - >> id_configure_rotation_pwm
  - >> id_apply_six_step_sector
  - >> id_get_rotation_test_duty
  - >> elapsed_us
  - >> id_runtime_reset
  - >> rotation_pwm_stop
  [Called By]
  - >> AD_ParamID_HardwareStep

  id_apply_dc_vector (Thumb, 94 bytes, Stack size 32 bytes, ad_inverter.o(.text.id_apply_dc_vector))
  [Stack]

  - Max Depth = 152
  - Call Chain = id_apply_dc_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_Inverter_ApplyCommand
  - >> clamp01
  [Called By]
  - >> id_step_ls
  - >> id_step_rs

  elapsed_us (Thumb, 16 bytes, Stack size 8 bytes, ad_inverter.o(.text.elapsed_us))
  [Stack]

  - Max Depth = 8
  - Call Chain = elapsed_us
  [Called By]
  - >> id_apply_rotating_vector
  - >> id_step_locked_rr
  - >> id_step_ls
  - >> id_step_rotation_3hz
  - >> id_step_inertia_friction
  - >> id_step_magnetizing
  - >> id_step_rs

  id_phase_a_current (Thumb, 44 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_phase_a_current))
  [Stack]

  - Max Depth = 24
  - Call Chain = id_phase_a_current ⇒ absf_local
  [Calls]
  - >> absf_local
  [Called By]
  - >> id_step_ls
  - >> id_step_rs

  id_store_rs (Thumb, 112 bytes, Stack size 72 bytes, ad_inverter.o(.text.id_store_rs))
  [Stack]

  - Max Depth = 100
  - Call Chain = id_store_rs ⇒ AD_ParamID_SetParameters
  [Calls]
  - >> AD_ParamID_SetParameters
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_rs

  id_step_ls (Thumb, 432 bytes, Stack size 40 bytes, ad_inverter.o(.text.id_step_ls))
  [Stack]

  - Max Depth = 192
  - Call Chain = id_step_ls ⇒ id_apply_dc_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_store_ls
  - >> absf_local
  - >> id_phase_a_current
  - >> elapsed_us
  - >> id_apply_dc_vector
  - >> id_runtime_reset
  - >> AD_Inverter_Disable
  [Called By]
  - >> id_step_auto
  - >> id_step_locked_rotor

  id_step_locked_rr (Thumb, 628 bytes, Stack size 72 bytes, ad_inverter.o(.text.id_step_locked_rr))
  [Stack]

  - Max Depth = 264
  - Call Chain = id_step_locked_rr ⇒ id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> id_store_rr
  - >> sqrtf_local
  - >> id_phase_voltage_rms
  - >> id_average_vdc
  - >> id_average_ac_current_rms
  - >> id_accumulate_ac_sample
  - >> id_apply_rotating_vector
  - >> elapsed_us
  - >> id_runtime_reset
  - >> AD_Inverter_Disable
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_auto
  - >> id_step_locked_rotor

  id_finish_auto_partial (Thumb, 70 bytes, Stack size 24 bytes, ad_inverter.o(.text.id_finish_auto_partial))
  [Stack]

  - Max Depth = 40
  - Call Chain = id_finish_auto_partial ⇒ id_has_valid_parameters
  [Calls]
  - >> AD_ParamID_MarkPartialComplete
  - >> AD_ParamID_MarkStepFailed
  - >> id_has_valid_parameters
  - >> id_runtime_reset
  [Called By]
  - >> id_step_auto

  id_get_no_load_frequency_hz (Thumb, 78 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_get_no_load_frequency_hz))
  [Stack]

  - Max Depth = 32
  - Call Chain = id_get_no_load_frequency_hz ⇒ id_get_nominal_frequency_hz
  [Calls]
  - >> id_get_nominal_frequency_hz
  [Called By]
  - >> id_step_magnetizing

  id_apply_rotating_vector (Thumb, 368 bytes, Stack size 72 bytes, ad_inverter.o(.text.id_apply_rotating_vector))
  [Stack]

  - Max Depth = 192
  - Call Chain = id_apply_rotating_vector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_Inverter_ApplyCommand
  - >> elapsed_us
  - >> cos_approx
  - >> wrap_angle
  - >> clamp01
  [Called By]
  - >> id_step_locked_rr
  - >> id_step_inertia_friction
  - >> id_step_magnetizing

  id_accumulate_ac_sample (Thumb, 64 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_accumulate_ac_sample))
  [Stack]

  - Max Depth = 20
  - Call Chain = id_accumulate_ac_sample ⇒ id_phase_current_sq
  [Calls]
  - >> id_phase_current_sq
  [Called By]
  - >> id_step_locked_rr
  - >> id_step_inertia_friction
  - >> id_step_magnetizing

  id_average_ac_current_rms (Thumb, 66 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_average_ac_current_rms))
  [Stack]

  - Max Depth = 40
  - Call Chain = id_average_ac_current_rms ⇒ sqrtf_local
  [Calls]
  - >> sqrtf_local
  [Called By]
  - >> id_step_locked_rr
  - >> id_step_inertia_friction
  - >> id_step_magnetizing

  id_average_vdc (Thumb, 60 bytes, Stack size 4 bytes, ad_inverter.o(.text.id_average_vdc))
  [Stack]

  - Max Depth = 4
  - Call Chain = id_average_vdc
  [Called By]
  - >> id_step_locked_rr
  - >> id_step_inertia_friction
  - >> id_step_magnetizing

  id_phase_voltage_rms (Thumb, 40 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_phase_voltage_rms))
  [Stack]

  - Max Depth = 24
  - Call Chain = id_phase_voltage_rms ⇒ absf_local
  [Calls]
  - >> absf_local
  [Called By]
  - >> id_step_locked_rr
  - >> id_step_inertia_friction
  - >> id_step_magnetizing

  id_store_lm (Thumb, 120 bytes, Stack size 80 bytes, ad_inverter.o(.text.id_store_lm))
  [Stack]

  - Max Depth = 108
  - Call Chain = id_store_lm ⇒ AD_ParamID_SetParameters
  [Calls]
  - >> AD_ParamID_SetParameters
  - >> id_update_inductance_model
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_magnetizing

  id_get_inertia_frequency_hz (Thumb, 88 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_get_inertia_frequency_hz))
  [Stack]

  - Max Depth = 32
  - Call Chain = id_get_inertia_frequency_hz ⇒ id_get_nominal_frequency_hz
  [Calls]
  - >> id_get_nominal_frequency_hz
  [Called By]
  - >> id_step_inertia_friction

  absf_local (Thumb, 54 bytes, Stack size 8 bytes, ad_inverter.o(.text.absf_local))
  [Stack]

  - Max Depth = 8
  - Call Chain = absf_local
  [Called By]
  - >> id_configure_rotation_pwm
  - >> id_phase_voltage_rms
  - >> id_step_ls
  - >> id_phase_a_current
  - >> id_step_inertia_friction

  rpm_to_rad_s (Thumb, 24 bytes, Stack size 4 bytes, ad_inverter.o(.text.rpm_to_rad_s))
  [Stack]

  - Max Depth = 4
  - Call Chain = rpm_to_rad_s
  [Called By]
  - >> id_step_inertia_friction

  id_store_inertia_friction (Thumb, 120 bytes, Stack size 80 bytes, ad_inverter.o(.text.id_store_inertia_friction))
  [Stack]

  - Max Depth = 108
  - Call Chain = id_store_inertia_friction ⇒ AD_ParamID_SetParameters
  [Calls]
  - >> AD_ParamID_SetParameters
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_inertia_friction

  id_get_rotation_test_duty (Thumb, 36 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_get_rotation_test_duty))
  [Stack]

  - Max Depth = 16
  - Call Chain = id_get_rotation_test_duty
  [Calls]
  - >> AD_ParamID_GetRotationModulation
  [Called By]
  - >> id_step_rotation_3hz

  id_apply_six_step_sector (Thumb, 216 bytes, Stack size 56 bytes, ad_inverter.o(.text.id_apply_six_step_sector))
  [Stack]

  - Max Depth = 176
  - Call Chain = id_apply_six_step_sector ⇒ AD_Inverter_ApplyCommand ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_Inverter_ApplyCommand
  - >> clamp01
  [Called By]
  - >> id_step_rotation_3hz

  id_configure_rotation_pwm (Thumb, 612 bytes, Stack size 80 bytes, ad_inverter.o(.text.id_configure_rotation_pwm))
  [Stack]

  - Max Depth = 184
  - Call Chain = id_configure_rotation_pwm ⇒ AD_Inverter_Enable ⇒ HAL_TIM_PWM_Start ⇒ TIM_CCxChannelCmd
  [Calls]
  - >> AD_ParamID_GetRotationRampTimeMs
  - >> AD_Inverter_Enable
  - >> inverter_get_pwm_update_dt_s
  - >> absf_local
  - >> rotation_pwm_stop
  - >> clamp01
  [Called By]
  - >> id_step_rotation_3hz

  cos_poly (Thumb, 104 bytes, Stack size 16 bytes, ad_inverter.o(.text.cos_poly))
  [Stack]

  - Max Depth = 16
  - Call Chain = cos_poly
  [Called By]
  - >> cos_approx

  id_store_ls (Thumb, 120 bytes, Stack size 80 bytes, ad_inverter.o(.text.id_store_ls))
  [Stack]

  - Max Depth = 108
  - Call Chain = id_store_ls ⇒ AD_ParamID_SetParameters
  [Calls]
  - >> AD_ParamID_SetParameters
  - >> id_update_inductance_model
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_ls

  sqrtf_local (Thumb, 164 bytes, Stack size 24 bytes, ad_inverter.o(.text.sqrtf_local))
  [Stack]

  - Max Depth = 24
  - Call Chain = sqrtf_local
  [Called By]
  - >> id_average_ac_current_rms
  - >> id_step_locked_rr

  id_store_rr (Thumb, 112 bytes, Stack size 72 bytes, ad_inverter.o(.text.id_store_rr))
  [Stack]

  - Max Depth = 100
  - Call Chain = id_store_rr ⇒ AD_ParamID_SetParameters
  [Calls]
  - >> AD_ParamID_SetParameters
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_step_locked_rr

  id_update_inductance_model (Thumb, 218 bytes, Stack size 12 bytes, ad_inverter.o(.text.id_update_inductance_model))
  [Stack]

  - Max Depth = 12
  - Call Chain = id_update_inductance_model
  [Called By]
  - >> id_store_ls
  - >> id_store_lm

  id_phase_current_sq (Thumb, 50 bytes, Stack size 4 bytes, ad_inverter.o(.text.id_phase_current_sq))
  [Stack]

  - Max Depth = 4
  - Call Chain = id_phase_current_sq
  [Called By]
  - >> id_accumulate_ac_sample

  id_has_valid_parameters (Thumb, 44 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_has_valid_parameters))
  [Stack]

  - Max Depth = 16
  - Call Chain = id_has_valid_parameters
  [Calls]
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_finish_auto_partial

  id_get_nominal_frequency_hz (Thumb, 64 bytes, Stack size 16 bytes, ad_inverter.o(.text.id_get_nominal_frequency_hz))
  [Stack]

  - Max Depth = 16
  - Call Chain = id_get_nominal_frequency_hz
  [Calls]
  - >> AD_ParamID_GetParameters
  [Called By]
  - >> id_get_inertia_frequency_hz
  - >> id_get_no_load_frequency_hz

  inverter_get_pwm_update_dt_s (Thumb, 176 bytes, Stack size 32 bytes, ad_inverter.o(.text.inverter_get_pwm_update_dt_s))
  [Stack]

  - Max Depth = 56
  - Call Chain = inverter_get_pwm_update_dt_s ⇒ inverter_get_tim1_clock_hz ⇒ HAL_RCC_GetPCLK2Freq
  [Calls]
  - >> inverter_get_tim1_clock_hz
  [Called By]
  - >> id_configure_rotation_pwm

  inverter_get_tim1_clock_hz (Thumb, 68 bytes, Stack size 16 bytes, ad_inverter.o(.text.inverter_get_tim1_clock_hz))
  [Stack]

  - Max Depth = 24
  - Call Chain = inverter_get_tim1_clock_hz ⇒ HAL_RCC_GetPCLK2Freq
  [Calls]
  - >> HAL_RCC_GetPCLK2Freq
  [Called By]
  - >> inverter_get_pwm_update_dt_s

  update_limit_status (Thumb, 86 bytes, Stack size 0 bytes, ad_parameter_identification.o(.text.update_limit_status))
  [Called By]

  - >> AD_ParamID_SetSafetyLimits
  - >> AD_ParamID_StepFast
  - >> AD_ParamID_Reset

  mode_is_valid (Thumb, 228 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.mode_is_valid))
  [Stack]

  - Max Depth = 8
  - Call Chain = mode_is_valid
  [Called By]
  - >> AD_ParamID_Start

  enter_data_logging_blocked (Thumb, 64 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.enter_data_logging_blocked))
  [Stack]

  - Max Depth = 104
  - Call Chain = enter_data_logging_blocked ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_HardwareDisable
  [Called By]
  - >> AD_ParamID_StepSlow
  - >> AD_ParamID_StepFast
  - >> AD_ParamID_Start

  mode_requires_power (Thumb, 200 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.mode_requires_power))
  [Stack]

  - Max Depth = 8
  - Call Chain = mode_requires_power
  [Called By]
  - >> AD_ParamID_StepSlow
  - >> AD_ParamID_StepFast
  - >> AD_ParamID_Start

  set_fault (Thumb, 54 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.set_fault))
  [Stack]

  - Max Depth = 120
  - Call Chain = set_fault ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> AD_ParamID_Stop
  [Called By]
  - >> AD_ParamID_StepFast
  - >> update_safety_from_measurements

  update_phase_current_peaks (Thumb, 186 bytes, Stack size 24 bytes, ad_parameter_identification.o(.text.update_phase_current_peaks))
  [Stack]

  - Max Depth = 32
  - Call Chain = update_phase_current_peaks ⇒ absf_local
  [Calls]
  - >> absf_local
  [Called By]
  - >> AD_ParamID_StepFast

  update_safety_from_measurements (Thumb, 560 bytes, Stack size 16 bytes, ad_parameter_identification.o(.text.update_safety_from_measurements))
  [Stack]

  - Max Depth = 136
  - Call Chain = update_safety_from_measurements ⇒ set_fault ⇒ AD_ParamID_Stop ⇒ AD_ParamID_HardwareDisable ⇒ AD_Inverter_Disable ⇒ AD_Inverter_SetDuty ⇒ duty_to_compare ⇒ clamp01
  [Calls]
  - >> absf_local
  - >> set_fault
  [Called By]
  - >> AD_ParamID_StepFast

  mode_uses_test_timeout (Thumb, 56 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.mode_uses_test_timeout))
  [Stack]

  - Max Depth = 8
  - Call Chain = mode_uses_test_timeout
  [Called By]
  - >> AD_ParamID_StepFast

  elapsed_us (Thumb, 16 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.elapsed_us))
  [Stack]

  - Max Depth = 8
  - Call Chain = elapsed_us
  [Called By]
  - >> AD_ParamID_StepFast

  absf_local (Thumb, 54 bytes, Stack size 8 bytes, ad_parameter_identification.o(.text.absf_local))
  [Stack]

  - Max Depth = 8
  - Call Chain = absf_local
  [Called By]
  - >> update_safety_from_measurements
  - >> update_phase_current_peaks

  project_update_state (Thumb, 86 bytes, Stack size 16 bytes, ad_project.o(.text.project_update_state))
  [Stack]

  - Max Depth = 52
  - Call Chain = project_update_state ⇒ AD_BinaryTransport_GetState ⇒ update_status_flags ⇒ AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> AD_BinaryTransport_GetState
  - >> AD_Modbus_GetState
  - >> AD_ParamID_GetFaults
  - >> AD_ParamID_GetStatus
  - >> AD_Inverter_GetState
  [Called By]
  - >> AD_Project_Loop
  - >> AD_Project_Init

  crc16_ccitt (Thumb, 140 bytes, Stack size 20 bytes, simulink_interface.o(.text.crc16_ccitt))
  [Stack]

  - Max Depth = 20
  - Call Chain = crc16_ccitt
  [Called By]
  - >> SimulinkInterface_PackTelemetry

  refresh_command_shadow (Thumb, 112 bytes, Stack size 32 bytes, ad_modbus.o(.text.refresh_command_shadow))
  [Stack]

  - Max Depth = 32
  - Call Chain = refresh_command_shadow
  [Calls]
  - >> SimulinkInterface_GetOutputBus
  [Called By]
  - >> AD_Modbus_RefreshRegisters
  - >> write_register
  - >> process_write_multiple

  register_is_readable (Thumb, 148 bytes, Stack size 12 bytes, ad_modbus.o(.text.register_is_readable))
  [Stack]

  - Max Depth = 12
  - Call Chain = register_is_readable
  [Called By]
  - >> AD_Modbus_RefreshRegisters
  - >> range_is_readable

  read_register_live (Thumb, 2104 bytes, Stack size 184 bytes, ad_modbus.o(.text.read_register_live))
  [Stack]

  - Max Depth = 208
  - Call Chain = read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_BinaryTransport_GetTransport
  - >> AD_BinaryTransport_GetProtocol
  - >> float_to_u32_scaled
  - >> u32_hi
  - >> u32_lo
  - >> float_to_u16_scaled
  - >> AD_ParamID_GetPolePairs
  - >> AD_ParamID_GetFaults
  - >> AD_ParamID_GetMode
  - >> AD_ParamID_GetPhaseCurrentPeaks
  - >> AD_ParamID_GetLastMeasurements
  - >> AD_ParamID_IsPowerStageAllowed
  - >> AD_ParamID_GetStatus
  - >> AD_Board_GetPhaseShuntResistanceOhm
  - >> AD_ParamID_GetParameters
  - >> AD_Inverter_GetState
  [Called By]
  - >> AD_Modbus_RefreshRegisters

  float_to_u16_scaled (Thumb, 164 bytes, Stack size 16 bytes, ad_modbus.o(.text.float_to_u16_scaled))
  [Stack]

  - Max Depth = 16
  - Call Chain = float_to_u16_scaled
  [Called By]
  - >> read_register_live

  u32_lo (Thumb, 12 bytes, Stack size 4 bytes, ad_modbus.o(.text.u32_lo))
  [Stack]

  - Max Depth = 4
  - Call Chain = u32_lo
  [Called By]
  - >> read_register_live

  u32_hi (Thumb, 12 bytes, Stack size 4 bytes, ad_modbus.o(.text.u32_hi))
  [Stack]

  - Max Depth = 4
  - Call Chain = u32_hi
  [Called By]
  - >> read_register_live

  float_to_u32_scaled (Thumb, 104 bytes, Stack size 16 bytes, ad_modbus.o(.text.float_to_u32_scaled))
  [Stack]

  - Max Depth = 16
  - Call Chain = float_to_u32_scaled
  [Called By]
  - >> read_register_live

  set_default_command (Thumb, 106 bytes, Stack size 16 bytes, ad_modbus.o(.text.set_default_command))
  [Stack]

  - Max Depth = 16 + Unknown Stack Size
  - Call Chain = set_default_command
  [Calls]
  - >> __aeabi_memclr4
  [Called By]
  - >> AD_Modbus_Init

  restart_uart_rx (Thumb, 84 bytes, Stack size 8 bytes, ad_modbus.o(.text.restart_uart_rx))
  [Stack]

  - Max Depth = 72
  - Call Chain = restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UARTEx_ReceiveToIdle_IT
  [Called By]
  - >> HAL_UART_ErrorCallback
  - >> HAL_UARTEx_RxEventCallback
  - >> AD_Modbus_Init

  process_frame (Thumb, 408 bytes, Stack size 40 bytes, ad_modbus.o(.text.process_frame))
  [Stack]

  - Max Depth = 392 + Unknown Stack Size
  - Call Chain = process_frame ⇒ process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> send_exception
  - >> process_write_multiple
  - >> process_write_single
  - >> process_read_holding
  - >> normalize_register_address
  - >> read_be16
  - >> crc16_modbus
  [Called By]
  - >> AD_Modbus_Loop

  crc16_modbus (Thumb, 150 bytes, Stack size 12 bytes, ad_modbus.o(.text.crc16_modbus))
  [Stack]

  - Max Depth = 12
  - Call Chain = crc16_modbus
  [Called By]
  - >> send_response
  - >> process_frame

  read_be16 (Thumb, 14 bytes, Stack size 4 bytes, ad_modbus.o(.text.read_be16))
  [Stack]

  - Max Depth = 4
  - Call Chain = read_be16
  [Called By]
  - >> process_write_multiple
  - >> process_write_single
  - >> process_read_holding
  - >> process_frame

  normalize_register_address (Thumb, 68 bytes, Stack size 8 bytes, ad_modbus.o(.text.normalize_register_address))
  [Stack]

  - Max Depth = 8
  - Call Chain = normalize_register_address
  [Called By]
  - >> process_write_multiple
  - >> process_write_single
  - >> process_read_holding
  - >> process_frame

  process_read_holding (Thumb, 236 bytes, Stack size 32 bytes, ad_modbus.o(.text.process_read_holding))
  [Stack]

  - Max Depth = 256
  - Call Chain = process_read_holding ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  - >> send_response
  - >> write_be16
  - >> read_register
  - >> range_is_readable
  - >> send_exception
  - >> normalize_register_address
  - >> read_be16
  [Called By]
  - >> process_frame

  process_write_single (Thumb, 200 bytes, Stack size 24 bytes, ad_modbus.o(.text.process_write_single))
  [Stack]

  - Max Depth = 352 + Unknown Stack Size
  - Call Chain = process_write_single ⇒ write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> write_register
  - >> register_is_writable
  - >> send_response
  - >> send_exception
  - >> normalize_register_address
  - >> read_be16
  [Called By]
  - >> process_frame

  process_write_multiple (Thumb, 630 bytes, Stack size 120 bytes, ad_modbus.o(.text.process_write_multiple))
  [Stack]

  - Max Depth = 344 + Unknown Stack Size
  - Call Chain = process_write_multiple ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  - >> apply_write_effects
  - >> stage_register_write
  - >> write_effects_clear
  - >> range_is_writable
  - >> send_response
  - >> write_be16
  - >> send_exception
  - >> normalize_register_address
  - >> read_be16
  - >> refresh_command_shadow
  - >> AD_ParamID_GetPolePairs
  [Called By]
  - >> process_frame

  send_exception (Thumb, 70 bytes, Stack size 16 bytes, ad_modbus.o(.text.send_exception))
  [Stack]

  - Max Depth = 128
  - Call Chain = send_exception ⇒ send_response ⇒ HAL_UART_Transmit ⇒ UART_WaitOnFlagUntilTimeout ⇒ UART_EndRxTransfer
  [Calls]
  - >> send_response
  [Called By]
  - >> process_write_multiple
  - >> process_write_single
  - >> process_read_holding
  - >> process_frame

  range_is_readable (Thumb, 118 bytes, Stack size 16 bytes, ad_modbus.o(.text.range_is_readable))
  [Stack]

  - Max Depth = 28
  - Call Chain = range_is_readable ⇒ register_is_readable
  [Calls]
  - >> register_is_readable
  [Called By]
  - >> process_read_holding

  read_register (Thumb, 54 bytes, Stack size 4 bytes, ad_modbus.o(.text.read_register))
  [Stack]

  - Max Depth = 4
  - Call Chain = read_register
  [Called By]
  - >> process_read_holding

  write_be16 (Thumb, 28 bytes, Stack size 8 bytes, ad_modbus.o(.text.write_be16))
  [Stack]

  - Max Depth = 8
  - Call Chain = write_be16
  [Called By]
  - >> process_write_multiple
  - >> process_read_holding

  send_response (Thumb, 130 bytes, Stack size 16 bytes, ad_modbus.o(.text.send_response))
  [Stack]

  - Max Depth = 112
  - Call Chain = send_response ⇒ HAL_UART_Transmit ⇒ UART_WaitOnFlagUntilTimeout ⇒ UART_EndRxTransfer
  [Calls]
  - >> HAL_UART_Transmit
  - >> crc16_modbus
  [Called By]
  - >> send_exception
  - >> process_write_multiple
  - >> process_write_single
  - >> process_read_holding

  register_is_writable (Thumb, 94 bytes, Stack size 8 bytes, ad_modbus.o(.text.register_is_writable))
  [Stack]

  - Max Depth = 8
  - Call Chain = register_is_writable
  [Called By]
  - >> range_is_writable
  - >> process_write_single

  write_register (Thumb, 318 bytes, Stack size 104 bytes, ad_modbus.o(.text.write_register))
  [Stack]

  - Max Depth = 328 + Unknown Stack Size
  - Call Chain = write_register ⇒ AD_Modbus_RefreshRegisters ⇒ read_register_live ⇒ AD_Board_GetPhaseShuntResistanceOhm ⇒ board_phase_shunt_resistance_ohm ⇒ board_normalize_phase_shunt_resistance
  [Calls]
  - >> AD_Modbus_RefreshRegisters
  - >> apply_write_effects
  - >> stage_register_write
  - >> write_effects_clear
  - >> refresh_command_shadow
  - >> AD_ParamID_GetPolePairs
  [Called By]
  - >> process_write_single

  range_is_writable (Thumb, 108 bytes, Stack size 16 bytes, ad_modbus.o(.text.range_is_writable))
  [Stack]

  - Max Depth = 24
  - Call Chain = range_is_writable ⇒ register_is_writable
  [Calls]
  - >> register_is_writable
  [Called By]
  - >> process_write_multiple

  write_effects_clear (Thumb, 30 bytes, Stack size 4 bytes, ad_modbus.o(.text.write_effects_clear))
  [Stack]

  - Max Depth = 4
  - Call Chain = write_effects_clear
  [Called By]
  - >> write_register
  - >> process_write_multiple

  stage_register_write (Thumb, 832 bytes, Stack size 32 bytes, ad_modbus.o(.text.stage_register_write))
  [Stack]

  - Max Depth = 40
  - Call Chain = stage_register_write ⇒ AD_BinaryTransport_IsTransportValid
  [Calls]
  - >> AD_BinaryTransport_IsTransportValid
  - >> AD_BinaryTransport_IsProtocolValid
  - >> clamp_rotation_frequency
  - >> reg_to_float
  - >> mode_is_valid
  [Called By]
  - >> write_register
  - >> process_write_multiple

  apply_write_effects (Thumb, 184 bytes, Stack size 16 bytes, ad_modbus.o(.text.apply_write_effects))
  [Stack]

  - Max Depth = 152 + Unknown Stack Size
  - Call Chain = apply_write_effects ⇒ AD_Board_ResetAdcFaults ⇒ board_adc_init ⇒ board_adc_zero_calibrate ⇒ board_adc_read_channel_average ⇒ board_adc_read_channel ⇒ board_adc_stop_regular ⇒ wait_bits_clear
  [Calls]
  - >> AD_BinaryTransport_SetProtocol
  - >> AD_BinaryTransport_SetTransport
  - >> apply_command_shadow
  - >> reg_to_float
  - >> AD_ParamID_SetPolePairs
  - >> AD_ParamID_SetLockedRotorAllowed
  - >> AD_ParamID_ResetPhaseCurrentPeaks
  - >> AD_ParamID_Reset
  - >> AD_ParamID_Stop
  - >> AD_Board_SetPhaseShuntResistanceOhm
  - >> AD_Board_ResetAdcFaults
  [Called By]
  - >> write_register
  - >> process_write_multiple

  mode_is_valid (Thumb, 22 bytes, Stack size 4 bytes, ad_modbus.o(.text.mode_is_valid))
  [Stack]

  - Max Depth = 4
  - Call Chain = mode_is_valid
  [Called By]
  - >> stage_register_write

  reg_to_float (Thumb, 34 bytes, Stack size 8 bytes, ad_modbus.o(.text.reg_to_float))
  [Stack]

  - Max Depth = 8
  - Call Chain = reg_to_float
  [Called By]
  - >> apply_write_effects
  - >> stage_register_write

  clamp_rotation_frequency (Thumb, 108 bytes, Stack size 8 bytes, ad_modbus.o(.text.clamp_rotation_frequency))
  [Stack]

  - Max Depth = 8
  - Call Chain = clamp_rotation_frequency
  [Called By]
  - >> stage_register_write

  apply_command_shadow (Thumb, 16 bytes, Stack size 8 bytes, ad_modbus.o(.text.apply_command_shadow))
  [Stack]

  - Max Depth = 36
  - Call Chain = apply_command_shadow ⇒ SimulinkInterface_SetCommand
  [Calls]
  - >> SimulinkInterface_SetCommand
  [Called By]
  - >> apply_write_effects

  update_status_flags (Thumb, 202 bytes, Stack size 16 bytes, ad_binary_transport.o(.text.update_status_flags))
  [Stack]

  - Max Depth = 28
  - Call Chain = update_status_flags ⇒ AD_CAN_Telemetry_GetState ⇒ update_status_flags
  [Calls]
  - >> AD_CAN_Telemetry_IsStarted
  - >> AD_CAN_Telemetry_IsTxBusy
  - >> AD_USB_CDC_IsTxBusy
  - >> AD_USB_CDC_IsConfigured
  - >> AD_CAN_Telemetry_GetState
  - >> AD_USB_CDC_GetState
  [Called By]
  - >> AD_BinaryTransport_SetProtocol
  - >> AD_BinaryTransport_SetTransport
  - >> AD_BinaryTransport_Loop
  - >> AD_BinaryTransport_GetState
  - >> AD_BinaryTransport_Init

  transport_uses_usb (Thumb, 52 bytes, Stack size 4 bytes, ad_binary_transport.o(.text.transport_uses_usb))
  [Stack]

  - Max Depth = 4
  - Call Chain = transport_uses_usb
  [Called By]
  - >> AD_BinaryTransport_Loop

  transport_uses_can (Thumb, 54 bytes, Stack size 4 bytes, ad_binary_transport.o(.text.transport_uses_can))
  [Stack]

  - Max Depth = 4
  - Call Chain = transport_uses_can
  [Called By]
  - >> AD_BinaryTransport_Loop

  update_status_flags (Thumb, 150 bytes, Stack size 4 bytes, ad_usb_cdc.o(.text.update_status_flags))
  [Stack]

  - Max Depth = 4
  - Call Chain = update_status_flags
  [Called By]
  - >> HAL_PCD_DataInStageCallback
  - >> HAL_PCD_ResetCallback
  - >> ep0_stall
  - >> handle_standard_request
  - >> AD_USB_CDC_WritePacket
  - >> AD_USB_CDC_Loop
  - >> AD_USB_CDC_Init
  - >> AD_USB_CDC_GetState

  parse_setup (Thumb, 76 bytes, Stack size 12 bytes, ad_usb_cdc.o(.text.parse_setup))
  [Stack]

  - Max Depth = 12
  - Call Chain = parse_setup
  [Called By]
  - >> HAL_PCD_SetupStageCallback

  handle_standard_request (Thumb, 306 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.handle_standard_request))
  [Stack]

  - Max Depth = 324
  - Call Chain = handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> close_cdc_endpoints
  - >> open_cdc_endpoints
  - >> ep0_send_zlp
  - >> send_string_descriptor
  - >> ep0_send
  - >> ep0_stall
  - >> update_status_flags
  [Called By]
  - >> HAL_PCD_SetupStageCallback

  handle_class_request (Thumb, 154 bytes, Stack size 16 bytes, ad_usb_cdc.o(.text.handle_class_request))
  [Stack]

  - Max Depth = 292
  - Call Chain = handle_class_request ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_Receive
  - >> ep0_send_zlp
  - >> ep0_send
  - >> ep0_stall
  [Called By]
  - >> HAL_PCD_SetupStageCallback

  ep0_stall (Thumb, 52 bytes, Stack size 16 bytes, ad_usb_cdc.o(.text.ep0_stall))
  [Stack]

  - Max Depth = 52
  - Call Chain = ep0_stall ⇒ HAL_PCD_EP_SetStall ⇒ USB_EPSetStall
  [Calls]
  - >> HAL_PCD_EP_SetStall
  - >> update_status_flags
  [Called By]
  - >> HAL_PCD_SetupStageCallback
  - >> send_string_descriptor
  - >> handle_class_request
  - >> handle_standard_request

  ep0_send (Thumb, 112 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.ep0_send))
  [Stack]

  - Max Depth = 276
  - Call Chain = ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_Transmit
  - >> min_u16
  - >> __aeabi_memcpy
  [Called By]
  - >> send_string_descriptor
  - >> handle_class_request
  - >> handle_standard_request

  send_string_descriptor (Thumb, 156 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.send_string_descriptor))
  [Stack]

  - Max Depth = 300
  - Call Chain = send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> make_string_descriptor
  - >> ep0_send
  - >> ep0_stall
  [Called By]
  - >> handle_standard_request

  ep0_send_zlp (Thumb, 28 bytes, Stack size 8 bytes, ad_usb_cdc.o(.text.ep0_send_zlp))
  [Stack]

  - Max Depth = 260
  - Call Chain = ep0_send_zlp ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_Transmit
  [Called By]
  - >> HAL_PCD_DataOutStageCallback
  - >> handle_class_request
  - >> handle_standard_request

  open_cdc_endpoints (Thumb, 76 bytes, Stack size 24 bytes, ad_usb_cdc.o(.text.open_cdc_endpoints))
  [Stack]

  - Max Depth = 276
  - Call Chain = open_cdc_endpoints ⇒ HAL_PCD_EP_Receive ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_EP_Open
  - >> HAL_PCD_EP_Receive
  [Called By]
  - >> handle_standard_request

  close_cdc_endpoints (Thumb, 40 bytes, Stack size 16 bytes, ad_usb_cdc.o(.text.close_cdc_endpoints))
  [Stack]

  - Max Depth = 88
  - Call Chain = close_cdc_endpoints ⇒ HAL_PCD_EP_Close ⇒ USB_DeactivateEndpoint
  [Calls]
  - >> HAL_PCD_EP_Close
  [Called By]
  - >> handle_standard_request

  min_u16 (Thumb, 48 bytes, Stack size 8 bytes, ad_usb_cdc.o(.text.min_u16))
  [Stack]

  - Max Depth = 8
  - Call Chain = min_u16
  [Called By]
  - >> ep0_send

  make_string_descriptor (Thumb, 172 bytes, Stack size 12 bytes, ad_usb_cdc.o(.text.make_string_descriptor))
  [Stack]

  - Max Depth = 12
  - Call Chain = make_string_descriptor
  [Called By]
  - >> send_string_descriptor

  update_status_flags (Thumb, 150 bytes, Stack size 4 bytes, ad_can_telemetry.o(.text.update_status_flags))
  [Stack]

  - Max Depth = 4
  - Call Chain = update_status_flags
  [Called By]
  - >> AD_CAN_Telemetry_QueuePacket
  - >> AD_CAN_Telemetry_Loop
  - >> AD_CAN_Telemetry_Init
  - >> AD_CAN_Telemetry_GetState

  can_dlc_from_len (Thumb, 92 bytes, Stack size 12 bytes, ad_can_telemetry.o(.text.can_dlc_from_len))
  [Stack]

  - Max Depth = 12
  - Call Chain = can_dlc_from_len
  [Called By]
  - >> AD_CAN_Telemetry_Loop

  TIM_OC1_SetConfig (Thumb, 372 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC1_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC1_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  TIM_OC3_SetConfig (Thumb, 398 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC3_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC3_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  TIM_OC4_SetConfig (Thumb, 400 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC4_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC4_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  TIM_OC5_SetConfig (Thumb, 226 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC5_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC5_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  TIM_OC6_SetConfig (Thumb, 228 bytes, Stack size 20 bytes, stm32g4xx_hal_tim.o(.text.TIM_OC6_SetConfig))
  [Stack]

  - Max Depth = 20
  - Call Chain = TIM_OC6_SetConfig
  [Called By]
  - >> HAL_TIM_PWM_ConfigChannel

  TIM_CCxNChannelCmd (Thumb, 54 bytes, Stack size 16 bytes, stm32g4xx_hal_tim_ex.o(.text.TIM_CCxNChannelCmd))
  [Stack]

  - Max Depth = 16
  - Call Chain = TIM_CCxNChannelCmd
  [Called By]
  - >> HAL_TIMEx_PWMN_Start
  - >> HAL_TIMEx_PWMN_Stop

  UART_EndRxTransfer (Thumb, 158 bytes, Stack size 16 bytes, stm32g4xx_hal_uart.o(.text.UART_EndRxTransfer))
  [Stack]

  - Max Depth = 16
  - Call Chain = UART_EndRxTransfer
  [Called By]
  - >> HAL_UART_IRQHandler
  - >> UART_WaitOnFlagUntilTimeout

  UART_RxISR_16BIT_FIFOEN (Thumb, 776 bytes, Stack size 64 bytes, stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT_FIFOEN))
  [Stack]

  - Max Depth = 160
  - Call Chain = UART_RxISR_16BIT_FIFOEN ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UART_ErrorCallback
  - >> HAL_UARTEx_RxEventCallback
  - >> HAL_UART_RxCpltCallback
  [Address Reference Count : 1]
  - stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)

  UART_RxISR_8BIT_FIFOEN (Thumb, 772 bytes, Stack size 64 bytes, stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT_FIFOEN))
  [Stack]

  - Max Depth = 160
  - Call Chain = UART_RxISR_8BIT_FIFOEN ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UART_ErrorCallback
  - >> HAL_UARTEx_RxEventCallback
  - >> HAL_UART_RxCpltCallback
  [Address Reference Count : 1]
  - stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)

  UART_RxISR_16BIT (Thumb, 388 bytes, Stack size 40 bytes, stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT))
  [Stack]

  - Max Depth = 136
  - Call Chain = UART_RxISR_16BIT ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UARTEx_RxEventCallback
  - >> HAL_UART_RxCpltCallback
  [Address Reference Count : 2]
  - stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - stm32g4xx_hal_uart.o(.text.UART_RxISR_16BIT_FIFOEN)

  UART_RxISR_8BIT (Thumb, 384 bytes, Stack size 32 bytes, stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT))
  [Stack]

  - Max Depth = 128
  - Call Chain = UART_RxISR_8BIT ⇒ HAL_UARTEx_RxEventCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UARTEx_RxEventCallback
  - >> HAL_UART_RxCpltCallback
  [Address Reference Count : 2]
  - stm32g4xx_hal_uart.o(.text.UART_Start_Receive_IT)
  - stm32g4xx_hal_uart.o(.text.UART_RxISR_8BIT_FIFOEN)

  UART_DMAAbortOnError (Thumb, 30 bytes, Stack size 16 bytes, stm32g4xx_hal_uart.o(.text.UART_DMAAbortOnError))
  [Stack]

  - Max Depth = 104
  - Call Chain = UART_DMAAbortOnError ⇒ HAL_UART_ErrorCallback ⇒ restart_uart_rx ⇒ HAL_UARTEx_ReceiveToIdle_IT ⇒ UART_Start_Receive_IT
  [Calls]
  - >> HAL_UART_ErrorCallback
  [Address Reference Count : 1]
  - stm32g4xx_hal_uart.o(.text.HAL_UART_IRQHandler)

  UART_EndTransmit_IT (Thumb, 68 bytes, Stack size 16 bytes, stm32g4xx_hal_uart.o(.text.UART_EndTransmit_IT))
  [Stack]

  - Max Depth = 20
  - Call Chain = UART_EndTransmit_IT ⇒ HAL_UART_TxCpltCallback
  [Calls]
  - >> HAL_UART_TxCpltCallback
  [Called By]
  - >> HAL_UART_IRQHandler

  FDCAN_CalcultateRamBlockAddresses (Thumb, 214 bytes, Stack size 12 bytes, stm32g4xx_hal_fdcan.o(.text.FDCAN_CalcultateRamBlockAddresses))
  [Stack]

  - Max Depth = 12
  - Call Chain = FDCAN_CalcultateRamBlockAddresses
  [Called By]
  - >> HAL_FDCAN_Init

  FDCAN_CopyMessageToRAM (Thumb, 182 bytes, Stack size 32 bytes, stm32g4xx_hal_fdcan.o(.text.FDCAN_CopyMessageToRAM))
  [Stack]

  - Max Depth = 32
  - Call Chain = FDCAN_CopyMessageToRAM
  [Called By]
  - >> HAL_FDCAN_AddMessageToTxFifoQ

  PCD_EP_ISR_Handler (Thumb, 1616 bytes, Stack size 80 bytes, stm32g4xx_hal_pcd.o(.text.PCD_EP_ISR_Handler))
  [Stack]

  - Max Depth = 428
  - Call Chain = PCD_EP_ISR_Handler ⇒ HAL_PCD_SetupStageCallback ⇒ handle_standard_request ⇒ send_string_descriptor ⇒ ep0_send ⇒ HAL_PCD_EP_Transmit ⇒ USB_EPStartXfer ⇒ USB_WritePMA
  [Calls]
  - >> HAL_PCD_DataOutStageCallback
  - >> HAL_PCD_DataInStageCallback
  - >> HAL_PCD_SetupStageCallback
  - >> USB_EPStartXfer
  - >> USB_ReadPMA
  - >> HAL_PCD_EP_DB_Transmit
  - >> HAL_PCD_EP_DB_Receive
  [Called By]
  - >> HAL_PCD_IRQHandler

  HAL_PCD_EP_DB_Receive (Thumb, 504 bytes, Stack size 32 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_DB_Receive))
  [Stack]

  - Max Depth = 68
  - Call Chain = HAL_PCD_EP_DB_Receive ⇒ USB_ReadPMA
  [Calls]
  - >> USB_ReadPMA
  [Called By]
  - >> PCD_EP_ISR_Handler

  HAL_PCD_EP_DB_Transmit (Thumb, 2030 bytes, Stack size 176 bytes, stm32g4xx_hal_pcd.o(.text.HAL_PCD_EP_DB_Transmit))
  [Stack]

  - Max Depth = 224
  - Call Chain = HAL_PCD_EP_DB_Transmit ⇒ HAL_PCD_DataInStageCallback ⇒ HAL_PCD_SetAddress ⇒ USB_SetDevAddress
  [Calls]
  - >> HAL_PCD_DataInStageCallback
  - >> USB_WritePMA
  [Called By]
  - >> PCD_EP_ISR_Handler

  RCC_GetSysClockFreqFromPLLSource (Thumb, 156 bytes, Stack size 24 bytes, stm32g4xx_hal_rcc.o(.text.RCC_GetSysClockFreqFromPLLSource))
  [Stack]

  - Max Depth = 24
  - Call Chain = RCC_GetSysClockFreqFromPLLSource
  [Called By]
  - >> HAL_RCC_ClockConfig

  __NVIC_SetPriorityGrouping (Thumb, 60 bytes, Stack size 12 bytes, stm32g4xx_hal_cortex.o(.text.__NVIC_SetPriorityGrouping))
  [Stack]

  - Max Depth = 12
  - Call Chain = __NVIC_SetPriorityGrouping
  [Called By]
  - >> HAL_NVIC_SetPriorityGrouping

  __NVIC_GetPriorityGrouping (Thumb, 16 bytes, Stack size 0 bytes, stm32g4xx_hal_cortex.o(.text.__NVIC_GetPriorityGrouping))
  [Called By]

  - >> HAL_NVIC_SetPriority

  NVIC_EncodePriority (Thumb, 108 bytes, Stack size 32 bytes, stm32g4xx_hal_cortex.o(.text.NVIC_EncodePriority))
  [Stack]

  - Max Depth = 32
  - Call Chain = NVIC_EncodePriority
  [Called By]
  - >> HAL_NVIC_SetPriority

  __NVIC_SetPriority (Thumb, 66 bytes, Stack size 8 bytes, stm32g4xx_hal_cortex.o(.text.__NVIC_SetPriority))
  [Stack]

  - Max Depth = 8
  - Call Chain = __NVIC_SetPriority
  [Called By]
  - >> HAL_NVIC_SetPriority
  - >> SysTick_Config

  __NVIC_EnableIRQ (Thumb, 48 bytes, Stack size 4 bytes, stm32g4xx_hal_cortex.o(.text.__NVIC_EnableIRQ))
  [Stack]

  - Max Depth = 4
  - Call Chain = __NVIC_EnableIRQ
  [Called By]
  - >> HAL_NVIC_EnableIRQ

  SysTick_Config (Thumb, 82 bytes, Stack size 16 bytes, stm32g4xx_hal_cortex.o(.text.SysTick_Config))
  [Stack]

  - Max Depth = 24
  - Call Chain = SysTick_Config ⇒ __NVIC_SetPriority
  [Calls]
  - >> __NVIC_SetPriority
  [Called By]
  - >> HAL_SYSTICK_Config

  ### Undefined Global Symbols