摘要:
通用定时器主要由以下几种用途:输入捕获:测量输入信号的脉冲长度输出比较PWM输出单脉冲模式输出通用TIMx (TIM2、TIM3、TIM4和TIM5)定时器功能包括:● 16-bit auto-reload counter(自动重装载计数器);计数器共有种计数模式: up mode, up/down... 阅读全文
摘要:
当选定了一款MCU,产品的开发一切都很顺利,快到收尾时猛然间发现Flash发生了溢出错误,这是很悲催的事情,总不能再更换芯片吧,我不想这么麻烦,老板更不希望项目的进度跟不上。没办法只能给程序进行瘦身运动了。Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 84 block(s) (0x3f68 byte(s) total) in 0x3dee byte(s) of memory. The problem occurr 阅读全文