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

📄 testat45db161.htm

📁 使用STR710的SPI接口访问外部EEPROM的例子程序.使用KEIL UV3编译.使用了MDK3.05操作系统.
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<LI><a href="#[11f2324]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_itv_wait
<LI><a href="#[11f2414]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_dly_wait
<LI><a href="#[11fd0a8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_prio
<LI><a href="#[11fd120]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_pass
<LI><a href="#[11fd198]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_delete
<LI><a href="#[11fd1e8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user_ex
<LI><a href="#[11fd26c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user
<LI><a href="#[11fd2bc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sys_init_user
<LI><a href="#[121220c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sem_wait
<LI><a href="#[1212284]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sem_send
<LI><a href="#[121234c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sem_init
<LI><a href="#[121859c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_mbx_wait
<LI><a href="#[1218614]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_mbx_send
<LI><a href="#[12186dc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_mbx_init
<LI><a href="#[121e514]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_evt_wait
<LI><a href="#[121e58c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_evt_set
<LI><a href="#[121e6cc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_evt_clr
<LI><a href="#[122da40]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tmr_kill
<LI><a href="#[122dab8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tmr_create
</UL>

<P><STRONG><a name="[dbd6c4]"></a>os_init_mem</STRONG> (Thumb, 48 bytes, Stack size 8 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = os_init_mem -> _init_box</UL>
<BR>[Calls]<UL><LI><a href="#[11cadc4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_init_box
</UL>
<BR>[Called By]<UL><LI><a href="#[11fd2bc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sys_init_user
</UL>

<P><STRONG><a name="[dbd648]"></a>os_alloc_TCB</STRONG> (Thumb, 12 bytes, Stack size 8 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = os_alloc_TCB</UL>
<BR>[Called By]<UL><LI><a href="#[11fd1e8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user_ex
<LI><a href="#[11fd26c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user
</UL>

<P><STRONG><a name="[dbd5d0]"></a>os_free_TCB</STRONG> (Thumb, 38 bytes, Stack size 8 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = os_free_TCB</UL>
<BR>[Called By]<UL><LI><a href="#[11fd198]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_delete
</UL>

<P><STRONG><a name="[dbd558]"></a>os_free_TMR</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, rtx_config.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[122d9f0]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tmr_tick
<LI><a href="#[122da40]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tmr_kill
</UL>

<P><STRONG><a name="[dbd4dc]"></a>os_init_context</STRONG> (Thumb, 172 bytes, Stack size 40 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = os_init_context</UL>
<BR>[Called By]<UL><LI><a href="#[11fd1e8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user_ex
<LI><a href="#[11fd26c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_tsk_create_user
<LI><a href="#[11fd2bc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_sys_init_user
</UL>

<P><STRONG><a name="[dbd468]"></a>__SWI_0</STRONG> (Thumb, 104 bytes, Stack size 8 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = __SWI_0 -> os_stk_overflow -> os_get_TID</UL>
<BR>[Calls]<UL><LI><a href="#[dbefcc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;os_stk_overflow
<LI><a href="#[11c6d6c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;tstclrb (via Veneer)
</UL>
<BR>[Address Reference Count : 1]<UL><LI> SWI_Table.o(SWI_TABLE)
</UL>
<P><STRONG><a name="[dbd3ec]"></a>os_chk_robin</STRONG> (Thumb, 80 bytes, Stack size 8 bytes, rtx_config.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = os_chk_robin -> os_put_prio</UL>
<BR>[Calls]<UL><LI><a href="#[12083c4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;os_put_prio
<LI><a href="#[1208600]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;os_get_first
</UL>
<BR>[Called By]<UL><LI><a href="#[11c1998]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;os_clock_demon
</UL>

<P><STRONG><a name="[db6bcc]"></a>__user_initial_stackheap</STRONG> (ARM, 0 bytes, Stack size unknown bytes, str71x.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[11aa3b0]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;__user_setup_stackheap
</UL>

<P><STRONG><a name="[ce1d84]"></a>initAT45DB161</STRONG> (Thumb, 262 bytes, Stack size 8 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = initAT45DB161</UL>
<BR>[Calls]<UL><LI><a href="#[1192a08]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BSPI_Init (via Veneer)
<LI><a href="#[11d8f38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;GPIO_Config (via Veneer)
</UL>
<BR>[Called By]<UL><LI><a href="#[ce25e4]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;init
</UL>

<P><STRONG><a name="[da1cd4]"></a>BPSI_DataSendReceive</STRONG> (Thumb, 98 bytes, Stack size 4 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = BPSI_DataSendReceive</UL>
<BR>[Called By]<UL><LI><a href="#[ce20f8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadPageData
<LI><a href="#[ce2174]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadMultiByteFromMainMemory
<LI><a href="#[ce21fc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadDataFromFlash
<LI><a href="#[ce23f8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ErasePage
<LI><a href="#[da1a50]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ProgramBuffer1ToMainMemory
<LI><a href="#[da1ad8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;MainMemoryPageToBuffer1
<LI><a href="#[da1b5c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToBuffer1
<LI><a href="#[da1c58]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[da1d58]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;AutoPageRewriteThroughBuffer2
</UL>

<P><STRONG><a name="[da1c58]"></a>AT45_Read_REG</STRONG> (Thumb, 52 bytes, Stack size 8 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce1e7c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WritePageData
<LI><a href="#[ce1ef8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToMainMemory
<LI><a href="#[ce1f80]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteDataToFlash
<LI><a href="#[ce20f8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadPageData
<LI><a href="#[ce2174]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadMultiByteFromMainMemory
<LI><a href="#[ce21fc]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ReadDataFromFlash
<LI><a href="#[ce23f8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;ErasePage
<LI><a href="#[ce24f4]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;Detect_AT45DB
<LI><a href="#[da1ad8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;MainMemoryPageToBuffer1
<LI><a href="#[da1be0]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;AT45_Ready
</UL>

<P><STRONG><a name="[da1be0]"></a>AT45_Ready</STRONG> (Thumb, 24 bytes, Stack size 8 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = AT45_Ready -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
</UL>
<BR>[Called By]<UL><LI><a href="#[ce24f4]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;Detect_AT45DB
</UL>

<P><STRONG><a name="[ce24f4]"></a>Detect_AT45DB</STRONG> (Thumb, 22 bytes, Stack size 8 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = Detect_AT45DB -> AT45_Ready -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1be0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Ready
<LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
</UL>
<BR>[Called By]<UL><LI><a href="#[ce25e4]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;init
</UL>

<P><STRONG><a name="[da1b5c]"></a>WriteMultiByteToBuffer1</STRONG> (Thumb, 126 bytes, Stack size 24 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = WriteMultiByteToBuffer1 -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce1e7c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WritePageData
<LI><a href="#[ce1ef8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToMainMemory
<LI><a href="#[ce1f80]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteDataToFlash
</UL>

<P><STRONG><a name="[ce23f8]"></a>ErasePage</STRONG> (Thumb, 100 bytes, Stack size 12 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = ErasePage -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

<P><STRONG><a name="[ce2174]"></a>ReadMultiByteFromMainMemory</STRONG> (Thumb, 244 bytes, Stack size 40 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = ReadMultiByteFromMainMemory -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

<P><STRONG><a name="[da1ad8]"></a>MainMemoryPageToBuffer1</STRONG> (Thumb, 132 bytes, Stack size 16 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = MainMemoryPageToBuffer1 -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce1e7c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WritePageData
<LI><a href="#[ce1ef8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToMainMemory
<LI><a href="#[ce1f80]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteDataToFlash
</UL>

<P><STRONG><a name="[da1a50]"></a>ProgramBuffer1ToMainMemory</STRONG> (Thumb, 90 bytes, Stack size 12 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = ProgramBuffer1ToMainMemory -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
</UL>
<BR>[Called By]<UL><LI><a href="#[ce1e7c]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WritePageData
<LI><a href="#[ce1ef8]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToMainMemory
<LI><a href="#[ce1f80]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;WriteDataToFlash
</UL>

<P><STRONG><a name="[ce1ef8]"></a>WriteMultiByteToMainMemory</STRONG> (Thumb, 112 bytes, Stack size 36 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 64<LI>Call Chain = WriteMultiByteToMainMemory -> MainMemoryPageToBuffer1 -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1a50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ProgramBuffer1ToMainMemory
<LI><a href="#[da1ad8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MainMemoryPageToBuffer1
<LI><a href="#[da1b5c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToBuffer1
<LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

<P><STRONG><a name="[ce1f80]"></a>WriteDataToFlash</STRONG> (Thumb, 172 bytes, Stack size 40 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 68 + Unknown Stack Size
<LI>Call Chain = WriteDataToFlash -> MainMemoryPageToBuffer1 -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1a50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ProgramBuffer1ToMainMemory
<LI><a href="#[da1ad8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MainMemoryPageToBuffer1
<LI><a href="#[da1b5c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToBuffer1
<LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[11aea54]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod (via Veneer)
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

<P><STRONG><a name="[ce1e7c]"></a>WritePageData</STRONG> (Thumb, 116 bytes, Stack size 32 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = WritePageData -> MainMemoryPageToBuffer1 -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1a50]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ProgramBuffer1ToMainMemory
<LI><a href="#[da1ad8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MainMemoryPageToBuffer1
<LI><a href="#[da1b5c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WriteMultiByteToBuffer1
<LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

<P><STRONG><a name="[ce21fc]"></a>ReadDataFromFlash</STRONG> (Thumb, 264 bytes, Stack size 40 bytes, at45db161.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 52 + Unknown Stack Size
<LI>Call Chain = ReadDataFromFlash -> AT45_Read_REG -> BPSI_DataSendReceive</UL>
<BR>[Calls]<UL><LI><a href="#[da1c58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;AT45_Read_REG
<LI><a href="#[da1cd4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BPSI_DataSendReceive
<LI><a href="#[11aea54]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod (via Veneer)
</UL>
<BR>[Called By]<UL><LI><a href="#[ce2658]">&lt;&lt;</a>&nbsp;&nbsp;&nbsp;LED_A_flash
</UL>

⌨️ 快捷键说明

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