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.
ADSlib.h@3:8c8ce127f100, 2015-04-05 (annotated)
- Committer:
- joelbandi
- Date:
- Sun Apr 05 20:33:43 2015 +0000
- Revision:
- 3:8c8ce127f100
- Parent:
- 2:e3a7ca6b9405
- Child:
- 4:b251aa7b7c86
SUPER FIX;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joelbandi | 2:e3a7ca6b9405 | 1 | #ifndef MBED_ADSlib_H |
joelbandi | 2:e3a7ca6b9405 | 2 | #define MBED_ADSlib_H |
joelbandi | 0:48e2ec1af2d9 | 3 | |
joelbandi | 0:48e2ec1af2d9 | 4 | //Word definition begin here |
joelbandi | 0:48e2ec1af2d9 | 5 | #define WAKEUP 0x02 |
joelbandi | 0:48e2ec1af2d9 | 6 | #define STANDBY 0x04 |
joelbandi | 0:48e2ec1af2d9 | 7 | #define RESET 0x06 |
joelbandi | 0:48e2ec1af2d9 | 8 | #define START 0x08 |
joelbandi | 0:48e2ec1af2d9 | 9 | #define STOP 0x0A |
joelbandi | 0:48e2ec1af2d9 | 10 | #define RDATAC 0x10 |
joelbandi | 0:48e2ec1af2d9 | 11 | #define SDATAC 0x11 |
joelbandi | 0:48e2ec1af2d9 | 12 | #define WCT_setting_regAdress 0x18 |
joelbandi | 3:8c8ce127f100 | 13 | #define W_CONFIG1 0x41 |
joelbandi | 3:8c8ce127f100 | 14 | #define W_CONFIG3 0x43 |
joelbandi | 3:8c8ce127f100 | 15 | #define W_CHnSET 0x45 |
joelbandi | 3:8c8ce127f100 | 16 | |
joelbandi | 0:48e2ec1af2d9 | 17 | |
joelbandi | 0:48e2ec1af2d9 | 18 | /*-----------------------------*/ |
joelbandi | 0:48e2ec1af2d9 | 19 | |
joelbandi | 0:48e2ec1af2d9 | 20 | |
joelbandi | 0:48e2ec1af2d9 | 21 | |
joelbandi | 0:48e2ec1af2d9 | 22 | |
joelbandi | 0:48e2ec1af2d9 | 23 | |
joelbandi | 0:48e2ec1af2d9 | 24 | //Function declarations start here |
joelbandi | 3:8c8ce127f100 | 25 | void pause_clk(int k); |
joelbandi | 3:8c8ce127f100 | 26 | void pause_sclk(int k); |
joelbandi | 3:8c8ce127f100 | 27 | ////////////////////////////////////// |
joelbandi | 3:8c8ce127f100 | 28 | |
joelbandi | 3:8c8ce127f100 | 29 | // data variables start here// |
joelbandi | 3:8c8ce127f100 | 30 | extern unsigned char ADS_Default_Channel_Settings [8]; |
joelbandi | 3:8c8ce127f100 | 31 | //extern unsigned char Input_dummy_byte [19]; |
joelbandi | 3:8c8ce127f100 | 32 | extern unsigned char ADS_Default_Register_Settings [22]; |
joelbandi | 0:48e2ec1af2d9 | 33 | |
joelbandi | 0:48e2ec1af2d9 | 34 | #endif |