Easy Pulse Accumulator Question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Easy Pulse Accumulator Question

1,035 次查看
seank
Contributor I

I can't seem to find any documentation/code that shows to use any of the 8-bit pulse accumulators to generate an interrupt after X number of pulses have been recieved.

 

I see ICPAR is used to enable 8-bit pulse accumulators, but I dont see anything on how to set interrupts after X number of edges have passed.  Are there no such controlls? Does it just generate an interrupt after it overflows(255) meaning I have to avance the count in software to get it to interrupt after a specifeid number of edges have passed.

 

Any input would be grately appreicated.

标签 (1)
0 项奖励
1 回复

263 次查看
kef
Specialist I
Yes, you either interrupt on every pulse, or when accumulator overflows.
0 项奖励