Azoteq / Mbed 2 deprecated IQS620_HelloWorld Featured

Dependencies:   IQS620DisplayTerminal IQS62x mbed

Fork of IQS620_HelloWorld by Azq Dev

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IQS620_Init.h Source File

IQS620_Init.h

00001 /*
00002 * This file contains all the necessary settings for the IQS620 and this file can
00003 * be changed from the GUI or edited here
00004 * File:   IQS620_init.h
00005 * Author: Azoteq
00006 */
00007 
00008 #ifndef IQS620_INIT_H
00009 #define IQS620_INIT_H
00010 
00011 /* Change the Prox Sensor Settings 0 */
00012 /* Memory Map Position 0x40 - 0x4F */
00013 #define PXS_SETTINGS0_0                     0x01
00014 #define PXS_SETTINGS0_1                     0x02
00015 #define PXS_SETTINGS0_2                     0x03
00016 #define PXS_SETTINGS0_3                     0x57
00017 #define PXS_SETTINGS0_4                     0x57
00018 #define PXS_SETTINGS0_5                     0x1F
00019 #define PXS_SETTINGS0_6                     0x58
00020 #define PXS_SETTINGS0_7                     0xD0
00021 #define PXS_SETTINGS0_8                     0x10
00022 #define PXS_SETTINGS0_9                     0x06
00023 #define PXS_SETTINGS0_10                        0x06
00024 #define PXS_SETTINGS0_11                        0x06
00025 
00026 /* Change the Prox Sensor Settings 1 */
00027 /* Memory Map Position 0x50 - 0x59 */
00028 #define PXS_SETTINGS1_0                     0x00
00029 #define PXS_SETTINGS1_1                     0x01
00030 #define PXS_SETTINGS1_2                     0xD1
00031 #define PXS_SETTINGS1_3                     0xA0
00032 #define PXS_SETTINGS1_4                     0xAA
00033 #define PXS_SETTINGS1_5                     0x42
00034 #define PXS_SETTINGS1_6                     0x03
00035 #define PXS_SETTINGS1_7                     0x0C
00036 
00037 /* Change the Prox UI Settings */
00038 /* Memory Map Position 0x60 - 0x68 */
00039 #define PXS_UI_SETTINGS_0                   0x14
00040 #define PXS_UI_SETTINGS_1                   0x28
00041 #define PXS_UI_SETTINGS_2                   0x14
00042 #define PXS_UI_SETTINGS_3                   0x28
00043 #define PXS_UI_SETTINGS_4                   0x14
00044 #define PXS_UI_SETTINGS_5                   0x28
00045 #define PXS_UI_SETTINGS_6                   0x28
00046 
00047 /* Change the SAR UI Settings */
00048 /* Memory Map Position 0x70 - 0x75 */
00049 #define SAR_UI_SETTINGS_0                   0x14
00050 #define SAR_UI_SETTINGS_1                   0x28
00051 #define SAR_UI_SETTINGS_2                   0x05
00052 #define SAR_UI_SETTINGS_3                   0x14
00053 #define SAR_UI_SETTINGS_4                   0x28
00054 #define SAR_UI_SETTINGS_5                   0x28
00055 
00056 /* Change the Metal Detect UI Settings */
00057 /* Memory Map Position 0x80 - 0x83 */
00058 #define METAL_DETECT_UI_SETTINGS_0              0xA2
00059 #define METAL_DETECT_UI_SETTINGS_1              0x0A
00060 #define METAL_DETECT_UI_SETTINGS_2              0x14
00061 #define METAL_DETECT_UI_SETTINGS_3              0x28
00062 
00063 /* Change the HALL Sensor Settings */
00064 /* Memory Map Position 0x90 - 0x93 */
00065 #define HALL_SENSOR_SETTINGS_0              0x03
00066 #define HALL_SENSOR_SETTINGS_1              0x50
00067 #define HALL_SENSOR_SETTINGS_2              0x30
00068 #define HALL_SENSOR_SETTINGS_3              0x48
00069 
00070 /* Change the HALL Switch UI Settings */
00071 /* Memory Map Position 0xA0 - 0xA2 */
00072 #define HALL_UI_SETTINGS_0                  0x00
00073 #define HALL_UI_SETTINGS_1                  0x19
00074 #define HALL_UI_SETTINGS_2                  0x19
00075 
00076 /* Change the Temperature UI Settings */
00077 /* Memory Map Position 0xC0 - 0xC3 */
00078 #define TEMP_UI_SETTINGS_0                  0x00
00079 #define TEMP_UI_SETTINGS_1                  0x08
00080 #define TEMP_UI_SETTINGS_2                  0x79
00081 #define TEMP_UI_SETTINGS_3                  0xFF
00082 
00083 /* Change the Device & PMU Settings */
00084 /* Memory Map Position 0xD0 - 0xD7 */
00085 #define SYSTEM_SETTINGS                     0x08
00086 #define ACTIVE_CHS                          0x3F
00087 #define PMU_SETTINGS                        0x03
00088 #define REPORT_RATES_TIMINGS_0              0x10
00089 #define REPORT_RATES_TIMINGS_1              0x64
00090 #define REPORT_RATES_TIMINGS_2              0x0A
00091 #define REPORT_RATES_TIMINGS_3              0x14
00092 #define GLOBAL_EVENT_MASK                   0x00
00093 #define PWM_DUTY_CYCLE                  0x00
00094 
00095 #endif  /* IQS620_INIT_H */