Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem app epson mbed msp430 pl tests
mpr121.h
00001 /** 00002 * @brief MPR121 Register Defines 00003 */ 00004 00005 #ifndef MPR121_H 00006 #define MPR121_H 00007 00008 #define MHD_R 0x2B 00009 #define NHD_R 0x2C 00010 #define NCL_R 0x2D 00011 #define FDL_R 0x2E 00012 #define MHD_F 0x2F 00013 #define NHD_F 0x30 00014 #define NCL_F 0x31 00015 #define FDL_F 0x32 00016 #define ELE0_T 0x41 00017 #define ELE0_R 0x42 00018 #define ELE1_T 0x43 00019 #define ELE1_R 0x44 00020 #define ELE2_T 0x45 00021 #define ELE2_R 0x46 00022 #define ELE3_T 0x47 00023 #define ELE3_R 0x48 00024 #define ELE4_T 0x49 00025 #define ELE4_R 0x4A 00026 #define ELE5_T 0x4B 00027 #define ELE5_R 0x4C 00028 #define ELE6_T 0x4D 00029 #define ELE6_R 0x4E 00030 #define ELE7_T 0x4F 00031 #define ELE7_R 0x50 00032 #define ELE8_T 0x51 00033 #define ELE8_R 0x52 00034 #define ELE9_T 0x53 00035 #define ELE9_R 0x54 00036 #define ELE10_T 0x55 00037 #define ELE10_R 0x56 00038 #define ELE11_T 0x57 00039 #define ELE11_R 0x58 00040 #define FIL_CFG 0x5D 00041 #define ELE_CFG 0x5E 00042 #define GPIO_CTRL0 0x73 00043 #define GPIO_CTRL1 0x74 00044 #define GPIO_DATA 0x75 00045 #define GPIO_DIR 0x76 00046 #define GPIO_EN 0x77 00047 #define GPIO_SET 0x78 00048 #define GPIO_CLEAR 0x79 00049 #define GPIO_TOGGLE 0x7A 00050 #define ATO_CFG0 0x7B 00051 #define ATO_CFGU 0x7D 00052 #define ATO_CFGL 0x7E 00053 #define ATO_CFGT 0x7F 00054 00055 00056 // Global Constants 00057 #define TOU_THRESH 0x06 00058 #define REL_THRESH 0x0A 00059 00060 #endif // MPR121_H
Generated on Tue Jul 12 2022 21:14:35 by
