accel16 2.0.0.0
accel16_t Struct Reference

Accel 16 Click context object. More...

#include <accel16.h>

Data Fields

digital_in_t int2
 
digital_in_t int1
 
spi_master_t spi
 
pin_name_t chip_select
 
float resolution
 
float room_temp_offset
 
uint8_t application_type
 

Detailed Description

Accel 16 Click context object.

Context object definition of Accel 16 Click driver.

Field Documentation

◆ application_type

uint8_t application_type

FIFO or REG application type.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ int1

digital_in_t int1

Interrupt 1.

◆ int2

digital_in_t int2

Interrupt 2.

◆ resolution

float resolution

Accel range resolution.

◆ room_temp_offset

float room_temp_offset

Room temperature offset, calibrate using accel16_calibrate_temperature function.

◆ spi

spi_master_t spi

SPI driver object.


The documentation for this struct was generated from the following file: