This function is used to configure a channel as a key.
void qt_enable_key ( channel_t channel, aks_group_t aks_group, threshold_t detect_threshold, hysteresis_t detect_hysteresis )
Arguments |
Type |
Comment |
---|---|---|
Channel |
channel_t |
Specifies the channel number to be configured for use as a "key" |
aks_group |
aks_group |
Specifies the aks group associated with the sensor being configured as "key" |
detect_threshold |
threshold_t |
Specifies the detect threshold for the sensor |
detect_hysteresis |
hysteresis_t |
Specifies the detection hysteresis for the sensor |