Easy Pulse Accumulator Question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Easy Pulse Accumulator Question

1,541件の閲覧回数
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 返信

769件の閲覧回数
kef
Specialist I
Yes, you either interrupt on every pulse, or when accumulator overflows.
0 件の賞賛
返信