Atmel Software Framework

sensor_tap_params_t Struct Reference

Sensor Tap Event Parameters.

#include <sensor.h>

Data Fields

uint16_t axes
 Axes (X,Y,Z) to detect tap events. More...
 
uint16_t between_time
 Minimum time between taps. More...
 
size_t count
 Max number of taps to detect. More...
 
uint16_t ignore_time
 Latency period after a tap. More...
 
uint16_t tap_time_max
 Maximum duration of a tap. More...
 
uint16_t tap_time_min
 Minimum duration of a tap. More...
 
size_t threshold_max
 Maximum signal change for tap. More...
 
size_t threshold_min
 Minimum signal change for tap. More...
 
uint16_t total_time
 Total time for tap detection window. More...
 

uint16_t sensor_tap_params_t::axes

Axes (X,Y,Z) to detect tap events.

Referenced by kxtf9_set_tap().

uint16_t sensor_tap_params_t::between_time

Minimum time between taps.

Referenced by kxtf9_set_tap().

size_t sensor_tap_params_t::count

Max number of taps to detect.

uint16_t sensor_tap_params_t::ignore_time

Latency period after a tap.

Referenced by kxtf9_set_tap().

uint16_t sensor_tap_params_t::tap_time_max

Maximum duration of a tap.

Referenced by kxtf9_set_tap().

uint16_t sensor_tap_params_t::tap_time_min

Minimum duration of a tap.

Referenced by kxtf9_set_tap().

size_t sensor_tap_params_t::threshold_max

Maximum signal change for tap.

Referenced by kxtf9_set_tap().

size_t sensor_tap_params_t::threshold_min

Minimum signal change for tap.

Referenced by kxtf9_set_tap().

uint16_t sensor_tap_params_t::total_time

Total time for tap detection window.

Referenced by kxtf9_set_tap().