Microchip
直播中

张琪

8年用户 228经验值
私信 关注
[问答]

Timer1操作如果我的信号是低电平那实际的测量持续时间是?

我在这里读到的有点困惑,它在time1操作的数据表(PIC16F1937)中说:在计数器模式下,在第一个递增的上升沿之前,计数器必须注册一个下降沿…但是如果我的信号是低电平,实际上我在测量持续时间呢?下降沿的n?这意味着我会失去第一个脉冲吗?谢谢你的回复。

以上来自于百度翻译


      以下为原文

    I am a little bit confused with what I read here, it says in the datasheet for the timer1 operation (PIC16f1937):


In Counter mode, a falling edge must be registered by the counter prior to the first incrementing rising edge...


But what if my signal is active low and I'm actually measuring the duration of the falling edge? Does that mean I will lose the first pulse? Thanks for the reply.

回帖(2)

薄坤坤

2018-9-29 16:17:47
我读到:这是第一次定时器打开后,苏珊。

以上来自于百度翻译


      以下为原文

    I read that as: only the first time after the timer has been turned on.
Susan
举报

吴键洪

2018-9-29 16:32:55
你如何在“计数器模式”中测量“下降沿的持续时间”?

以上来自于百度翻译


      以下为原文

   
How are you "measuring the duration of the falling edge" in "Counter mode" ?
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分