⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sd_module.htm

📁 我写的基于lpc2148的SD卡驱动程序
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html><head>
<title>Static Call Graph - [.\Output\SD_Module.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Output\SD_Module.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, RVCT3.1 [Build 934]: Last Updated: Wed Sep 24 08:12:19 2008
<BR><P>
<H3>Maximum Stack Usage =        160 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
UART0_SERV &rArr; SD_Initialize &rArr; SD_GetCardInfo &rArr; SD_ReadCSD &rArr; SD_SendCmd &rArr; SD_GetCmdByte6
<P>
<H3>
Functions with no stack information
</H3><UL>
 <LI><a href="#[c833b0]">Reset_Handler</a>
 <LI><a href="#[c833f8]">__user_initial_stackheap</a>
 <LI><a href="#[c83680]">Undef_Handler</a>
 <LI><a href="#[c83638]">SWI_Handler</a>
 <LI><a href="#[c835f0]">PAbt_Handler</a>
 <LI><a href="#[c835a8]">DAbt_Handler</a>
 <LI><a href="#[c83560]">IRQ_Handler</a>
 <LI><a href="#[c83518]">FIQ_Handler</a>
</UL>
</UL>
<P>
<H3>
Mutually Recursive functions
</H3> <LI><a href="#[c83680]">Undef_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c83680]">Undef_Handler</a><BR>
 <LI><a href="#[c83638]">SWI_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c83638]">SWI_Handler</a><BR>
 <LI><a href="#[c835f0]">PAbt_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c835f0]">PAbt_Handler</a><BR>
 <LI><a href="#[c835a8]">DAbt_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c835a8]">DAbt_Handler</a><BR>
 <LI><a href="#[c83560]">IRQ_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c83560]">IRQ_Handler</a><BR>
 <LI><a href="#[c83518]">FIQ_Handler</a>&nbsp;&nbsp;&nbsp;&rArr;&nbsp;&nbsp;&nbsp;<a href="#[c83518]">FIQ_Handler</a><BR>
</UL>
<P>
<H3>
Function Pointers
</H3><UL>
 <LI><a href="#[c833b0]">Reset_Handler</a>
 <LI><a href="#[c83680]">Undef_Handler</a>
 <LI><a href="#[c83638]">SWI_Handler</a>
 <LI><a href="#[c835f0]">PAbt_Handler</a>
 <LI><a href="#[c835a8]">DAbt_Handler</a>
 <LI><a href="#[c83560]">IRQ_Handler</a>
 <LI><a href="#[c83518]">FIQ_Handler</a>
 <LI><a href="#[c77410]">__main</a>
 <LI><a href="#[1123858]">__ARM_get_argv</a>
 <LI><a href="#[c81f50]">UART0_SERV</a>
 <LI><a href="#[c7fc88]">main</a>
 <LI><a href="#[c747c8]">__I_use_semihosting</a>
</UL>
<P>
<H3>
Global Symbols
</H3>
<P><STRONG><a name="[c833b0]"></a>Reset_Handler</STRONG> (ARM, 0 bytes, Stack size unknown bytes, startup.o(RESET))
<BR>[Address Reference Count : 1]<UL><LI> startup.o(RESET)
</UL>
<P><STRONG><a name="[c77410]"></a>__main</STRONG> (ARM, 8 bytes, Stack size 0 bytes, __main.o(!!!main))
<BR><BR>[Stack]<UL><LI>Max Depth = 64 + Unknown Stack Size
<LI>Call Chain = __main &rArr; __rt_entry &rArr; __rt_lib_init &rArr; _fp_init
</UL>
<BR>[Calls]<UL><LI><a href="#[c77150]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_entry
<LI><a href="#[1120eb0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>

<P><STRONG><a name="[1120eb0]"></a>__scatterload</STRONG> (ARM, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter))
<BR><BR>[Called By]<UL><LI><a href="#[c77410]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main
</UL>

<P><STRONG><a name="[1120e68]"></a>__scatterload_rt2</STRONG> (ARM, 52 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c77150]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_entry
</UL>

<P><STRONG><a name="[1120e20]"></a>__scatterload_null</STRONG> (ARM, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

<P><STRONG><a name="[11210a8]"></a>__decompress</STRONG> (ARM, 68 bytes, Stack size unknown bytes, __dczerorl.o(!!dczerorl), UNUSED)

<P><STRONG><a name="[1121060]"></a>__decompress0</STRONG> (ARM, 0 bytes, Stack size unknown bytes, __dczerorl.o(!!dczerorl), UNUSED)

<P><STRONG><a name="[1120be0]"></a>__scatterload_zeroinit</STRONG> (ARM, 44 bytes, Stack size unknown bytes, __scatter_zi.o(!!handler_zi), UNUSED)

<P><STRONG><a name="[c75718]"></a>__ARM_argv_veneer</STRONG> (ARM, 16 bytes, Stack size 0 bytes, lib_init.o(.emb_text))
<BR><BR>[Called By]<UL><LI><a href="#[c75688]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_lib_init (via Veneer)
</UL>

<P><STRONG><a name="[c833f8]"></a>__user_initial_stackheap</STRONG> (ARM, 0 bytes, Stack size unknown bytes, startup.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c76b28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__user_setup_stackheap
</UL>

<P><STRONG><a name="[c81fe0]"></a>board_init</STRONG> (ARM, 64 bytes, Stack size 8 bytes, board_init.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = board_init
</UL>
<BR>[Calls]<UL><LI><a href="#[c81f98]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fc88]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7fc88]"></a>main</STRONG> (ARM, 32 bytes, Stack size 8 bytes, main.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = main &rArr; board_init
</UL>
<BR>[Calls]<UL><LI><a href="#[c7fc40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendStr
<LI><a href="#[c81fe0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;board_init
</UL>
<BR>[Address Reference Count : 1]<UL><LI> kernel.o(.text)
</UL>
<P><STRONG><a name="[c81f98]"></a>UART0_Init</STRONG> (ARM, 60 bytes, Stack size 0 bytes, uart_module.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c81fe0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;board_init
</UL>

<P><STRONG><a name="[c7e990]"></a>UART0_GetByte</STRONG> (ARM, 36 bytes, Stack size 0 bytes, uart_module.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7e948]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_GetStr
<LI><a href="#[c81f50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SERV
</UL>

<P><STRONG><a name="[c7e948]"></a>UART0_GetStr</STRONG> (ARM, 52 bytes, Stack size 4 bytes, uart_module.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c7e990]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_GetByte
</UL>

<P><STRONG><a name="[c7e900]"></a>UART0_SendByte</STRONG> (ARM, 32 bytes, Stack size 0 bytes, uart_module.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7e8b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_hex2char
<LI><a href="#[c7fc40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendStr
<LI><a href="#[c81f50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SERV
</UL>

<P><STRONG><a name="[c7fc40]"></a>UART0_SendStr</STRONG> (ARM, 52 bytes, Stack size 4 bytes, uart_module.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = UART0_SendStr
</UL>
<BR>[Calls]<UL><LI><a href="#[c7e900]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendByte
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fc88]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
<LI><a href="#[c81f50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SERV
</UL>

<P><STRONG><a name="[c81f50]"></a>UART0_SERV</STRONG> (ARM, 996 bytes, Stack size 40 bytes, uart_module.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 160 + Unknown Stack Size
<LI>Call Chain = UART0_SERV &rArr; SD_Initialize &rArr; SD_GetCardInfo &rArr; SD_ReadCSD &rArr; SD_SendCmd &rArr; SD_GetCmdByte6
</UL>
<BR>[Calls]<UL><LI><a href="#[c78708]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;strcmp
<LI><a href="#[c7e7e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_WriteBlock
<LI><a href="#[c7e828]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadBlock
<LI><a href="#[c7e870]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_Initialize
<LI><a href="#[c7e900]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendByte
<LI><a href="#[c7e990]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_GetByte
<LI><a href="#[c7fc40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendStr
</UL>
<BR>[Address Reference Count : 1]<UL><LI> board_init.o(.text)
</UL>
<P><STRONG><a name="[c7e8b8]"></a>UART0_hex2char</STRONG> (ARM, 72 bytes, Stack size 4 bytes, uart_module.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c7e900]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UART0_SendByte
</UL>

<P><STRONG><a name="[c7d6b8]"></a>SD_SendCmd</STRONG> (ARM, 304 bytes, Stack size 32 bytes, sdcmd.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 48<LI>Call Chain = SD_SendCmd &rArr; SD_GetCmdByte6
</UL>
<BR>[Calls]<UL><LI><a href="#[c7ced8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_SendByte
<LI><a href="#[c7cf20]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_RecByte
<LI><a href="#[c7cf68]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_CS_Deassert
<LI><a href="#[c7cfb0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_CS_Assert
<LI><a href="#[c7cff8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_GetCmdByte6
</UL>
<BR>[Called By]<UL><LI><a href="#[c7ab80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ActiveInit
<LI><a href="#[c7d1a8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_EnableCRC
<LI><a href="#[c7d1f0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadOCR
<LI><a href="#[c7d238]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_EraseSelectedBlock
<LI><a href="#[c7d478]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_SetBlockLen
<LI><a href="#[c7d4c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadCard_Status
<LI><a href="#[c7d508]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_StopTransmission
<LI><a href="#[c7d550]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadCSD
<LI><a href="#[c7d5e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ResetSD
<LI><a href="#[c7d628]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_BlockCommand
</UL>

<P><STRONG><a name="[c7d670]"></a>SD_PackParam</STRONG> (ARM, 40 bytes, Stack size 0 bytes, sdcmd.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7d238]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_EraseSelectedBlock
<LI><a href="#[c7d478]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_SetBlockLen
<LI><a href="#[c7d628]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_BlockCommand
</UL>

<P><STRONG><a name="[c7d628]"></a>SD_BlockCommand</STRONG> (ARM, 104 bytes, Stack size 32 bytes, sdcmd.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 80<LI>Call Chain = SD_BlockCommand &rArr; SD_SendCmd &rArr; SD_GetCmdByte6
</UL>
<BR>[Calls]<UL><LI><a href="#[c7d670]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_PackParam
<LI><a href="#[c7d6b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_SendCmd
</UL>
<BR>[Called By]<UL><LI><a href="#[c7d2c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_EraseEndBlock
<LI><a href="#[c7d310]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_EraseStartBlock
<LI><a href="#[c7d358]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_WriteMultipleBlock
<LI><a href="#[c7d3a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_WriteSingleBlock
<LI><a href="#[c7d3e8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadMultipleBlock
<LI><a href="#[c7d430]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadSingleBlock
</UL>

<P><STRONG><a name="[c7d5e0]"></a>SD_ResetSD</STRONG> (ARM, 36 bytes, Stack size 16 bytes, sdcmd.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 64<LI>Call Chain = SD_ResetSD &rArr; SD_SendCmd &rArr; SD_GetCmdByte6
</UL>
<BR>[Calls]<UL><LI><a href="#[c7d6b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_SendCmd
</UL>
<BR>[Called By]<UL><LI><a href="#[c7e870]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_Initialize
</UL>

<P><STRONG><a name="[c7d598]"></a>SD_ReadRegister</STRONG> (ARM, 204 bytes, Stack size 24 bytes, sdcmd.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = SD_ReadRegister &rArr; SD_GetCRC16
</UL>
<BR>[Calls]<UL><LI><a href="#[c7ced8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_SendByte
<LI><a href="#[c7cf20]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_RecByte
<LI><a href="#[c7cf68]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_CS_Deassert
<LI><a href="#[c7cfb0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SPI_CS_Assert
<LI><a href="#[c7d040]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_GetCRC16
</UL>
<BR>[Called By]<UL><LI><a href="#[c7d550]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SD_ReadCSD

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -