# Static Call Graph for image .\obj\SYS_PowerDown_MinCurrent.axf

#<CALLGRAPH># ARM Linker, 5060960: Last Updated: Wed Feb 15 15:48:20 2023

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

### Call chain for Maximum Stack Depth:

GPIOP0P1_IRQHandler ⇒ __2printf

### Mutually Recursive functions

- NMI_Handler ⇒ NMI_Handler
- SVC_Handler ⇒ SVC_Handler
- PendSV_Handler ⇒ PendSV_Handler
- SysTick_Handler ⇒ SysTick_Handler
- Default_Handler ⇒ Default_Handler

  ### Function Pointers

  - ADC_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - BOD_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - Default_Handler from startup_m058s.o(.text) referenced 13 times from startup_m058s.o(RESET)
  - EINT0_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - EINT1_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - GPIOP0P1_IRQHandler from main.o(i.GPIOP0P1_IRQHandler) referenced from startup_m058s.o(RESET)
  - GPIOP2P3P4_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - GPIOP5_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - GPIOP6P7_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - HardFault_Handler from retarget.o(.emb_text) referenced from startup_m058s.o(RESET)
  - Hard_Fault_Handler from retarget.o(i.Hard_Fault_Handler) referenced from retarget.o(.emb_text)
  - I2C0_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - I2C1_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - NMI_Handler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - PWMA_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - PWRWU_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - PendSV_Handler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - Reset_Handler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - SPI0_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - SVC_Handler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - SysTick_Handler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - SystemInit from system_m058s.o(i.SystemInit) referenced from startup_m058s.o(.text)
  - TMR0_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - TMR1_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - TMR2_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - TMR3_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - UART0_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - WDT_IRQHandler from startup_m058s.o(.text) referenced from startup_m058s.o(RESET)
  - __main from entry.o(.ARM.Collect$$$$00000000) referenced from startup_m058s.o(.text)
  - fputc from retarget.o(i.fputc) referenced from printf5.o(i.__0printf$5)
  - main from main.o(i.main) referenced from entry9a.o(.ARM.Collect$$$$0000000B)

  ### Global Symbols

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

  - startup_m058s.o(.text)

  _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]

  - >> __scatterload

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

  - >> __scatterload

  _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_lib_shutdown_fini (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
  [Calls]

  - >> __arm_fini_ (Weak Reference)

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

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

  HardFault_Handler (Thumb, 24 bytes, Stack size 0 bytes, retarget.o(.emb_text))
  [Address Reference Count : 1]

  - startup_m058s.o(RESET)

  Reset_Handler (Thumb, 32 bytes, Stack size 0 bytes, startup_m058s.o(.text))

  NMI_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_m058s.o(.text))
  [Calls]

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

  SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_m058s.o(.text))
  [Calls]

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

  PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_m058s.o(.text))
  [Calls]

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

  SysTick_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_m058s.o(.text))
  [Calls]

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

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

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

  - startup_m058s.o(RESET)

  __aeabi_uldivmod (Thumb, 96 bytes, Stack size 48 bytes, uldiv.o(.text), UNUSED)
  [Calls]

  - >> __aeabi_llsr
  - >> __aeabi_llsl
  [Called By]
  - >> _printf_core

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

  - >> __main_after_scatterload
  [Called By]
  - >> _main_scatterload

  __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), UNUSED)
  [Called By]

  - >> __aeabi_uldivmod

  _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), UNUSED)
  [Called By]

  - >> __aeabi_uldivmod

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

  GPIOP0P1_IRQHandler (Thumb, 38 bytes, Stack size 8 bytes, main.o(i.GPIOP0P1_IRQHandler))
  [Stack]

  - Max Depth = 32
  - Call Chain = GPIOP0P1_IRQHandler ⇒ __2printf
  [Calls]
  - >> __2printf
  [Address Reference Count : 1]
  - startup_m058s.o(RESET)

  Hard_Fault_Handler (Thumb, 16 bytes, Stack size 0 bytes, retarget.o(i.Hard_Fault_Handler))
  [Stack]

  - Max Depth = 32
  - Call Chain = Hard_Fault_Handler ⇒ stackDump ⇒ __2printf
  [Calls]
  - >> __2printf
  - >> stackDump
  [Address Reference Count : 1]
  - retarget.o(.emb_text)

  LircSetting (Thumb, 44 bytes, Stack size 8 bytes, main.o(i.LircSetting))
  [Stack]

  - Max Depth = 32
  - Call Chain = LircSetting ⇒ __2printf
  [Calls]
  - >> __2printf
  [Called By]
  - >> main

  LvrSetting (Thumb, 42 bytes, Stack size 0 bytes, main.o(i.LvrSetting))
  [Called By]

  - >> main

  PowerDownFunction (Thumb, 44 bytes, Stack size 0 bytes, main.o(i.PowerDownFunction))
  [Called By]

  - >> main

  SYS_Init (Thumb, 136 bytes, Stack size 0 bytes, main.o(i.SYS_Init))
  [Called By]

  - >> main

  SendChar_ToUART (Thumb, 26 bytes, Stack size 0 bytes, retarget.o(i.SendChar_ToUART))
  [Called By]

  - >> fputc

  SystemInit (Thumb, 2 bytes, Stack size 0 bytes, system_m058s.o(i.SystemInit))
  [Address Reference Count : 1]

  - startup_m058s.o(.text)

  UART0_Init (Thumb, 32 bytes, Stack size 0 bytes, main.o(i.UART0_Init))
  [Called By]

  - >> main

  __0printf$5 (Thumb, 24 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5), UNUSED)
  [Calls]

  - >> _printf_core

  __1printf$5 (Thumb, 0 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5), UNUSED)

  __2printf (Thumb, 0 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5))
  [Stack]

  - Max Depth = 24
  - Call Chain = __2printf
  [Called By]
  - >> Hard_Fault_Handler
  - >> stackDump
  - >> main
  - >> LircSetting
  - >> GPIOP0P1_IRQHandler

  __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)

  fputc (Thumb, 12 bytes, Stack size 4 bytes, retarget.o(i.fputc))
  [Stack]

  - Max Depth = 4
  - Call Chain = fputc
  [Calls]
  - >> SendChar_ToUART
  [Address Reference Count : 1]
  - printf5.o(i.__0printf$5)

  main (Thumb, 232 bytes, Stack size 0 bytes, main.o(i.main))
  [Stack]

  - Max Depth = 32
  - Call Chain = main ⇒ LircSetting ⇒ __2printf
  [Calls]
  - >> __2printf
  - >> UART0_Init
  - >> SYS_Init
  - >> PowerDownFunction
  - >> LvrSetting
  - >> LircSetting
  - >> SYS_UnlockReg
  [Address Reference Count : 1]
  - entry9a.o(.ARM.Collect$$$$0000000B)

  ### Local Symbols

  Default_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_m058s.o(.text))
  [Calls]

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

  SYS_UnlockReg (Thumb, 26 bytes, Stack size 8 bytes, main.o(i.SYS_UnlockReg))
  [Stack]

  - Max Depth = 8
  - Call Chain = SYS_UnlockReg
  [Called By]
  - >> main

  stackDump (Thumb, 70 bytes, Stack size 8 bytes, retarget.o(i.stackDump))
  [Stack]

  - Max Depth = 32
  - Call Chain = stackDump ⇒ __2printf
  [Calls]
  - >> __2printf
  [Called By]
  - >> Hard_Fault_Handler

  _printf_core (Thumb, 680 bytes, Stack size 96 bytes, printf5.o(i._printf_core), UNUSED)
  [Calls]

  - >> __aeabi_uldivmod
  [Called By]
  - >> __0printf$5

  ### Undefined Global Symbols

  __arm_fini_ (Unknown, 0 bytes, Stack size 0 bytes, UNDEFINED)
  [Called By]

  - >> __rt_lib_shutdown_fini