Static Call Graph for image .\HT32\57341\HT32.axf



#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Tue Oct 13 17:45:24 2020

Maximum Stack Usage = 164 bytes + Unknown(Cycles, Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

main ⇒ Drv_24BitADC_ReadADCData ⇒ I2C0_read ⇒ I2C0_initial ⇒ I2C_Init ⇒ CKCU_GetPeripFrequency ⇒ CKCU_GetClocksFrequency ⇒ __aeabi_uidivmod

Mutually Recursive functions

  • SysTick_Handler   ⇒   SysTick_Handler
  • ADC_IRQHandler   ⇒   ADC_IRQHandler
  • HardFault_Handler   ⇒   HardFault_Handler
  • NMI_Handler   ⇒   NMI_Handler
  • PendSV_Handler   ⇒   PendSV_Handler
  • SVC_Handler   ⇒   SVC_Handler

    Function Pointers

    Global Symbols

    Reset_Handler (Thumb, 12 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))

    SysTick_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    ADC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    AES_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    BFTM1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    COMP_DAC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    EVWUP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    EXTI0_1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    EXTI2_3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

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

    GPTM0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    I2C1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    I2S_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    LCD_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    LVD_BOD_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    PDMA_CH0_1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    PDMA_CH2_5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    PWM0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    PWM1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    RTC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    SCI_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    SCTM0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    SCTM1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    SPI0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

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

    UART0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    UART1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    USART0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    USART1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET), UNUSED, KEPT)

    USB_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    __main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
    [Address Reference Count : 1]

    _main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))

    _main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

    [Calls]

    __main_after_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

    [Called By]

    _main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))

    _main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))

    _main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))

    __rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))

    __rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))

    __aeabi_uidiv (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)

    __aeabi_uidivmod (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text))

    [Stack]


    [Called By]

    __aeabi_ldivmod (Thumb, 76 bytes, Stack size 24 bytes, ldiv.o(.text))

    [Stack]


    [Calls]
    [Called By]

    __aeabi_uldivmod (Thumb, 96 bytes, Stack size 48 bytes, uldiv.o(.text))

    [Stack]


    [Calls]
    [Called By]

    __scatterload (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))

    [Calls]


    [Called By]

    __scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)

    __aeabi_llsl (Thumb, 32 bytes, Stack size 8 bytes, llshl.o(.text))

    [Stack]


    [Called By]

    _ll_shift_l (Thumb, 0 bytes, Stack size 8 bytes, llshl.o(.text), UNUSED)

    __aeabi_llsr (Thumb, 34 bytes, Stack size 8 bytes, llushr.o(.text))

    [Stack]


    [Called By]

    _ll_ushift_r (Thumb, 0 bytes, Stack size 8 bytes, llushr.o(.text), UNUSED)

    AFIO_EXTISourceConfig (Thumb, 38 bytes, Stack size 8 bytes, ht32f5xxxx_gpio.o(i.AFIO_EXTISourceConfig))

    [Stack]


    [Called By]

    AFIO_GPxConfig (Thumb, 82 bytes, Stack size 20 bytes, ht32f5xxxx_gpio.o(i.AFIO_GPxConfig))

    [Stack]


    [Called By]

    BFTM0_Configuration (Thumb, 78 bytes, Stack size 16 bytes, bftm0.o(i.BFTM0_Configuration))

    [Stack]


    [Calls]
    [Called By]

    BFTM0_IRQHandler (Thumb, 26 bytes, Stack size 8 bytes, bftm0.o(i.BFTM0_IRQHandler))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    BFTM_ClearFlag (Thumb, 14 bytes, Stack size 0 bytes, ht32f5xxxx_bftm.o(i.BFTM_ClearFlag))

    [Called By]

    BFTM_EnaCmd (Thumb, 18 bytes, Stack size 0 bytes, ht32f5xxxx_bftm.o(i.BFTM_EnaCmd))

    [Called By]

    BFTM_IntConfig (Thumb, 20 bytes, Stack size 0 bytes, ht32f5xxxx_bftm.o(i.BFTM_IntConfig))

    [Called By]

    BFTM_SetCompare (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_bftm.o(i.BFTM_SetCompare))

    [Called By]

    BFTM_SetCounter (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_bftm.o(i.BFTM_SetCounter))

    [Called By]

    CKCU_GetClocksFrequency (Thumb, 98 bytes, Stack size 16 bytes, ht32f5xxxx_ckcu.o(i.CKCU_GetClocksFrequency))

    [Stack]


    [Calls]
    [Called By]

    CKCU_GetPLLFrequency (Thumb, 56 bytes, Stack size 0 bytes, ht32f5xxxx_ckcu.o(i.CKCU_GetPLLFrequency))

    [Called By]

    CKCU_GetPeripFrequency (Thumb, 48 bytes, Stack size 24 bytes, ht32f5xxxx_ckcu.o(i.CKCU_GetPeripFrequency))

    [Stack]


    [Calls]
    [Called By]

    CKCU_PeripClockConfig (Thumb, 34 bytes, Stack size 20 bytes, ht32f5xxxx_ckcu.o(i.CKCU_PeripClockConfig))

    [Stack]


    [Called By]

    Drv_24BitADC_Init (Thumb, 262 bytes, Stack size 16 bytes, drv_24bitadc.o(i.Drv_24BitADC_Init))

    [Stack]


    [Calls]
    [Called By]

    Drv_24BitADC_ReadADCData (Thumb, 202 bytes, Stack size 24 bytes, drv_24bitadc.o(i.Drv_24BitADC_ReadADCData))

    [Stack]


    [Calls]
    [Called By]

    Drv_24BitADC_Start (Thumb, 132 bytes, Stack size 16 bytes, drv_24bitadc.o(i.Drv_24BitADC_Start))

    [Stack]


    [Calls]
    [Called By]

    EXTI4_15_IRQHandler (Thumb, 32 bytes, Stack size 8 bytes, exti.o(i.EXTI4_15_IRQHandler))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    EXTI_ClearEdgeFlag (Thumb, 12 bytes, Stack size 0 bytes, ht32f5xxxx_exti.o(i.EXTI_ClearEdgeFlag))

    [Called By]

    EXTI_Configuration (Thumb, 68 bytes, Stack size 24 bytes, exti.o(i.EXTI_Configuration))

    [Stack]


    [Calls]
    [Called By]

    EXTI_GetEdgeStatus (Thumb, 34 bytes, Stack size 8 bytes, ht32f5xxxx_exti.o(i.EXTI_GetEdgeStatus))

    [Stack]


    [Called By]

    EXTI_Init (Thumb, 26 bytes, Stack size 0 bytes, ht32f5xxxx_exti.o(i.EXTI_Init))

    [Called By]

    EXTI_IntConfig (Thumb, 22 bytes, Stack size 0 bytes, ht32f5xxxx_exti.o(i.EXTI_IntConfig))

    [Called By]

    GPIO_ClearOutBits (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_ClearOutBits))

    [Called By]

    GPIO_Configuration (Thumb, 42 bytes, Stack size 16 bytes, gpio.o(i.GPIO_Configuration))

    [Stack]


    [Calls]
    [Called By]

    GPIO_DirectionConfig (Thumb, 16 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_DirectionConfig))

    [Called By]

    GPIO_InputConfig (Thumb, 16 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_InputConfig))

    [Called By]

    GPIO_OpenDrainConfig (Thumb, 16 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_OpenDrainConfig))

    [Called By]

    GPIO_PullResistorConfig (Thumb, 42 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_PullResistorConfig))

    [Called By]

    GPIO_ReadInBit (Thumb, 10 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_ReadInBit))

    [Called By]

    GPIO_SetOutBits (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_gpio.o(i.GPIO_SetOutBits))

    [Called By]

    HardFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, ht32f5xxxx_01_it.o(i.HardFault_Handler))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    I2C0_Configuration (Thumb, 98 bytes, Stack size 8 bytes, i2c0.o(i.I2C0_Configuration))

    [Stack]


    [Calls]
    [Called By]

    I2C0_IRQHandler (Thumb, 296 bytes, Stack size 24 bytes, i2c0.o(i.I2C0_IRQHandler))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    I2C0_check_lock (Thumb, 88 bytes, Stack size 8 bytes, i2c0.o(i.I2C0_check_lock))

    [Stack]


    [Calls]
    [Called By]

    I2C0_initial (Thumb, 98 bytes, Stack size 32 bytes, i2c0.o(i.I2C0_initial))

    [Stack]


    [Calls]
    [Called By]

    I2C0_read (Thumb, 92 bytes, Stack size 24 bytes, i2c0.o(i.I2C0_read))

    [Stack]


    [Calls]
    [Called By]

    I2C0_read_waiting (Thumb, 28 bytes, Stack size 8 bytes, i2c0.o(i.I2C0_read_waiting))

    [Stack]


    [Calls]
    [Called By]

    I2C0_unlock (Thumb, 200 bytes, Stack size 16 bytes, i2c0.o(i.I2C0_unlock))

    [Stack]


    [Calls]
    [Called By]

    I2C0_write (Thumb, 38 bytes, Stack size 8 bytes, i2c0.o(i.I2C0_write))

    [Stack]


    [Calls]
    [Called By]

    I2C0_write_waiting (Thumb, 28 bytes, Stack size 8 bytes, i2c0.o(i.I2C0_write_waiting))

    [Stack]


    [Calls]
    [Called By]

    I2C_AckCmd (Thumb, 20 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_AckCmd))

    [Called By]

    I2C_ClearFlag (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_ClearFlag))

    [Called By]

    I2C_Cmd (Thumb, 18 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_Cmd))

    [Called By]

    I2C_GenerateSTOP (Thumb, 10 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_GenerateSTOP))

    [Called By]

    I2C_Init (Thumb, 154 bytes, Stack size 32 bytes, ht32f5xxxx_i2c.o(i.I2C_Init))

    [Stack]


    [Calls]
    [Called By]

    I2C_IntConfig (Thumb, 16 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_IntConfig))

    [Called By]

    I2C_ReadRegister (Thumb, 10 bytes, Stack size 8 bytes, ht32f5xxxx_i2c.o(i.I2C_ReadRegister))

    [Stack]


    [Called By]

    I2C_ReceiveData (Thumb, 6 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_ReceiveData))

    [Called By]

    I2C_SendData (Thumb, 4 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_SendData))

    [Called By]

    I2C_SetTimeOutPrescaler (Thumb, 10 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_SetTimeOutPrescaler))

    [Called By]

    I2C_SetTimeOutValue (Thumb, 12 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_SetTimeOutValue))

    [Called By]

    I2C_TimeOutCmd (Thumb, 20 bytes, Stack size 0 bytes, ht32f5xxxx_i2c.o(i.I2C_TimeOutCmd))

    [Called By]

    NMI_Handler (Thumb, 2 bytes, Stack size 0 bytes, ht32f5xxxx_01_it.o(i.NMI_Handler))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, ht32f5xxxx_01_it.o(i.PendSV_Handler))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    RSTCU_PeripReset (Thumb, 34 bytes, Stack size 20 bytes, ht32f5xxxx_rstcu.o(i.RSTCU_PeripReset))

    [Stack]


    [Called By]

    SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, ht32f5xxxx_01_it.o(i.SVC_Handler))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    SystemInit (Thumb, 210 bytes, Stack size 20 bytes, system_ht32f5xxxx_05.o(i.SystemInit))

    [Stack]


    [Address Reference Count : 1]

    WDT_Restart (Thumb, 8 bytes, Stack size 0 bytes, ht32f5xxxx_wdt.o(i.WDT_Restart))

    [Called By]

    __ARM_common_switch8 (Thumb, 26 bytes, Stack size 8 bytes, ht32f5xxxx_ckcu.o(i.__ARM_common_switch8))

    [Stack]


    [Called By]

    __scatterload_copy (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)

    __scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)

    __scatterload_zeroinit (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)

    main (Thumb, 62 bytes, Stack size 0 bytes, main.o(i.main))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    Local Symbols

    I2C0_TargetAddressConfig (Thumb, 20 bytes, Stack size 0 bytes, i2c0.o(i.I2C0_TargetAddressConfig))

    [Called By]

    BootProcess (Thumb, 94 bytes, Stack size 0 bytes, startup_ht32f5xxxx_05.o(RESET))
    [Address Reference Count : 1]

    Undefined Global Symbols