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 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 |
Definition at line 50 of file conf_at42qt1060_example.h.
Referenced by at42qt1060_detect_int_handler(), and at42qt1060_register_int().
#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 |
#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) |
Definition at line 58 of file conf_at42qt1060_example.h.
Referenced by at42qt1060_get_status(), at42qt1060_read_reg(), at42qt1060_write_reg(), and twi_init().
#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 |
#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 |