Public Property CounterState(ByVal counter As Long) As Eth32CounterState
This property allows you to control or retrieve the state of the two counters on the ETH32 device. The counter state configures which input signal edge (rising or falling) will increment the counter value or whether the counter is disabled. Setting or accessing this property does not affect the current counter value in any way. For example, a counter that is disabled and then enabled again will retain its value.
This property is a Eth32CounterState enumerator type, which has the following valid values:
COUNTER_DISABLED - The counter is disabled. The counter value may still be accessed, but the counter will not increment as a result of input signals.
COUNTER_FALLING - The counter will increment on the falling edge of the input signal.
COUNTER_RISING - The counter will increment on the rising edge of the input signal.