MAN0878-09-EN_XLE_XLT_UserManual
A u g u s t 2 3 , 2 0 1 8 P a g e 83 | 158
12.2.2 Totalize
In totalize mode, the accumulator is simply incremented or decremented each time the input
transitions in a specific direction. Totalize mode is configurable to specify the edge (rising or
falling) on which the accumulator is incremented.
The totalizer supports the following modes:
Table 12.2 – Modes supported by Totalizer
This mode ties the input to the counter to an internal 10 MHz or 1
MHz clock. The special functions can be used to accurately time
events.
This increments the accumulator when the input is enabled.
NOTE: Two inputs can be assigned. Either input can cause the
counter to increment. The second input can also be disabled.
This decrements the accumulator when the input is enabled.
NOTE: Two inputs can be assigned. Either input can cause the
counter to decrement. The second input can also be disabled.
Up/Down
(Input 1 Up/Input 2
Down)
In this mode, Input 1 (assigned to any of the four inputs)
increments the counter, while Input 2 (also assigned to any of the
4 inputs) decrements the counter.
Clk/Dir
(Input 1 Clk, Input 2
Dir)
This mode uses Input 1 as a clock signal to increment or decrement
the counter and then uses Input 2 to decide the direction. Input 2
disabled increments the counter, while Input 2 enabled
decrements the counter.
NOTE: The totalize mode enables the Disable, Latch, Preload, and Clear special functions.
Please see Section 12.2 for details.
NOTE: Counter triggers off the rising edge of the signal.