STM32 3.5库函数应用整理(6)

2018-12-08 20:30

? ? ? ? TIM_OCMode_PWM1 TIM_OCMode_PWM2 TIM_ForcedAction_Active TIM_ForcedAction_InActive

TIM_TimeBaseInit (TIMx,TIM_TimeBaseInitStruct) 时基单元配置函数 参数:

Data Fields

uint16_t

#define TIM_CKD_DIV1 ((uint16_t)0x0000) #define TIM_CKD_DIV2 ((uint16_t)0x0100)

TIM_ClockDivision #define TIM_CKD_DIV4 ((uint16_t)0x0200) #define TIM_CounterMode_CenterAligned1 ((uint16_t)0x0020) #define TIM_CounterMode_CenterAligned2 ((uint16_t)0x0040) #define TIM_CounterMode_CenterAligned3 ((uint16_t)0x0060) #define TIM_CounterMode_Down ((uint16_t)0x0010) uint16_t TIM_CounterMode #define TIM_CounterMode_Up ((uint16_t)0x0000) between 0x0000 and 0xFFFF between 0x0000 and 0xFFFF 0x00 and 0xFF 计数模式选择 计数器的周期值 配置预分频值 计数重复次数 uint16_t TIM_Period uint16_t TIM_Prescaler uint8_t TIM_RepetitionCounter


STM32 3.5库函数应用整理(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:PEP小学五年级英语上册堂堂清课课练习题资料

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: