Vitaliy Loginov / PGA280_ADS1259

Dependents:   Chromatograph_Mobile Chromatograph_Mobile

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PGA280ADS1259.h Source File

PGA280ADS1259.h

00001 #ifndef _PGA280_ADS1259_ARDUINO_H    /* Guard against multiple inclusion */
00002 #define _PGA280_ADS1259_ARDUINO_H
00003 
00004 #include <stdint.h>
00005 #include <stdbool.h>
00006 #include <stddef.h>
00007 #include <stdlib.h>
00008 
00009 /* TODO:  Include other files here if needed. */
00010 
00011 
00012 /* Provide C++ Compatibility */
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017     /*"ch" - адрес устройства на плате ТЭД-2*/
00018     
00019 void pga280_ads1259_init ( unsigned char ch );                                  //инициализация(сброс) устройства на плате ТЭД-2 по адресу "ch"
00020 void pga280_ads1259_setup_pga280 ( unsigned char ch );                          //настройка микросхемы PGA280
00021 void pga280_ads1259_setup_ads1259 ( unsigned char ch );                         //настройка ADS1259
00022 unsigned char test_read_reg_ads1259 ( unsigned char ch );
00023 long ads1259_readData ( unsigned char ch );
00024 
00025     /* Provide C++ Compatibility */
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 
00030 #endif /* _EXAMPLE_FILE_NAME_H */
00031 
00032 /* *****************************************************************************
00033  End of File
00034  */