ads1259
Dependents: Chromatograph_Mobile Chromatograph_Mobile
Diff: PGA280ADS1259.h
- Revision:
- 0:f9ba28ab9f4c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PGA280ADS1259.h Mon Jun 08 05:48:24 2020 +0000 @@ -0,0 +1,34 @@ +#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 + */