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

📄 stm32_can.htm

📁 CAN 程序使用MCP2515 由STM32做主芯片控制
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f250]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read_data
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b7e050]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_get_free_txbuf
<LI><a href="#[b7e128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_msg
<LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7e290]"></a>mcp2515_read_registers</STRONG> (Thumb, 102 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = mcp2515_read_registers &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f250]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read_data
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b7e128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_msg
<LI><a href="#[b7e170]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_id
</UL>

<P><STRONG><a name="[b7e248]"></a>mcp2515_read_status</STRONG> (Thumb, 68 bytes, Stack size 8 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = mcp2515_read_status &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f250]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read_data
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b81288]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_read_message
</UL>

<P><STRONG><a name="[b81168]"></a>mcp2515_set_register</STRONG> (Thumb, 78 bytes, Stack size 16 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = mcp2515_set_register &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b7d178]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_send_message
<LI><a href="#[b7df30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_filter_intialize
<LI><a href="#[b7e008]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_init_can_buffers
<LI><a href="#[b7e098]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_msg
<LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7e200]"></a>mcp2515_set_registers</STRONG> (Thumb, 96 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b7e098]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_msg
<LI><a href="#[b7e0e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_id
</UL>

<P><STRONG><a name="[b7e1b8]"></a>mcp2515_modify_register</STRONG> (Thumb, 86 bytes, Stack size 16 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = mcp2515_modify_register &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>
<BR>[Called By]<UL><LI><a href="#[b7df78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_start_transmit
<LI><a href="#[b81288]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_read_message
</UL>

<P><STRONG><a name="[b7e170]"></a>mcp2515_read_can_id</STRONG> (Thumb, 44 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = mcp2515_read_can_id &rArr; mcp2515_read_registers &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e290]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_registers
</UL>
<BR>[Called By]<UL><LI><a href="#[b7e128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_msg
</UL>

<P><STRONG><a name="[b7e128]"></a>mcp2515_read_can_msg</STRONG> (Thumb, 98 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 84<LI>Call Chain = mcp2515_read_can_msg &rArr; mcp2515_read_can_id &rArr; mcp2515_read_registers &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e170]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_id
<LI><a href="#[b7e290]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_registers
<LI><a href="#[b811b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b81288]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_read_message
</UL>

<P><STRONG><a name="[b7e0e0]"></a>mcp2515_write_can_id</STRONG> (Thumb, 48 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 60<LI>Call Chain = mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e200]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_registers
</UL>
<BR>[Called By]<UL><LI><a href="#[b7e008]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_init_can_buffers
<LI><a href="#[b7e098]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_msg
</UL>

<P><STRONG><a name="[b7e098]"></a>mcp2515_write_can_msg</STRONG> (Thumb, 56 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 84<LI>Call Chain = mcp2515_write_can_msg &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e0e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_id
<LI><a href="#[b7e200]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_registers
<LI><a href="#[b81168]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b7d178]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_send_message
</UL>

<P><STRONG><a name="[b7e050]"></a>mcp2515_get_free_txbuf</STRONG> (Thumb, 80 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = mcp2515_get_free_txbuf &rArr; mcp2515_read_register &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b811b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b7d178]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_send_message
</UL>

<P><STRONG><a name="[b7e008]"></a>mcp2515_init_can_buffers</STRONG> (Thumb, 160 bytes, Stack size 24 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 84<LI>Call Chain = mcp2515_init_can_buffers &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e0e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_id
<LI><a href="#[b81168]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b812d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_init
</UL>

<P><STRONG><a name="[b7dfc0]"></a>mcp2515_rts</STRONG> (Thumb, 58 bytes, Stack size 8 bytes, mcp2515.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[b7e3b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_ms
<LI><a href="#[b7f298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;write_data
</UL>

<P><STRONG><a name="[b7df78]"></a>mcp2515_start_transmit</STRONG> (Thumb, 16 bytes, Stack size 8 bytes, mcp2515.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = mcp2515_start_transmit &rArr; mcp2515_modify_register &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e1b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_modify_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b7d178]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_send_message
</UL>

<P><STRONG><a name="[b7df30]"></a>mcp2515_filter_intialize</STRONG> (Thumb, 38 bytes, Stack size 8 bytes, mcp2515.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[b81168]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_register
</UL>

<P><STRONG><a name="[b812d0]"></a>can_init</STRONG> (Thumb, 22 bytes, Stack size 8 bytes, can.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 92<LI>Call Chain = can_init &rArr; mcp2515_init_can_buffers &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e008]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_init_can_buffers
<LI><a href="#[b7e2d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_config_rate
<LI><a href="#[b7e320]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_reset
<LI><a href="#[b7e368]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_clock
</UL>
<BR>[Called By]<UL><LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7d1c0]"></a>init_message_struct</STRONG> (Thumb, 14 bytes, Stack size 8 bytes, can.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = init_message_struct &rArr; __aeabi_memclr4
</UL>
<BR>[Calls]<UL><LI><a href="#[b7b008]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memclr4
</UL>
<BR>[Called By]<UL><LI><a href="#[b81240]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_test_transmit
</UL>

<P><STRONG><a name="[b7d178]"></a>can_send_message</STRONG> (Thumb, 36 bytes, Stack size 16 bytes, can.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 100<LI>Call Chain = can_send_message &rArr; mcp2515_write_can_msg &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7df78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_start_transmit
<LI><a href="#[b7e050]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_get_free_txbuf
<LI><a href="#[b7e098]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_write_can_msg
<LI><a href="#[b81168]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_set_register
</UL>
<BR>[Called By]<UL><LI><a href="#[b81240]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_test_transmit
</UL>

<P><STRONG><a name="[b81288]"></a>can_read_message</STRONG> (Thumb, 72 bytes, Stack size 16 bytes, can.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 100<LI>Call Chain = can_read_message &rArr; mcp2515_read_can_msg &rArr; mcp2515_read_can_id &rArr; mcp2515_read_registers &rArr; read_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7e128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_can_msg
<LI><a href="#[b7e1b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_modify_register
<LI><a href="#[b7e248]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;mcp2515_read_status
</UL>
<BR>[Called By]<UL><LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b81240]"></a>can_test_transmit</STRONG> (Thumb, 86 bytes, Stack size 32 bytes, can.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 132<LI>Call Chain = can_test_transmit &rArr; can_send_message &rArr; mcp2515_write_can_msg &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b7d178]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;can_send_message
<LI><a href="#[b7d1c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;init_message_struct
</UL>
<BR>[Called By]<UL><LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b811f8]"></a>initialize_uart</STRONG> (Thumb, 304 bytes, Stack size 0 bytes, uart.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7c4b0]"></a>send_string_to_uart</STRONG> (Thumb, 54 bytes, Stack size 0 bytes, uart.o(.text), UNUSED)

<P><STRONG><a name="[b810d8]"></a>send_buffer_to_uart</STRONG> (Thumb, 52 bytes, Stack size 8 bytes, uart.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = send_buffer_to_uart
</UL>
<BR>[Called By]<UL><LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7b008]"></a>__aeabi_memclr4</STRONG> (Thumb, 0 bytes, Stack size 4 bytes, rt_memclr_w.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = __aeabi_memclr4
</UL>
<BR>[Called By]<UL><LI><a href="#[b7d1c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;init_message_struct
<LI><a href="#[b81360]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[b7afc0]"></a>__aeabi_memclr8</STRONG> (Thumb, 0 bytes, Stack size 4 bytes, rt_memclr_w.o(.text), UNUSED)

<P><STRONG><a name="[b7af78]"></a>__rt_memclr_w</STRONG> (Thumb, 78 bytes, Stack size 4 bytes, rt_memclr_w.o(.text), UNUSED)

<P><STRONG><a name="[b7af30]"></a>_memset_w</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, rt_memclr_w.o(.text), UNUSED)

<P><STRONG><a name="[b7ad60]"></a>__use_two_region_memory</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, stkheap2.o(.text), UNUSED)

<P><STRONG><a name="[b7ad18]"></a>__rt_stackheap_init</STRONG> (Thumb, 24 bytes, Stack size 16 bytes, stkheap2.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 24 + Unknown Stack Size
<LI>Call Chain = __rt_stackheap_init &rArr; __user_setup_stackheap
</UL>
<BR>[Calls]<UL><LI><a href="#[b79db8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_stackheap_storage
<LI><a href="#[b7a218]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__user_setup_stackheap
</UL>
<BR>[Called By]<UL><LI><a href="#[b7a7d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_entry
</UL>

<P><STRONG><a name="[b7acd0]"></a>__rt_heap_extend</STRONG> (Thumb, 12 bytes, Stack size 8 bytes, stkheap2.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[b7abf8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__user_heap_extend (Weak Reference)
</UL>

<P><STRONG><a name="[b7a7d8]"></a>__rt_entry</STRONG> (Thumb, 36 bytes, Stack size 16 bytes, kernel.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 204 + Unknown Stack Size
<LI>Call Chain = __rt_entry &rArr; main &rArr; can_test_transmit &rArr; can_send_message &rArr; mcp2515_write_can_msg &rArr; mcp2515_write_can_id &rArr; mcp2515_set_registers &rArr; write_data
</UL>
<BR>[Calls]<UL><LI><a href="#[b78648]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_platform_post_lib_init
<LI><a href="#[b787b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_platform_post_stackheap_init
<LI><a href="#[b791c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__rt_lib_init

⌨️ 快捷键说明

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