脉冲累加器.docVIP

  • 11
  • 0
  • 约1.34千字
  • 约 2页
  • 2017-06-08 发布于河南
  • 举报
脉冲累加器

16-bit脉冲累加器控制寄存器 When PAEN is set, the PACT is enabled.The PACT shares the input pin with IOC7. 要注意的是这里的要置1,同时脉冲输入口,要接入到7也就是说7接口详细解释下: PAEN Pulse Accumulator System Enable — PAEN is independent from TEN. With timer disabled, the pulse accumulator can function unless pulse accumulator is disabled. 0 16-Bit Pulse Accumulator system disabled. 1 Pulse Accumulator system enabled. 打开脉冲计数,需要 PAMOD Pulse Accumulator Mode — This bit is active only when the Pulse Accumulator is enabled PAEN 1 . 0 Event counter mode.事件触发计数 也就是外面有脉冲来就计数,需要 1 Gated time accumulation mode.门控时间累加方式。简单的说就是统计输入脚 的高或低电平持续的时

文档评论(0)

1亿VIP精品文档

相关文档