Easy Pulse Accumulator Question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Easy Pulse Accumulator Question

1,019 Views
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.

Labels (1)
0 Kudos
1 Reply

247 Views
kef
Specialist I
Yes, you either interrupt on every pulse, or when accumulator overflows.
0 Kudos