Static Call Graph for image .\Objects\EBF_RA6T2.axf
#<CALLGRAPH># ARM Linker, 6220000: Last Updated: Wed Dec 11 15:52:19 2024
Maximum Stack Usage = 64 bytes + Unknown(Untraceable Function Pointers)
Call chain for Maximum Stack Depth:
Reset_Handler ⇒ main ⇒ hal_entry ⇒ initMotor ⇒ R_GPT_Open ⇒ gpt_calculate_duty_cycle
Function Pointers
- BusFault_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- DebugMon_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- HardFault_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- MemManage_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- NMI_Handler from bsp_group_irq.o(.text.NMI_Handler) referenced from startup.o(.fixed_vectors)
- PendSV_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- R_IOPORT_Close from r_ioport.o(.text.R_IOPORT_Close) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_Open from r_ioport.o(.text.R_IOPORT_Open) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinCfg from r_ioport.o(.text.R_IOPORT_PinCfg) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinEventInputRead from r_ioport.o(.text.R_IOPORT_PinEventInputRead) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinEventOutputWrite from r_ioport.o(.text.R_IOPORT_PinEventOutputWrite) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinRead from r_ioport.o(.text.R_IOPORT_PinRead) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinWrite from r_ioport.o(.text.R_IOPORT_PinWrite) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PinsCfg from r_ioport.o(.text.R_IOPORT_PinsCfg) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PortDirectionSet from r_ioport.o(.text.R_IOPORT_PortDirectionSet) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PortEventInputRead from r_ioport.o(.text.R_IOPORT_PortEventInputRead) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PortEventOutputWrite from r_ioport.o(.text.R_IOPORT_PortEventOutputWrite) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PortRead from r_ioport.o(.text.R_IOPORT_PortRead) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- R_IOPORT_PortWrite from r_ioport.o(.text.R_IOPORT_PortWrite) referenced from r_ioport.o(.rodata.g_ioport_on_ioport)
- Reset_Handler from startup.o(.text.Reset_Handler) referenced from startup.o(.fixed_vectors)
- SVC_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- SecureFault_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- SysTick_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- UsageFault_Handler from startup.o(.text.Default_Handler) referenced from startup.o(.fixed_vectors)
- debug_uart9_callback from bsp_debug_uart.o(.text.debug_uart9_callback) referenced from hal_data.o(.rodata.debug_uart9_cfg)
- key1_irq_callback from motor_stepper.o(.text.key1_irq_callback) referenced from common_data.o(.rodata.sw2_irq_cfg)
- key2_irq_callback from motor_stepper.o(.text.key2_irq_callback) referenced from common_data.o(.rodata.sw3_irq_cfg)
- r_icu_isr from r_icu.o(.text.r_icu_isr) referenced 2 times from vector_data.o(.application_vectors)
- sci_b_uart_eri_isr from r_sci_b_uart.o(.text.sci_b_uart_eri_isr) referenced from vector_data.o(.application_vectors)
- sci_b_uart_rxi_isr from r_sci_b_uart.o(.text.sci_b_uart_rxi_isr) referenced from vector_data.o(.application_vectors)
- sci_b_uart_tei_isr from r_sci_b_uart.o(.text.sci_b_uart_tei_isr) referenced from vector_data.o(.application_vectors)
- sci_b_uart_txi_isr from r_sci_b_uart.o(.text.sci_b_uart_txi_isr) referenced from vector_data.o(.application_vectors)
Global Symbols
__aeabi_memcpy (Thumb, 36 bytes, Stack size 0 bytes, memcpya.o(.text))
[Called By]
__aeabi_memcpy4 (Thumb, 0 bytes, Stack size 0 bytes, memcpya.o(.text))
[Called By]
__aeabi_memcpy8 (Thumb, 0 bytes, Stack size 0 bytes, memcpya.o(.text), UNUSED)
__aeabi_memset (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
[Called By]
- >> _memset$wrapper
- >> __aeabi_memclr
__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
__aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
[Calls]
__aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text))
[Called By]
__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
_memset$wrapper (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)
[Calls]
Debug_UART9_Init (Thumb, 36 bytes, Stack size 8 bytes, bsp_debug_uart.o(.text.Debug_UART9_Init))
[Stack]
- Max Depth = 40
- Call Chain = Debug_UART9_Init ⇒ R_SCI_B_UART_Open
[Calls]- >> __aeabi_assert
- >> R_SCI_B_UART_Open
[Called By]
BusFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
DebugMon_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
Default_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler), UNUSED)
HardFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
MemManage_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
PendSV_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
SVC_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
SecureFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
SysTick_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
UsageFault_Handler (Thumb, 4 bytes, Stack size 0 bytes, startup.o(.text.Default_Handler))
[Address Reference Count : 1]
- startup.o(.fixed_vectors)
IRQ_Init (Thumb, 164 bytes, Stack size 8 bytes, key.o(.text.IRQ_Init))
[Stack]
- Max Depth = 28
- Call Chain = IRQ_Init ⇒ R_ICU_ExternalIrqOpen
[Calls]- >> R_ICU_ExternalIrqEnable
- >> R_ICU_ExternalIrqOpen
- >> __aeabi_assert
[Called By]
LED_Init (Thumb, 22 bytes, Stack size 0 bytes, bsp_led.o(.text.LED_Init))
[Stack]
- Max Depth = 24
- Call Chain = LED_Init ⇒ R_IOPORT_Open ⇒ r_ioport_pins_config
[Calls]
[Called By]
NMI_Handler (Thumb, 68 bytes, Stack size 24 bytes, bsp_group_irq.o(.text.NMI_Handler))
[Stack]
- Max Depth = 24
- Call Chain = NMI_Handler
[Address Reference Count : 1]- startup.o(.fixed_vectors)
R_BSP_RegisterProtectDisable (Thumb, 78 bytes, Stack size 8 bytes, bsp_register_protection.o(.text.R_BSP_RegisterProtectDisable))
[Stack]
- Max Depth = 8
- Call Chain = R_BSP_RegisterProtectDisable
[Called By]- >> bsp_irq_cfg
- >> SystemInit
R_BSP_RegisterProtectEnable (Thumb, 82 bytes, Stack size 0 bytes, bsp_register_protection.o(.text.R_BSP_RegisterProtectEnable))
[Called By]
- >> bsp_irq_cfg
- >> SystemInit
R_BSP_WarmStart (Thumb, 28 bytes, Stack size 0 bytes, hal_entry.o(.text.R_BSP_WarmStart))
[Stack]
- Max Depth = 24
- Call Chain = R_BSP_WarmStart ⇒ R_IOPORT_Open ⇒ r_ioport_pins_config
[Calls]
[Called By]
R_GPT_Open (Thumb, 582 bytes, Stack size 32 bytes, r_gpt.o(.text.R_GPT_Open))
[Stack]
- Max Depth = 48
- Call Chain = R_GPT_Open ⇒ gpt_calculate_duty_cycle
[Calls]- >> r_gpt_enable_irq
- >> gpt_calculate_duty_cycle
[Called By]
R_GPT_PeriodSet (Thumb, 56 bytes, Stack size 0 bytes, r_gpt.o(.text.R_GPT_PeriodSet))
[Called By]
R_GPT_Start (Thumb, 10 bytes, Stack size 0 bytes, r_gpt.o(.text.R_GPT_Start))
[Called By]
- >> setStepSpeed
- >> initMotor
R_GPT_Stop (Thumb, 10 bytes, Stack size 0 bytes, r_gpt.o(.text.R_GPT_Stop))
[Called By]
R_ICU_ExternalIrqEnable (Thumb, 66 bytes, Stack size 0 bytes, r_icu.o(.text.R_ICU_ExternalIrqEnable))
[Called By]
R_ICU_ExternalIrqOpen (Thumb, 124 bytes, Stack size 20 bytes, r_icu.o(.text.R_ICU_ExternalIrqOpen))
[Stack]
- Max Depth = 20
- Call Chain = R_ICU_ExternalIrqOpen
[Called By]
R_IOPORT_Close (Thumb, 10 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_Close))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_Open (Thumb, 22 bytes, Stack size 8 bytes, r_ioport.o(.text.R_IOPORT_Open))
[Stack]
- Max Depth = 24
- Call Chain = R_IOPORT_Open ⇒ r_ioport_pins_config
[Calls]
[Called By]- >> R_BSP_WarmStart
- >> LED_Init
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinCfg (Thumb, 156 bytes, Stack size 16 bytes, r_ioport.o(.text.R_IOPORT_PinCfg))
[Stack]
- Max Depth = 16
- Call Chain = R_IOPORT_PinCfg
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinEventInputRead (Thumb, 42 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PinEventInputRead))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinEventOutputWrite (Thumb, 80 bytes, Stack size 8 bytes, r_ioport.o(.text.R_IOPORT_PinEventOutputWrite))
[Stack]
- Max Depth = 8
- Call Chain = R_IOPORT_PinEventOutputWrite
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinRead (Thumb, 34 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PinRead))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinWrite (Thumb, 42 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PinWrite))
[Called By]
- >> key2_irq_callback
- >> key1_irq_callback
- >> setStepSpeed
- >> hal_entry
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PinsCfg (Thumb, 12 bytes, Stack size 8 bytes, r_ioport.o(.text.R_IOPORT_PinsCfg))
[Stack]
- Max Depth = 24
- Call Chain = R_IOPORT_PinsCfg ⇒ r_ioport_pins_config
[Calls]
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PortDirectionSet (Thumb, 44 bytes, Stack size 8 bytes, r_ioport.o(.text.R_IOPORT_PortDirectionSet))
[Stack]
- Max Depth = 8
- Call Chain = R_IOPORT_PortDirectionSet
[Address Reference Count : 1]- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PortEventInputRead (Thumb, 26 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PortEventInputRead))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PortEventOutputWrite (Thumb, 34 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PortEventOutputWrite))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PortRead (Thumb, 24 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PortRead))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_IOPORT_PortWrite (Thumb, 34 bytes, Stack size 0 bytes, r_ioport.o(.text.R_IOPORT_PortWrite))
[Address Reference Count : 1]
- r_ioport.o(.rodata.g_ioport_on_ioport)
R_SCI_B_UART_Open (Thumb, 782 bytes, Stack size 32 bytes, r_sci_b_uart.o(.text.R_SCI_B_UART_Open))
[Stack]
- Max Depth = 32
- Call Chain = R_SCI_B_UART_Open
[Called By]
R_SCI_B_UART_Write (Thumb, 76 bytes, Stack size 8 bytes, r_sci_b_uart.o(.text.R_SCI_B_UART_Write))
[Stack]
- Max Depth = 8
- Call Chain = R_SCI_B_UART_Write
[Called By]
Reset_Handler (Thumb, 10 bytes, Stack size 0 bytes, startup.o(.text.Reset_Handler))
[Stack]
- Max Depth = 64
- Call Chain = Reset_Handler ⇒ main ⇒ hal_entry ⇒ initMotor ⇒ R_GPT_Open ⇒ gpt_calculate_duty_cycle
[Calls]
[Address Reference Count : 1]- startup.o(.fixed_vectors)
SystemCoreClockUpdate (Thumb, 44 bytes, Stack size 0 bytes, bsp_clocks.o(.text.SystemCoreClockUpdate))
[Called By]
SystemInit (Thumb, 260 bytes, Stack size 16 bytes, system.o(.text.SystemInit))
[Stack]
- Max Depth = 56
- Call Chain = SystemInit ⇒ bsp_irq_cfg ⇒ R_BSP_RegisterProtectDisable
[Calls]- >> __aeabi_memclr4
- >> __aeabi_memcpy4
- >> bsp_init
- >> bsp_irq_cfg
- >> R_BSP_RegisterProtectEnable
- >> R_BSP_RegisterProtectDisable
- >> SystemCoreClockUpdate
- >> bsp_clock_init
- >> R_BSP_WarmStart
[Called By]
__aeabi_assert (Thumb, 6 bytes, Stack size 0 bytes, bsp_common.o(.text.__aeabi_assert))
[Called By]
- >> initMotor
- >> Debug_UART9_Init
- >> IRQ_Init
bsp_clock_init (Thumb, 286 bytes, Stack size 8 bytes, bsp_clocks.o(.text.bsp_clock_init))
[Stack]
- Max Depth = 8
- Call Chain = bsp_clock_init
[Called By]
bsp_init (Thumb, 2 bytes, Stack size 0 bytes, bsp_common.o(.text.bsp_init_internal))
[Called By]
bsp_init_internal (Thumb, 2 bytes, Stack size 0 bytes, bsp_common.o(.text.bsp_init_internal), UNUSED)
bsp_irq_cfg (Thumb, 150 bytes, Stack size 32 bytes, bsp_irq.o(.text.bsp_irq_cfg))
[Stack]
- Max Depth = 40
- Call Chain = bsp_irq_cfg ⇒ R_BSP_RegisterProtectDisable
[Calls]- >> R_BSP_RegisterProtectEnable
- >> R_BSP_RegisterProtectDisable
[Called By]
debug_uart9_callback (Thumb, 40 bytes, Stack size 0 bytes, bsp_debug_uart.o(.text.debug_uart9_callback))
[Address Reference Count : 1]
- hal_data.o(.rodata.debug_uart9_cfg)
fputc (Thumb, 48 bytes, Stack size 16 bytes, bsp_debug_uart.o(.text.fputc))
[Stack]
- Max Depth = 24
- Call Chain = fputc ⇒ R_SCI_B_UART_Write
[Calls]
[Called By]
hal_entry (Thumb, 348 bytes, Stack size 0 bytes, hal_entry.o(.text.hal_entry))
[Stack]
- Max Depth = 56
- Call Chain = hal_entry ⇒ initMotor ⇒ R_GPT_Open ⇒ gpt_calculate_duty_cycle
[Calls]- >> puts
- >> R_IOPORT_PinWrite
- >> setStepSpeed
- >> initMotor
- >> Debug_UART9_Init
- >> LED_Init
- >> IRQ_Init
[Called By]
initMotor (Thumb, 84 bytes, Stack size 8 bytes, motor_stepper.o(.text.initMotor))
[Stack]
- Max Depth = 56
- Call Chain = initMotor ⇒ R_GPT_Open ⇒ gpt_calculate_duty_cycle
[Calls]- >> R_GPT_Start
- >> R_GPT_Open
- >> __aeabi_assert
[Called By]
key1_irq_callback (Thumb, 18 bytes, Stack size 0 bytes, motor_stepper.o(.text.key1_irq_callback))
[Calls]
[Address Reference Count : 1]- common_data.o(.rodata.sw2_irq_cfg)
key2_irq_callback (Thumb, 18 bytes, Stack size 0 bytes, motor_stepper.o(.text.key2_irq_callback))
[Calls]
[Address Reference Count : 1]- common_data.o(.rodata.sw3_irq_cfg)
main (Thumb, 10 bytes, Stack size 8 bytes, main.o(.text.main))
[Stack]
- Max Depth = 64
- Call Chain = main ⇒ hal_entry ⇒ initMotor ⇒ R_GPT_Open ⇒ gpt_calculate_duty_cycle
[Calls]
[Called By]
r_icu_isr (Thumb, 114 bytes, Stack size 24 bytes, r_icu.o(.text.r_icu_isr))
[Stack]
- Max Depth = 24
- Call Chain = r_icu_isr
[Address Reference Count : 1]- vector_data.o(.application_vectors)
sci_b_uart_eri_isr (Thumb, 130 bytes, Stack size 16 bytes, r_sci_b_uart.o(.text.sci_b_uart_eri_isr))
[Stack]
- Max Depth = 48
- Call Chain = sci_b_uart_eri_isr ⇒ r_sci_b_uart_call_callback
[Calls]- >> r_sci_b_uart_call_callback
[Address Reference Count : 1]- vector_data.o(.application_vectors)
sci_b_uart_rxi_isr (Thumb, 136 bytes, Stack size 16 bytes, r_sci_b_uart.o(.text.sci_b_uart_rxi_isr))
[Stack]
- Max Depth = 48
- Call Chain = sci_b_uart_rxi_isr ⇒ r_sci_b_uart_call_callback
[Calls]- >> __aeabi_memcpy
- >> r_sci_b_uart_call_callback
[Address Reference Count : 1]- vector_data.o(.application_vectors)
sci_b_uart_tei_isr (Thumb, 80 bytes, Stack size 8 bytes, r_sci_b_uart.o(.text.sci_b_uart_tei_isr))
[Stack]
- Max Depth = 40
- Call Chain = sci_b_uart_tei_isr ⇒ r_sci_b_uart_call_callback
[Calls]- >> r_sci_b_uart_call_callback
[Address Reference Count : 1]- vector_data.o(.application_vectors)
sci_b_uart_txi_isr (Thumb, 134 bytes, Stack size 0 bytes, r_sci_b_uart.o(.text.sci_b_uart_txi_isr))
[Stack]
- Max Depth = 32
- Call Chain = sci_b_uart_txi_isr ⇒ r_sci_b_uart_call_callback
[Calls]- >> r_sci_b_uart_call_callback
[Address Reference Count : 1]- vector_data.o(.application_vectors)
setStepSpeed (Thumb, 68 bytes, Stack size 16 bytes, motor_stepper.o(.text.setStepSpeed))
[Stack]
- Max Depth = 16
- Call Chain = setStepSpeed
[Calls]- >> R_GPT_PeriodSet
- >> R_GPT_Stop
- >> R_GPT_Start
- >> R_IOPORT_PinWrite
[Called By]
puts (Thumb, 30 bytes, Stack size 8 bytes, puts.o(i.puts))
[Stack]
- Max Depth = 32
- Call Chain = puts ⇒ fputc ⇒ R_SCI_B_UART_Write
[Calls]
[Called By]
Local Symbols
gpt_calculate_duty_cycle (Thumb, 114 bytes, Stack size 16 bytes, r_gpt.o(.text.gpt_calculate_duty_cycle))
[Stack]
- Max Depth = 16
- Call Chain = gpt_calculate_duty_cycle
[Called By]
r_gpt_enable_irq (Thumb, 88 bytes, Stack size 0 bytes, r_gpt.o(.text.r_gpt_enable_irq))
[Called By]
r_ioport_pins_config (Thumb, 188 bytes, Stack size 16 bytes, r_ioport.o(.text.r_ioport_pins_config))
[Stack]
- Max Depth = 16
- Call Chain = r_ioport_pins_config
[Called By]- >> R_IOPORT_PinsCfg
- >> R_IOPORT_Open
r_sci_b_uart_call_callback (Thumb, 64 bytes, Stack size 32 bytes, r_sci_b_uart.o(.text.r_sci_b_uart_call_callback))
[Stack]
- Max Depth = 32
- Call Chain = r_sci_b_uart_call_callback
[Called By]- >> sci_b_uart_eri_isr
- >> sci_b_uart_tei_isr
- >> sci_b_uart_rxi_isr
- >> sci_b_uart_txi_isr
Undefined Global Symbols