ads1259

Dependents:   Chromatograph_Mobile Chromatograph_Mobile

PGA280ADS1259.h

Committer:
vitlog
Date:
2020-06-08
Revision:
0:f9ba28ab9f4c

File content as of revision 0:f9ba28ab9f4c:

#ifndef _PGA280_ADS1259_ARDUINO_H    /* Guard against multiple inclusion */
#define _PGA280_ADS1259_ARDUINO_H

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>

/* TODO:  Include other files here if needed. */


/* Provide C++ Compatibility */
#ifdef __cplusplus
extern "C" {
#endif

    /*"ch" - адрес устройства на плате ТЭД-2*/
    
void pga280_ads1259_init ( unsigned char ch );                                  //инициализация(сброс) устройства на плате ТЭД-2 по адресу "ch"
void pga280_ads1259_setup_pga280 ( unsigned char ch );                          //настройка микросхемы PGA280
void pga280_ads1259_setup_ads1259 ( unsigned char ch );                         //настройка ADS1259
unsigned char test_read_reg_ads1259 ( unsigned char ch );
long ads1259_readData ( unsigned char ch );

    /* Provide C++ Compatibility */
#ifdef __cplusplus
}
#endif

#endif /* _EXAMPLE_FILE_NAME_H */

/* *****************************************************************************
 End of File
 */