Azoteq / Mbed 2 deprecated IQS622_HelloWorld

Dependencies:   IQS622DisplayTerminal IQS62x mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IQS622_Init.h Source File

IQS622_Init.h

00001 /*
00002 * This file contains all the necessary settings for the IQS622 and this file can
00003 * be changed from the GUI or edited here
00004 * File:   IQS622_init.h
00005 * Author: Azoteq
00006 */
00007 
00008 #ifndef IQS622_INIT_H
00009 #define IQS622_INIT_H
00010 
00011 /* Change the Prox Sensor Settings */
00012 /* Memory Map Position 0x40 - 0x4D */
00013 #define PXS_SETTINGS_0                      0x01
00014 #define PXS_SETTINGS_1                      0x02
00015 #define PXS_SETTINGS_2                      0x57
00016 #define PXS_SETTINGS_3                      0x57
00017 #define PXS_SETTINGS_4                      0x18
00018 #define PXS_SETTINGS_5                      0xD0
00019 #define PXS_SETTINGS_6                      0x06
00020 #define PXS_SETTINGS_7                      0x06
00021 #define PXS_SETTINGS_8                      0x00
00022 #define PXS_SETTINGS_9                      0x01
00023 #define PXS_SETTINGS_10                     0x22
00024 #define PXS_SETTINGS_11                     0xB1
00025 #define PXS_SETTINGS_12                     0x81
00026 #define PXS_SETTINGS_13                     0x03
00027 
00028 /* Change the Prox UI Settings */
00029 /* Memory Map Position 0x50 - 0x54 */
00030 #define PXS_UI_SETTINGS_0                   0x14
00031 #define PXS_UI_SETTINGS_1                   0x20
00032 #define PXS_UI_SETTINGS_2                   0x14
00033 #define PXS_UI_SETTINGS_3                   0x25
00034 #define PXS_UI_SETTINGS_4                   0x28
00035 
00036 /* Change the SAR UI Settings */
00037 /* Memory Map Position 0x60 - 0x65 */
00038 #define SAR_UI_SETTINGS_0                   0x14
00039 #define SAR_UI_SETTINGS_1                   0x25
00040 #define SAR_UI_SETTINGS_2                   0x05
00041 #define SAR_UI_SETTINGS_3                   0x14
00042 #define SAR_UI_SETTINGS_4                   0x20
00043 #define SAR_UI_SETTINGS_5                   0x28
00044 
00045 /* Change the Light Sensor Settings */
00046 /* Memory Map Position 0x70 - 0x75 */
00047 #define LIGHT_SENSOR_SETTINGS_0             0x14
00048 #define LIGHT_SENSOR_SETTINGS_1             0x81
00049 #define LIGHT_SENSOR_SETTINGS_2             0x07
00050 #define LIGHT_SENSOR_SETTINGS_3             0x81
00051 #define LIGHT_SENSOR_SETTINGS_4             0x01
00052 #define LIGHT_SENSOR_SETTINGS_5             0x01
00053 
00054 /* Change the Active IR UI Settings */
00055 /* Memory Map Position 0x90 - 0x92 */
00056 #define IR_UI_SETTINGS_0                    0x11
00057 #define IR_UI_SETTINGS_1                    0x19
00058 #define IR_UI_SETTINGS_2                    0x19
00059 #define IR_UI_SETTINGS_3                    0x01
00060 
00061 /* Change the HALL Sensor Settings */
00062 /* Memory Map Position 0xA0 - 0xA3 */
00063 #define HALL_SENSOR_SETTINGS_0              0x03
00064 #define HALL_SENSOR_SETTINGS_1              0x50
00065 #define HALL_SENSOR_SETTINGS_2              0x20
00066 #define HALL_SENSOR_SETTINGS_3              0x4A
00067 
00068 /* Change the HALL Switch UI Settings */
00069 /* Memory Map Position 0xB0 - 0xB2 */
00070 #define HALL_UI_SETTINGS_0                  0x11
00071 #define HALL_UI_SETTINGS_1                  0x19
00072 #define HALL_UI_SETTINGS_2                  0x19
00073 
00074 /* Change the Device & PMU Settings */
00075 /* Memory Map Position 0xD0 - 0xD7 */
00076 #define SYSTEM_SETTINGS                     0x08
00077 #define ACTIVE_CHS                          0x7F
00078 #define PMU_SETTINGS                        0x03
00079 #define REPORT_RATES_TIMINGS_0              0x10
00080 #define REPORT_RATES_TIMINGS_1              0x64
00081 #define REPORT_RATES_TIMINGS_2              0x0A
00082 #define REPORT_RATES_TIMINGS_3              0x14
00083 #define GLOBAL_EVENT_MASK                   0x00
00084 
00085 #endif  /* IQS622_INIT_H */