#include <scu.h>
Public Attributes | |
uint16_t | threshold |
uint16_t | count0 |
uint16_t | count1 |
uint16_t | delaysamples |
Event configuration
threshold is rise/fall threshold for input data. When set this member for rise in struct scuev_notify_s, counting data if higher than threshold, and fall is vise-versa. count0 is used for prevent chattering. count1 is used for counting continuously input. When configured for rise, SCU processing as follows:
uint16_t threshold |
Threshold
uint16_t count0 |
Preventing counts
uint16_t count1 |
Actual counts
uint16_t delaysamples |
Event notification delay in samples