37#ifndef DRIVER_ENS160_INTERRUPT_H
38#define DRIVER_ENS160_INTERRUPT_H
54#define ENS160_INTERRUPT_DEFAULT_PIN_POLARITY ENS160_PIN_POLARITY_LOW
55#define ENS160_INTERRUPT_DEFAULT_PIN_DRIVE ENS160_PIN_DRIVE_PUSH_PULL
56#define ENS160_INTERRUPT_DEFAULT_GENERAL_PURPOSE_READ_INTERRUPT_PIN_ASSERTED ENS160_BOOL_FALSE
57#define ENS160_INTERRUPT_DEFAULT_DATA_INTERRUPT_PIN_ASSERTED ENS160_BOOL_TRUE
100uint8_t
ens160_interrupt_read(uint8_t *aqi_uba, uint16_t *tvoc_ppb, uint16_t *eco2_ppm, uint16_t *etoh_ppb);
driver ens160 interface header file
ens160_address_t
ens160 address enumeration definition
ens160_interface_t
ens160 interface enumeration definition
uint8_t ens160_interrupt_init(ens160_interface_t interface, ens160_address_t addr_pin, void(*callback)(uint8_t type, uint16_t *dat))
interrupt example init
uint8_t ens160_interrupt_irq_handler(void)
interrupt irq
uint8_t ens160_interrupt_set_compensation(float celsius_deg, float percentage)
interrupt example set compensation
uint8_t ens160_interrupt_read(uint8_t *aqi_uba, uint16_t *tvoc_ppb, uint16_t *eco2_ppm, uint16_t *etoh_ppb)
interrupt example read
uint8_t ens160_interrupt_get_compensation(float *celsius_deg, float *percentage)
interrupt example get compensation
uint8_t ens160_interrupt_read_raw(float resistance_ohm[4])
interrupt example read raw
uint8_t ens160_interrupt_deinit(void)
interrupt example deinit