Ultra Low Power (5uA) I2C Multi-Function Sensor with Light Sensor + Active (Reflective) IR + Touch + Hall Effect Sensor

Dependencies:   IQS622DisplayTerminal IQS62x mbed

Hello World! From Azoteq's IQS622 Ultra Low Power Multi-Sensor


This is a demo program for the Azoteq IQS622 ultra low power multi function sensor.

More details on the IQS622 component pages here:

Components / IQS622
Azoteq IQS622 ultra low power sensor for ambient light, active (reflective) IR, magnetic field, capacitance and inductive proximity. Empowers next-generation user interfaces.


Low Cost Evaluation Board for Azoteq IQS622 Ultra Low Power (5uA) I2C Multi-Function Sensor with Light Sensor, Active (Reflective) IR, Touch and Hall Effect Sensor

Committer:
AzqDev
Date:
Sat May 13 01:25:40 2017 +0000
Revision:
4:2c5ea9dc0662
Child:
5:c88aa2de6f61
Added IQS622_Init.h processing

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AzqDev 4:2c5ea9dc0662 1 /*
AzqDev 4:2c5ea9dc0662 2 * This file contains all the necessary settings for the IQS624 and this file can
AzqDev 4:2c5ea9dc0662 3 * be changed from the GUI or edited here
AzqDev 4:2c5ea9dc0662 4 * File: IQS624_init.h
AzqDev 4:2c5ea9dc0662 5 * Author: Azoteq
AzqDev 4:2c5ea9dc0662 6 */
AzqDev 4:2c5ea9dc0662 7
AzqDev 4:2c5ea9dc0662 8 #ifndef IQS624_INIT_H
AzqDev 4:2c5ea9dc0662 9 #define IQS624_INIT_H
AzqDev 4:2c5ea9dc0662 10
AzqDev 4:2c5ea9dc0662 11 /* Change the Prox Sensor Settings */
AzqDev 4:2c5ea9dc0662 12 /* Memory Map Position 0x40 - 0x49 */
AzqDev 4:2c5ea9dc0662 13 #define PXS_SETTINGS_0 0x01
AzqDev 4:2c5ea9dc0662 14 #define PXS_SETTINGS_1 0x02
AzqDev 4:2c5ea9dc0662 15 #define PXS_SETTINGS_2 0x5A
AzqDev 4:2c5ea9dc0662 16 #define PXS_SETTINGS_3 0x18
AzqDev 4:2c5ea9dc0662 17 #define PXS_SETTINGS_4 0xD0
AzqDev 4:2c5ea9dc0662 18 #define PXS_SETTINGS_5 0x00
AzqDev 4:2c5ea9dc0662 19 #define PXS_SETTINGS_6 0xE6
AzqDev 4:2c5ea9dc0662 20 #define PXS_SETTINGS_7 0x9A
AzqDev 4:2c5ea9dc0662 21 #define PXS_SETTINGS_8 0x81
AzqDev 4:2c5ea9dc0662 22 #define PXS_SETTINGS_9 0x05
AzqDev 4:2c5ea9dc0662 23
AzqDev 4:2c5ea9dc0662 24 /* Change the Prox UI Settings */
AzqDev 4:2c5ea9dc0662 25 /* Memory Map Position 0x50 - 0x54 */
AzqDev 4:2c5ea9dc0662 26 #define PXS_UI_SETTINGS_0 0x14
AzqDev 4:2c5ea9dc0662 27 #define PXS_UI_SETTINGS_1 0x20
AzqDev 4:2c5ea9dc0662 28 #define PXS_UI_SETTINGS_2 0x14
AzqDev 4:2c5ea9dc0662 29 #define PXS_UI_SETTINGS_3 0x20
AzqDev 4:2c5ea9dc0662 30 #define PXS_UI_SETTINGS_4 0x28
AzqDev 4:2c5ea9dc0662 31
AzqDev 4:2c5ea9dc0662 32 /* Change the HALL Sensor Settings */
AzqDev 4:2c5ea9dc0662 33 /* Memory Map Position 0x70 - 0x7A */
AzqDev 4:2c5ea9dc0662 34 #define HALL_SETTINGS_0 0x04
AzqDev 4:2c5ea9dc0662 35 #define HALL_SETTINGS_1 0x03
AzqDev 4:2c5ea9dc0662 36 #define HALL_SETTINGS_2 0x93
AzqDev 4:2c5ea9dc0662 37 #define HALL_SETTINGS_3 0x93
AzqDev 4:2c5ea9dc0662 38 #define HALL_SETTINGS_4 0xAC
AzqDev 4:2c5ea9dc0662 39 #define HALL_SETTINGS_5 0xA1
AzqDev 4:2c5ea9dc0662 40 #define HALL_SETTINGS_6 0x0A
AzqDev 4:2c5ea9dc0662 41 #define HALL_SETTINGS_7 0x09
AzqDev 4:2c5ea9dc0662 42 #define HALL_SETTINGS_8 0x46
AzqDev 4:2c5ea9dc0662 43 #define HALL_SETTINGS_9 0x70
AzqDev 4:2c5ea9dc0662 44 #define HALL_SETTINGS_10 0xE5
AzqDev 4:2c5ea9dc0662 45
AzqDev 4:2c5ea9dc0662 46 /* Change the Device & PMU Settings */
AzqDev 4:2c5ea9dc0662 47 /* Memory Map Position 0xD0 - 0xD7 */
AzqDev 4:2c5ea9dc0662 48 #define SYSTEM_SETTINGS 0x08
AzqDev 4:2c5ea9dc0662 49 #define ACTIVE_CHS 0x3F
AzqDev 4:2c5ea9dc0662 50 #define PMU_SETTINGS 0x03
AzqDev 4:2c5ea9dc0662 51 #define REPORT_RATES_TIMINGS_0 0x10
AzqDev 4:2c5ea9dc0662 52 #define REPORT_RATES_TIMINGS_1 0x64
AzqDev 4:2c5ea9dc0662 53 #define REPORT_RATES_TIMINGS_2 0x0A
AzqDev 4:2c5ea9dc0662 54 #define REPORT_RATES_TIMINGS_3 0x14
AzqDev 4:2c5ea9dc0662 55 #define REPORT_RATES_TIMINGS_4 0x07
AzqDev 4:2c5ea9dc0662 56
AzqDev 4:2c5ea9dc0662 57 #endif /* IQS624_INIT_H */