Static Call Graph - [.\_build\spi_master_example_arm.axf]

# Static Call Graph for image .\_build\spi_master_example_arm.axf

#<CALLGRAPH># ARM Linker, 5.03 [Build 76]: Last Updated: Wed Jul 09 10:31:42 2014

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

### Call chain for Maximum Stack Depth:

main ⇒ spi_master_tx_rx

### Mutually Recursive functions

- __asm___11_nrf_delay_c_532987f3__nrf_delay_us ⇒ __asm___11_nrf_delay_c_532987f3__nrf_delay_us
- NMI_Handler ⇒ NMI_Handler
- HardFault_Handler ⇒ HardFault_Handler
- SVC_Handler ⇒ SVC_Handler
- PendSV_Handler ⇒ PendSV_Handler
- SysTick_Handler ⇒ SysTick_Handler
- ADC_IRQHandler ⇒ ADC_IRQHandler

  ### Function Pointers

  - ADC_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - CCM_AAR_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - ECB_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - GPIOTE_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - HardFault_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - LPCOMP_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - NMI_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - POWER_CLOCK_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - PendSV_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - QDEC_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - RADIO_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - RNG_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - RTC0_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - RTC1_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - Reset_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SPI0_TWI0_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SPI1_TWI1_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SVC_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI0_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI1_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI2_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI3_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI4_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SWI5_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SysTick_Handler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - SystemInit from system_nrf51.o(.text) referenced from startup_arm_nrf51.o(.text)
  - TEMP_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - TIMER0_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - TIMER1_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - TIMER2_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - UART0_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - WDT_IRQHandler from startup_arm_nrf51.o(.text) referenced from startup_arm_nrf51.o(RESET)
  - __main from entry.o(.ARM.Collect$$$$00000000) referenced from startup_arm_nrf51.o(.text)
  - main from main.o(.text) 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_arm_nrf51.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_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))

  __asm___11_nrf_delay_c_532987f3__nrf_delay_us (Thumb, 30 bytes, Stack size 0 bytes, nrf_delay.o(.emb_text))
  [Calls]

  - >> __asm___11_nrf_delay_c_532987f3__nrf_delay_us
  [Called By]
  - >> __asm___11_nrf_delay_c_532987f3__nrf_delay_us
  - >> nrf_delay_ms

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

  - Max Depth = 28
  - Call Chain = main ⇒ spi_master_tx_rx
  [Calls]
  - >> spi_master_tx_rx
  - >> spi_master_init
  - >> nrf_delay_ms
  [Address Reference Count : 1]
  - entry9a.o(.ARM.Collect$$$$0000000B)

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

  - startup_arm_nrf51.o(RESET)

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

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

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

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

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

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

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

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

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

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

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

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

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(RESET)

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

  - startup_arm_nrf51.o(.text)

  spi_master_init (Thumb, 148 bytes, Stack size 20 bytes, spi_master.o(.text))
  [Stack]

  - Max Depth = 20
  - Call Chain = spi_master_init
  [Called By]
  - >> main

  spi_master_tx_rx (Thumb, 106 bytes, Stack size 20 bytes, spi_master.o(.text))
  [Stack]

  - Max Depth = 20
  - Call Chain = spi_master_tx_rx
  [Called By]
  - >> main

  nrf_delay_ms (Thumb, 30 bytes, Stack size 16 bytes, nrf_delay.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = nrf_delay_ms
  [Calls]
  - >> __asm___11_nrf_delay_c_532987f3__nrf_delay_us
  [Called By]
  - >> main

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

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

  ### Local Symbols

  ### Undefined Global Symbols