![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MCU
文章平均质量分 75
shevsten
这个作者很懒,什么都没留下…
展开
-
AVR/GCC设置不链接未调用的函数
在AVR Studio4/5的AVR/GCC默认设置下,未调用的函数也会被link进最终的镜像,从而增大image的大小,这会浪费flash资源.以下是如何在AVR Studio4/5设置,不把未调用的函数link进image.方法是在complier命令中增加-ffunction-sections,linker命令中增加-Wl,--gc-sections.-ffunction-sec原创 2011-12-07 14:24:58 · 6830 阅读 · 0 评论 -
Cortex M3 Bit-banding简介
bit-band是Cortex-M3内核中针对某一段区域进行位和字映射的机制,对于位操作,如IO控制LED,相比传递的C语言的位操作,提供了很大的方便.bit-band 区域将存储器别名区(bit-band alias region)的一个字映射为 bit-band区的一个位. 处理器存储器映射包括两个 bit-banding 区域, 它们分别为 SRAM 和外设存储区域中的最低的 1MB.翻译 2012-06-19 14:30:05 · 8852 阅读 · 0 评论 -
MCU知识总结
1. Brown-Out Reset掉电复位,或电源电压跌落复位, 当输入电压VCC跌到某一门限时芯片复位The MCU is reset when the supply voltage VCC is below the Brown-Out Reset threshold voltageand the Brown-out Detector is enabled. The Brown-o原创 2012-06-15 16:27:20 · 5698 阅读 · 0 评论