10858| 4
|
TIM_GetCapture2()与TIM_GetCounter()的区别在哪里? |
5金钱
最佳答案 这是两个不同的概念哦
uint16_t TIM_GetCapture2(TIM_TypeDef* TIMx)
{
/* Check the parameters */
assert_param(IS_TIM_LIST6_PERIPH(TIMx));
/* Get the Capture 2 Register value */
return TIMx->CCR2;
}
uint16_t TIM_GetCounter(TIM_TypeDef* TIMx)
{
/* Check the parameters */
assert_param(IS_TIM_ALL_PERIPH(TIMx));
/* Get the Count ...
| ||
发表于 2014-8-14 21:51:28
|
显示全部楼层
| ||
我是开源电子网?网站管理员,对网站有任何问题,请与我联系!QQ:389063473Email:389063473@qq.com
|
||
| ||
发表于 2017-7-15 14:24:14
|
显示全部楼层
| ||
发表于 2019-2-14 18:11:00
|
显示全部楼层
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-4-20 06:24
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网