STM32输入捕获模式设置并用DMA接收数据
时间:11-19
来源:互联网
点击:
注意:
除TIM6和TIM7之外的定时器都只能采用上升沿或者下降沿捕捉而不能采用双边沿捕捉.
#define TIM_ICPolarity_Rising ((uint16_t)0x0)#define TIM_ICPolarity_Falling ((uint16_t)0x2)#define TIM_ICPolarity_BothEdge ((uint16_t)0xA)#define IS_TIM_IC_POLARITY(POLARITY) (((POLARITY) == TIM_ICPolarity_Rising) ((POLARITY) == TIM_ICPolarity_Falling))#define IS_TIM_IC_POLARITY_LITE(POLARITY) (((POLARITY) == TIM_ICPolarity_Rising) ((POLARITY) == TIM_ICPolarity_Falling) ((POLARITY) == TIM_ICPolarity_BothEdge))
STM32输入捕获模式设置DMA接收数 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)