Hardware Event [High-performance Counter]

For the devices with high-performance counter, the hardware operates automatically in response to the change of Control Input Signal, Control Output Signal and Count Match.
And these are generically called hardware events.

There is one(1) signal line in each counter channel for Control Input Signal and for Control Output Signal.

Please refer Function Reference to know each functions as below.


Hardware event of control input signal (CntSetInputHardwareEvent)

One of the following operation can be caused by the rising edge or the falling edge of control input signal.

- Preset of Count value
- Zero clear for Count value
- Counter start/stop

The Control Input Signal can be used as general-purpose input.
In this case, the hardware events mentioned above cannot be set.

 

Hardware event of control output signal (CntSetOutputHardwareEvent)

Control Output Signal can output one-shot pulse when one of the following conditions is satisfied.

- Count Match (Register 0, Register 1)
- Abnormal input error
- Digital filter error

Control Output Signal can be used as general-purpose output. In this case, the hardware events mentioned above cannot be set.
And when Control Output Signal is used as general-purpose output, it outputs the level but not the pulse.

Hardware event of count match (CntSetCountMatchHardwareEvent)

The following operation can be generated when Count Match with the specified register.

- Preset of Count value
- Zero clear for Count value