# Static Call Graph for image .\Flash\Blinky.axf

#<CALLGRAPH># ARM Linker, 4.1 [Build 894]: Last Updated: Wed May 16 14:02:36 2012

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

### Call chain for Maximum Stack Depth:

__rt_entry_main ⇒ main ⇒ IEC60335_initClockTest

### Functions with no stack information

- __user_initial_stackheap

### Mutually Recursive functions

- NMI_Handler ⇒ NMI_Handler
- HardFault_Handler ⇒ HardFault_Handler
- SVC_Handler ⇒ SVC_Handler
- PendSV_Handler ⇒ PendSV_Handler
- ADC_IRQHandler ⇒ ADC_IRQHandler

  ### Function Pointers

  - ADC_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - BOD_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - COMP_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - DMA_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - FMC_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - HardFault_Handler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - I2C_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - NMI_Handler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - PIOINT0_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - PIOINT1_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - PIOINT2_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - PMU_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - PendSV_Handler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - RTC_IRQHandler from rtc.o(.text) referenced from startup_lpc122x.o(RESET)
  - Reset_Handler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - SSP_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - SVC_Handler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - SysTick_Handler from blinky.o(.text) referenced from startup_lpc122x.o(RESET)
  - SystemInit from system_lpc122x.o(.text) referenced from startup_lpc122x.o(.text)
  - TIMER16_0_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - TIMER16_1_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - TIMER32_0_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - TIMER32_1_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - UART0_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - UART1_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - WAKEUP_IRQHandler from startup_lpc122x.o(.text) referenced 12 times from startup_lpc122x.o(RESET)
  - WDT_IRQHandler from startup_lpc122x.o(.text) referenced from startup_lpc122x.o(RESET)
  - __main from __main.o(!!!main) referenced from startup_lpc122x.o(.text)

  ### Global Symbols

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

  - >> __scatterload
  - >> __rt_entry

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

  - >> __main

  __scatterload_rt2 (Thumb, 52 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_null (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_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_alloca_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002A))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - >> __rt_exit_ls

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

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

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

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

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

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

  __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 = 12 + Unknown Stack Size
  - Call Chain = __rt_entry_main ⇒ main ⇒ IEC60335_initClockTest
  [Calls]
  - >> exit
  - >> main

  __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_lpc122x.o(.text))
  [Address Reference Count : 1]

  - startup_lpc122x.o(RESET)

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

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

  HardFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_lpc122x.o(.text))
  [Calls]

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

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

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

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

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

  ADC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_lpc122x.o(.text))
  [Calls]

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

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - startup_lpc122x.o(RESET)

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

  - >> __user_setup_stackheap

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

  - >> IEC60335_Clocktest_MainLoopHandler
  - >> IEC60335_initClockTest

  IEC60335_initClockTest (Thumb, 22 bytes, Stack size 12 bytes, iec60335_b_clocktest.o(.text))
  [Stack]

  - Max Depth = 12
  - Call Chain = IEC60335_initClockTest
  [Calls]
  - >> IEC60335_resetClockTest
  [Called By]
  - >> main

  IEC60335_Clocktest_MainLoopHandler (Thumb, 146 bytes, Stack size 4 bytes, iec60335_b_clocktest.o(.text))
  [Stack]

  - Max Depth = 4
  - Call Chain = IEC60335_Clocktest_MainLoopHandler
  [Calls]
  - >> IEC60335_resetClockTest
  [Called By]
  - >> main

  IEC60335_Clocktest_TimerIntHandler (Thumb, 38 bytes, Stack size 0 bytes, iec60335_b_clocktest.o(.text))
  [Called By]

  - >> SysTick_Handler

  IEC60335_Clocktest_RTCHandler (Thumb, 54 bytes, Stack size 0 bytes, iec60335_b_clocktest.o(.text))
  [Called By]

  - >> RTC_IRQHandler

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

  exit (Thumb, 12 bytes, Stack size 0 bytes, exit.o(.text))
  [Calls]

  - >> __rt_exit
  - >> _call_atexit_fns (Weak Reference)
  [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)

  SystemCoreClockUpdate (Thumb, 358 bytes, Stack size 8 bytes, system_lpc122x.o(.text), UNUSED)
  [Calls]

  - >> __aeabi_uidivmod
  - >> __ARM_common_switch8

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

  - startup_lpc122x.o(.text)

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

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

  main (Thumb, 212 bytes, Stack size 0 bytes, blinky.o(.text))
  [Stack]

  - Max Depth = 12
  - Call Chain = main ⇒ IEC60335_initClockTest
  [Calls]
  - >> __aeabi_uidivmod
  - >> RTC_Init
  - >> NVIC_SetPriority
  - >> IEC60335_Clocktest_MainLoopHandler
  - >> IEC60335_initClockTest
  [Called By]
  - >> __rt_entry_main

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

  - Max Depth = 8
  - Call Chain = RTC_IRQHandler
  [Calls]
  - >> IEC60335_Clocktest_RTCHandler
  [Address Reference Count : 1]
  - startup_lpc122x.o(RESET)

  RTC_Init (Thumb, 74 bytes, Stack size 0 bytes, rtc.o(.text))
  [Called By]

  - >> main

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

  __aeabi_uidivmod (Thumb, 20 bytes, Stack size 0 bytes, aeabi_sdiv.o(.text))
  [Called By]

  - >> main
  - >> SystemCoreClockUpdate

  __aeabi_idiv (Thumb, 0 bytes, Stack size 8 bytes, aeabi_sdiv.o(.text), UNUSED)

  __aeabi_idivmod (Thumb, 326 bytes, Stack size 8 bytes, aeabi_sdiv.o(.text), UNUSED)

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

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

  __ARM_common_switch8 (Thumb, 28 bytes, Stack size 8 bytes, system_lpc122x.o(i.__ARM_common_switch8), UNUSED)
  [Called By]

  - >> SystemCoreClockUpdate

  ### Local Symbols

  NVIC_SetPriority (Thumb, 110 bytes, Stack size 8 bytes, blinky.o(.text))
  [Stack]

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

  ### Undefined Global Symbols

  _call_atexit_fns (ARM, 0 bytes, Stack size 0 bytes, UNDEFINED)
  [Called By]

  - >> exit