Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
sdcard.h@10:aeff3309002a, 2017-05-03 (annotated)
- Committer:
- nidhinvarghese
- Date:
- Wed May 03 05:32:37 2017 +0000
- Revision:
- 10:aeff3309002a
- Parent:
- 8:adf2ba7e6412
- Child:
- 14:f5c62d30c6fc
May2_2017(Nidhin); Stores 2 file data to 1 bp file and delete 2 Temp File.; BP value rounded Result displayed as int.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nidhinvarghese | 8:adf2ba7e6412 | 1 | /* |
nikitateggi | 1:8316c23ec6b9 | 2 | #ifndef SDCARD_H_ |
nikitateggi | 1:8316c23ec6b9 | 3 | #define SDCARD_H_ |
nikitateggi | 1:8316c23ec6b9 | 4 | |
nikitateggi | 1:8316c23ec6b9 | 5 | void sd_open_ECGfile(int pid); |
nikitateggi | 2:3b7b71bfc941 | 6 | void sd_open_ECGfilee(int pid); |
nikitateggi | 1:8316c23ec6b9 | 7 | void sd_open_GLCfile(int pid); |
nikitateggi | 2:3b7b71bfc941 | 8 | void sd_open_GLCfilee(int pid); |
nikitateggi | 4:6bd81bb1790d | 9 | void sd_open_BPfilee(int pid); |
nikitateggi | 1:8316c23ec6b9 | 10 | void sd_open_BPfile(int pid); |
nikitateggi | 1:8316c23ec6b9 | 11 | void sd_write (int value); |
nikitateggi | 1:8316c23ec6b9 | 12 | void sd_close(); |
nikitateggi | 1:8316c23ec6b9 | 13 | |
nidhinvarghese | 8:adf2ba7e6412 | 14 | #endif |
nidhinvarghese | 8:adf2ba7e6412 | 15 | */ |
nidhinvarghese | 8:adf2ba7e6412 | 16 | |
nidhinvarghese | 8:adf2ba7e6412 | 17 | //-----------------------------------------------new ADD NIDHIN 28/4/2017----------------- |
nidhinvarghese | 8:adf2ba7e6412 | 18 | #ifndef SDCARD_H_ |
nidhinvarghese | 8:adf2ba7e6412 | 19 | #define SDCARD_H_ |
nidhinvarghese | 8:adf2ba7e6412 | 20 | |
nidhinvarghese | 8:adf2ba7e6412 | 21 | void sd_open_ECGfile(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 22 | void sd_open_ECGfilee(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 23 | void sd_open_GLCfile(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 24 | void sd_open_GLCfilee(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 25 | void sd_open_BPfilee(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 26 | void sd_open_BPfile(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 27 | void sd_write (int value); |
nidhinvarghese | 8:adf2ba7e6412 | 28 | |
nidhinvarghese | 8:adf2ba7e6412 | 29 | //void sd_BP_ppgwrite (uint32_t value); |
nidhinvarghese | 8:adf2ba7e6412 | 30 | //void sd_BP_ecgwrite (int value); |
nidhinvarghese | 8:adf2ba7e6412 | 31 | |
nidhinvarghese | 8:adf2ba7e6412 | 32 | FILE *sd_BP_ecgwrite (int *fpdrum11); |
nidhinvarghese | 8:adf2ba7e6412 | 33 | FILE *sd_BP_ppgwrite (uint32_t *fpdrum21); |
nidhinvarghese | 8:adf2ba7e6412 | 34 | |
nidhinvarghese | 8:adf2ba7e6412 | 35 | void sd_open_BP_ECGfile(int pid); //added to write ECG to seperate file BP |
nidhinvarghese | 8:adf2ba7e6412 | 36 | void sd_open_BP_PPGfile(int pid); //added to write PPG to seperate file BP |
nidhinvarghese | 8:adf2ba7e6412 | 37 | |
nidhinvarghese | 8:adf2ba7e6412 | 38 | void sd_close(); |
nidhinvarghese | 8:adf2ba7e6412 | 39 | |
nidhinvarghese | 8:adf2ba7e6412 | 40 | int sd_BP_ECGMAX(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 41 | int sd_BP_PPGMAX(int pid); |
nidhinvarghese | 8:adf2ba7e6412 | 42 | //void sd_close1(); |
nidhinvarghese | 8:adf2ba7e6412 | 43 | |
nidhinvarghese | 10:aeff3309002a | 44 | void create_single_BPfile(int pid); //Function to create 1 file from 2 temp BP file (ECG &PPG) |
nidhinvarghese | 10:aeff3309002a | 45 | |
nidhinvarghese | 8:adf2ba7e6412 | 46 | #endif |
nidhinvarghese | 8:adf2ba7e6412 | 47 | |
nidhinvarghese | 8:adf2ba7e6412 | 48 | //----------------------------------------------------28/4/2017------------------------ |