some handy dandy functions and constants for interfacing with ADS1198 from texas semiconductor corp

Dependents:   ECG_ADS1198_IITH

Committer:
joelbandi
Date:
Thu Apr 02 13:27:22 2015 +0000
Revision:
2:e3a7ca6b9405
Parent:
1:e81126a7a3e7
Child:
3:8c8ce127f100
fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
joelbandi 0:48e2ec1af2d9 1 #include "ADSlib/ADSlib.h"
joelbandi 0:48e2ec1af2d9 2
joelbandi 0:48e2ec1af2d9 3 unsigned char ADS_Default_Register_Settings [22] =
joelbandi 0:48e2ec1af2d9 4 {
joelbandi 0:48e2ec1af2d9 5 0x06, // Config1
joelbandi 0:48e2ec1af2d9 6 0x20, // Config2
joelbandi 0:48e2ec1af2d9 7 0xC0, // Config3
joelbandi 0:48e2ec1af2d9 8 0x00, // loff
joelbandi 0:48e2ec1af2d9 9 0x00, // ch1set
joelbandi 0:48e2ec1af2d9 10 0x00, // ch2set
joelbandi 0:48e2ec1af2d9 11 0x00, // ch3set
joelbandi 0:48e2ec1af2d9 12 0x00, // ch4set
joelbandi 0:48e2ec1af2d9 13 0x00, // ch5set
joelbandi 0:48e2ec1af2d9 14 0x00, // ch6set
joelbandi 0:48e2ec1af2d9 15 0x00, // ch7set
joelbandi 0:48e2ec1af2d9 16 0x00, // ch8set
joelbandi 0:48e2ec1af2d9 17 0x00, // rld_sensp
joelbandi 0:48e2ec1af2d9 18 0x00, // rld_sensm
joelbandi 0:48e2ec1af2d9 19 0x00, // loff_sensp
joelbandi 0:48e2ec1af2d9 20 0x00, // loff_sensm
joelbandi 0:48e2ec1af2d9 21 0x00, // loff_flip
joelbandi 0:48e2ec1af2d9 22 0x00, // gpio
joelbandi 0:48e2ec1af2d9 23 0x00, // pace
joelbandi 0:48e2ec1af2d9 24 0x00, // reserved
joelbandi 2:e3a7ca6b9405 25 0x00 // config4
joelbandi 0:48e2ec1af2d9 26 };
joelbandi 0:48e2ec1af2d9 27 /**************************************************************************/
joelbandi 0:48e2ec1af2d9 28
joelbandi 0:48e2ec1af2d9 29 unsigned char ADS_Default_Channel_Settings [8] =
joelbandi 0:48e2ec1af2d9 30 {
joelbandi 0:48e2ec1af2d9 31 0x00, // ch1set
joelbandi 0:48e2ec1af2d9 32 0x00, // ch2set
joelbandi 0:48e2ec1af2d9 33 0x00, // ch3set
joelbandi 0:48e2ec1af2d9 34 0x00, // ch4set
joelbandi 0:48e2ec1af2d9 35 0x00, // ch5set
joelbandi 0:48e2ec1af2d9 36 0x00, // ch6set
joelbandi 0:48e2ec1af2d9 37 0x00, // ch7set
joelbandi 2:e3a7ca6b9405 38 0x00 // ch8set
joelbandi 0:48e2ec1af2d9 39
joelbandi 0:48e2ec1af2d9 40 };
joelbandi 0:48e2ec1af2d9 41 /**************************************************************************/
joelbandi 0:48e2ec1af2d9 42
joelbandi 1:e81126a7a3e7 43 unsigned char ADS_Alternative_WCT_Settings [2] =
joelbandi 0:48e2ec1af2d9 44 {
joelbandi 0:48e2ec1af2d9 45 0x00, // wct1
joelbandi 2:e3a7ca6b9405 46 0x00 // wct2
joelbandi 0:48e2ec1af2d9 47
joelbandi 0:48e2ec1af2d9 48 };
joelbandi 0:48e2ec1af2d9 49 /**************************************************************************/