conf_at42qt1060_example.h File Reference


Detailed Description

AT42QT1060 configuration.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file conf_at42qt1060_example.h.

Go to the source code of this file.

Defines

#define AT42QT1060_DETECT_INTEGRATOR_VALUE   3
#define AT42QT1060_DETECT_PIN   AVR32_PIN_PA22
#define AT42QT1060_EIC_EXTINT_FUNCTION   AVR32_EIC_EXTINT_1_FUNCTION
#define AT42QT1060_EIC_EXTINT_IRQ   AVR32_EIC_IRQ_1
#define AT42QT1060_EIC_EXTINT_LEVEL   0
#define AT42QT1060_EIC_LINE   AVR32_EIC_INT1
#define AT42QT1060_KEY_0_NTHR_VALUE   15
#define AT42QT1060_KEY_1_NTHR_VALUE   15
#define AT42QT1060_KEY_2_NTHR_VALUE   15
#define AT42QT1060_KEY_3_NTHR_VALUE   15
#define AT42QT1060_KEY_4_NTHR_VALUE   15
#define AT42QT1060_KEY_5_NTHR_VALUE   10
#define AT42QT1060_KEY_MASK_VALUE   0x3F
#define AT42QT1060_TWI   (&AVR32_TWI)
#define AT42QT1060_TWI_ADDRESS   0x12
#define AT42QT1060_TWI_MASTER_SPEED   100000
#define AT42QT1060_TWI_SCL_FUNCTION   AVR32_TWI_SCL_0_0_FUNCTION
#define AT42QT1060_TWI_SCL_PIN   AVR32_TWI_SCL_0_0_PIN
#define AT42QT1060_TWI_SDA_FUNCTION   AVR32_TWI_SDA_0_0_FUNCTION
#define AT42QT1060_TWI_SDA_PIN   AVR32_TWI_SDA_0_0_PIN


Define Documentation

#define AT42QT1060_DETECT_INTEGRATOR_VALUE   3

Number of consecutive measurements that must be confirmed as having passed the key threshold before that key is registered as being in detect.

Definition at line 82 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_DETECT_PIN   AVR32_PIN_PA22

#define AT42QT1060_EIC_EXTINT_FUNCTION   AVR32_EIC_EXTINT_1_FUNCTION

Definition at line 52 of file conf_at42qt1060_example.h.

#define AT42QT1060_EIC_EXTINT_IRQ   AVR32_EIC_IRQ_1

Definition at line 53 of file conf_at42qt1060_example.h.

#define AT42QT1060_EIC_EXTINT_LEVEL   0

Priority group level of the EIC IRQ channel

Definition at line 56 of file conf_at42qt1060_example.h.

#define AT42QT1060_EIC_LINE   AVR32_EIC_INT1

Definition at line 54 of file conf_at42qt1060_example.h.

#define AT42QT1060_KEY_0_NTHR_VALUE   15

Threshold value for touch sensors. A measured value above this value will count as a detect

Definition at line 72 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_1_NTHR_VALUE   15

Definition at line 73 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_2_NTHR_VALUE   15

Definition at line 74 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_3_NTHR_VALUE   15

Definition at line 75 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_4_NTHR_VALUE   15

Definition at line 76 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_5_NTHR_VALUE   10

Definition at line 77 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_KEY_MASK_VALUE   0x3F

Definition at line 68 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_init().

#define AT42QT1060_TWI   (&AVR32_TWI)

#define AT42QT1060_TWI_ADDRESS   0x12

The I2C address is fixed for the AT42QT1060 device.

Definition at line 85 of file conf_at42qt1060_example.h.

Referenced by at42qt1060_get_status(), at42qt1060_read_reg(), at42qt1060_write_reg(), and twi_init().

#define AT42QT1060_TWI_MASTER_SPEED   100000

The AT42QT1060 can do max 100kHz on the TWI.

Definition at line 66 of file conf_at42qt1060_example.h.

Referenced by twi_init().

#define AT42QT1060_TWI_SCL_FUNCTION   AVR32_TWI_SCL_0_0_FUNCTION

Definition at line 60 of file conf_at42qt1060_example.h.

Referenced by twi_init().

#define AT42QT1060_TWI_SCL_PIN   AVR32_TWI_SCL_0_0_PIN

Definition at line 59 of file conf_at42qt1060_example.h.

Referenced by twi_init().

#define AT42QT1060_TWI_SDA_FUNCTION   AVR32_TWI_SDA_0_0_FUNCTION

Definition at line 62 of file conf_at42qt1060_example.h.

Referenced by twi_init().

#define AT42QT1060_TWI_SDA_PIN   AVR32_TWI_SDA_0_0_PIN

Definition at line 61 of file conf_at42qt1060_example.h.

Referenced by twi_init().


Generated on Fri Feb 19 02:24:03 2010 for AVR32 - AT42QT1060 Driver by  doxygen 1.5.5