38#ifndef DRIVER_ADS1115_INTERRUPT_H
39#define DRIVER_ADS1115_INTERRUPT_H
55#define ADS1115_INTERRUPT_DEFAULT_RANGE ADS1115_RANGE_6P144V
56#define ADS1115_INTERRUPT_DEFAULT_ALERT_PIN ADS1115_PIN_LOW
57#define ADS1115_INTERRUPT_DEFAULT_RATE ADS1115_RATE_128SPS
58#define ADS1115_INTERRUPT_DEFAULT_COMPARATOR_QUEUE ADS1115_COMPARATOR_QUEUE_2_CONV
73 float f_high_threshold,
float f_low_threshold);
driver ads1115 interface header file
ads1115_channel_t
ads1115 channel enumeration definition
ads1115_address_t
ads1115 address enumeration definition
uint8_t ads1115_interrupt_init(ads1115_address_t addr, ads1115_channel_t channel, ads1115_compare_t compare, float f_high_threshold, float f_low_threshold)
interrupt example init
uint8_t ads1115_interrupt_read(float *s)
interrupt example read
uint8_t ads1115_interrupt_deinit(void)
interrupt example deinit
ads1115_compare_t
ads1115 compare mode enumeration definition