Use IQS62X sensor and move motor by detected angle

Dependencies:   DRV8830 IQS62x IQSDisplayTerminal UIT_ACM1602NI mbed

Fork of Nucleo_ACM1602_I2C_DC by Thinkbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IQS624_Init.h Source File

IQS624_Init.h

00001 /*
00002 * This file contains all the necessary settings for the IQS624 and this file can
00003 * be changed from the GUI or edited here
00004 * File:   IQS624_init.h
00005 * Author: Azoteq
00006 */
00007 
00008 #ifndef IQS624_INIT_H
00009 #define IQS624_INIT_H
00010 
00011 /* Change the Prox Sensor Settings */
00012 /* Memory Map Position 0x40 - 0x49 */
00013 #define PXS_SETTINGS_0                      0x01
00014 #define PXS_SETTINGS_1                      0x02
00015 #define PXS_SETTINGS_2                      0x5A
00016 #define PXS_SETTINGS_3                      0x18
00017 #define PXS_SETTINGS_4                      0xD0
00018 #define PXS_SETTINGS_5                      0x00
00019 #define PXS_SETTINGS_6                      0xE6
00020 #define PXS_SETTINGS_7                      0x9A
00021 #define PXS_SETTINGS_8                      0x81
00022 #define PXS_SETTINGS_9                      0x05
00023 
00024 /* Change the Prox UI Settings */
00025 /* Memory Map Position 0x50 - 0x54 */
00026 #define PXS_UI_SETTINGS_0                   0x14
00027 #define PXS_UI_SETTINGS_1                   0x20
00028 #define PXS_UI_SETTINGS_2                   0x14
00029 #define PXS_UI_SETTINGS_3                   0x20
00030 #define PXS_UI_SETTINGS_4                   0x28
00031 
00032 /* Change the HALL Sensor Settings */
00033 /* Memory Map Position 0x70 - 0x7A */
00034 #define HALL_SETTINGS_0                     0x04
00035 #define HALL_SETTINGS_1                     0x03
00036 #define HALL_SETTINGS_2                     0x93
00037 #define HALL_SETTINGS_3                     0x93
00038 #define HALL_SETTINGS_4                     0xAC
00039 #define HALL_SETTINGS_5                     0xA1
00040 #define HALL_SETTINGS_6                     0x0A
00041 #define HALL_SETTINGS_7                     0x09
00042 #define HALL_SETTINGS_8                     0x46
00043 #define HALL_SETTINGS_9                     0x70
00044 #define HALL_SETTINGS_10                    0xE5
00045 
00046 /* Change the Device & PMU Settings */
00047 /* Memory Map Position 0xD0 - 0xD7 */
00048 #define SYSTEM_SETTINGS                     0x08
00049 #define ACTIVE_CHS                          0x3F
00050 #define PMU_SETTINGS                        0x03
00051 #define REPORT_RATES_TIMINGS_0              0x10
00052 #define REPORT_RATES_TIMINGS_1              0x64
00053 #define REPORT_RATES_TIMINGS_2              0x0A
00054 #define REPORT_RATES_TIMINGS_3              0x14
00055 #define REPORT_RATES_TIMINGS_4              0x07
00056 
00057 #endif  /* IQS624_INIT_H */