ads1259

Dependents:   Chromatograph_Mobile Chromatograph_Mobile

Committer:
vitlog
Date:
Mon Jun 22 09:51:45 2020 +0000
Revision:
1:533ce2102fcc
Parent:
0:f9ba28ab9f4c
ne pomnyu chto pomenyal

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vitlog 0:f9ba28ab9f4c 1 #ifndef _PGA280_ADS1259_ARDUINO_H /* Guard against multiple inclusion */
vitlog 0:f9ba28ab9f4c 2 #define _PGA280_ADS1259_ARDUINO_H
vitlog 0:f9ba28ab9f4c 3
vitlog 0:f9ba28ab9f4c 4 #include <stdint.h>
vitlog 0:f9ba28ab9f4c 5 #include <stdbool.h>
vitlog 0:f9ba28ab9f4c 6 #include <stddef.h>
vitlog 0:f9ba28ab9f4c 7 #include <stdlib.h>
vitlog 0:f9ba28ab9f4c 8
vitlog 0:f9ba28ab9f4c 9 /* TODO: Include other files here if needed. */
vitlog 0:f9ba28ab9f4c 10
vitlog 0:f9ba28ab9f4c 11
vitlog 0:f9ba28ab9f4c 12 /* Provide C++ Compatibility */
vitlog 0:f9ba28ab9f4c 13 #ifdef __cplusplus
vitlog 0:f9ba28ab9f4c 14 extern "C" {
vitlog 0:f9ba28ab9f4c 15 #endif
vitlog 0:f9ba28ab9f4c 16
vitlog 0:f9ba28ab9f4c 17 /*"ch" - адрес устройства на плате ТЭД-2*/
vitlog 0:f9ba28ab9f4c 18
vitlog 0:f9ba28ab9f4c 19 void pga280_ads1259_init ( unsigned char ch ); //инициализация(сброс) устройства на плате ТЭД-2 по адресу "ch"
vitlog 0:f9ba28ab9f4c 20 void pga280_ads1259_setup_pga280 ( unsigned char ch ); //настройка микросхемы PGA280
vitlog 0:f9ba28ab9f4c 21 void pga280_ads1259_setup_ads1259 ( unsigned char ch ); //настройка ADS1259
vitlog 0:f9ba28ab9f4c 22 unsigned char test_read_reg_ads1259 ( unsigned char ch );
vitlog 0:f9ba28ab9f4c 23 long ads1259_readData ( unsigned char ch );
vitlog 0:f9ba28ab9f4c 24
vitlog 0:f9ba28ab9f4c 25 /* Provide C++ Compatibility */
vitlog 0:f9ba28ab9f4c 26 #ifdef __cplusplus
vitlog 0:f9ba28ab9f4c 27 }
vitlog 0:f9ba28ab9f4c 28 #endif
vitlog 0:f9ba28ab9f4c 29
vitlog 0:f9ba28ab9f4c 30 #endif /* _EXAMPLE_FILE_NAME_H */
vitlog 0:f9ba28ab9f4c 31
vitlog 0:f9ba28ab9f4c 32 /* *****************************************************************************
vitlog 0:f9ba28ab9f4c 33 End of File
vitlog 0:f9ba28ab9f4c 34 */