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: max32630fthr Adafruit_FeatherOLED USBDevice
EcgComm_Defines.h
00001 /******************************************************************************* 00002 * Copyright (C) Maxim Integrated Products, Inc., All rights Reserved. 00003 * 00004 * This software is protected by copyright laws of the United States and 00005 * of foreign countries. This material may also be protected by patent laws 00006 * and technology transfer regulations of the United States and of foreign 00007 * countries. This software is furnished under a license agreement and/or a 00008 * nondisclosure agreement and may only be used or reproduced in accordance 00009 * with the terms of those agreements. Dissemination of this information to 00010 * any party or parties not specified in the license agreement and/or 00011 * nondisclosure agreement is expressly prohibited. 00012 * 00013 * The above copyright notice and this permission notice shall be included 00014 * in all copies or substantial portions of the Software. 00015 * 00016 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00017 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00018 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00019 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 00020 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 00021 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00022 * OTHER DEALINGS IN THE SOFTWARE. 00023 * 00024 * Except as contained in this notice, the name of Maxim Integrated 00025 * Products, Inc. shall not be used except as stated in the Maxim Integrated 00026 * Products, Inc. Branding Policy. 00027 * 00028 * The mere transfer of this software does not imply any licenses 00029 * of trade secrets, proprietary technology, copyrights, patents, 00030 * trademarks, maskwork rights, or any other form of intellectual 00031 * property whatsoever. Maxim Integrated Products, Inc. retains all 00032 * ownership rights. 00033 ******************************************************************************* 00034 */ 00035 00036 #ifndef _ECGCOMM_DEFINES_H 00037 #define _ECGCOMM_DEFINES_H 00038 00039 00040 00041 00042 /// Initialization values for ECG_InitStart() 00043 #define EN_ECG 0b1 00044 #define OPENP 0b0 00045 #define OPENN 0b0 00046 #define POL 0b0 00047 #define CALP_SEL 0b00 00048 #define CALN_SEL 0b00 00049 #define E_FIT 15 00050 #define RATE 2 00051 #define GAIN 0b00 00052 #define DHPF 0b01 00053 #define DLPF 0b01 00054 00055 // Default Initialization Parameters for RtoR_InitStart 00056 #define EN_RTOR 0x01 00057 #define WNDW 0x03 00058 #define GAIN_RTOR 0x0F 00059 #define PAVG 0x02 00060 #define PTSF 0x03 00061 #define HOFF 0x20 00062 #define RAVG 0x02 00063 #define RHSF 0x04 00064 #define CLR_RRINT 0x01 00065 00066 // Optimal Initialization Parameters for RtoR_InitStart 00067 #define EN_RTOR_OP 0x01 00068 #define WNDW_OP 0x02 00069 #define GAIN_RTOR_OP 0x06 00070 #define PAVG_OP 0x01 00071 #define PTSF_OP 0x06 00072 #define HOFF_OP 0x1E 00073 #define RAVG_OP 0x02 00074 #define RHSF_OP 0x00 00075 #define CLR_RRINT_OP 0x01 00076 00077 00078 // Default Initialization Parameters for INT_assignment 00079 #define EN_ENINT_LOC 0x01 00080 #define EN_EOVF_LOC 0x00 00081 #define EN_FSTINT_LOC 0x00 00082 #define EN_DCLOFFINT_LOC 0x02 00083 #define EN_BINT_LOC 0x01 00084 #define EN_BOVF_LOC 0x00 00085 #define EN_BOVER_LOC 0x02 00086 #define EN_BUNDR_LOC 0x02 00087 #define EN_BCGMON_LOC 0x00 00088 #define EN_PINT_LOC 0x00 00089 #define EN_POVF_LOC 0x00 00090 #define EN_PEDGE_LOC 0x00 00091 #define EN_LONINT_LOC 0x00 00092 #define EN_RRINT_LOC 0x02 00093 #define EN_SAMP_LOC 0x00 00094 #define INTB_TYPE 0x03 00095 #define INT2B_TYPE 0x03 00096 00097 00098 00099 00100 #endif
Generated on Tue Jul 12 2022 20:09:28 by
