accel22 2.0.0.0
|
Accel 22 Click context object. More...
#include <accel22.h>
Data Fields | |
digital_in_t | int2 |
digital_in_t | int1 |
i2c_master_t | i2c |
spi_master_t | spi |
uint8_t | slave_address |
pin_name_t | chip_select |
accel22_drv_t | drv_sel |
accel22_master_io_t | write_f |
accel22_master_io_t | read_f |
float | resolution |
float | room_temp_offset |
Accel 22 Click context object.
Context object definition of Accel 22 Click driver.
pin_name_t chip_select |
Chip select pin descriptor (used for SPI driver).
accel22_drv_t drv_sel |
Master driver interface selector.
i2c_master_t i2c |
I2C driver object.
digital_in_t int1 |
Interrupt 1 pin.
digital_in_t int2 |
Interrupt 2 pin.
accel22_master_io_t read_f |
Master read function.
float resolution |
Accel range resolution.
float room_temp_offset |
Room temperature offset, calibrate using accel22_calibrate_temperature function.
uint8_t slave_address |
Device slave address (used for I2C driver).
spi_master_t spi |
SPI driver object.
accel22_master_io_t write_f |
Master write function.