XMC Peripheral Library for XMC4000 Family: XMC_LEDTS_TS_CONFIG_BASIC_t Struct Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
XMC_LEDTS_TS_CONFIG_BASIC_t Struct Reference

#include <xmc_ledts.h>

Detailed Description

Data structure for basic Touch-Sense function initialization. Use type XMC_LEDTS_TS_CONFIG_BASIC_t for this structure.

Field Documentation

uint32_t common_compare

When this bit is set it enables common compare for all touch sense inputs. Disables common compare when not set(TSCCMP). Refer XMC_LEDTS_COMMON_COMPARE_t enum for possible values.

uint32_t counter_auto_reset

When this bit is set TS-counter is automatically reset to 00H on first pad turn of a new touch-sense pin(TSCTRR). Refer XMC_LEDTS_TS_COUNTER_AUTO_RESET_t enum for possible values.

uint32_t counter_saturation

When this bit is set TS-counter stops counting in the touch-sense time slice of the same frame when it reaches FFH (TSCTRSAT). Refer XMC_LEDTS_TS_COUNTER_SATURATION_t enum for possible values.

uint32_t no_of_accumulation

Defines number of times touch-sense input pin is enabled in touch-sense time slice of consecutive frames(ACCCNT). Range 0 - 15. Refer XMC_LEDTS_ACCUMULATION_COUNT_t enum type for possible values.

uint32_t no_of_touch_inputs

Defines number of touch-sense inputs (NR_TSIN). Range 0 - 7. Refer XMC_LEDTS_NUMBER_TS_INPUT_t enum for possible values.


The documentation for this struct was generated from the following file:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11