accel16 2.0.0.0
Accel 16 Registers Settings

Settings for registers of Accel 16 Click driver. More...

Macros

#define ACCEL16_APPLICATION_FIFO   0xAA
 Accel 16 description setting.
 
#define ACCEL16_APPLICATION_REG   0xBB
 
#define ACCEL16_ROOM_TEMPERATURE   25.0
 Accel 16 temperature calculation values.
 
#define ACCEL16_TEMPERATURE_BIAS   350
 
#define ACCEL16_TEMPERATURE_RES   0.065
 
#define ACCEL16_TEMPERATURE_CAL_SAMPLE_NUM   100
 
#define ACCEL16_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ACCEL16_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Accel 16 Click driver.

Macro Definition Documentation

◆ ACCEL16_APPLICATION_FIFO

#define ACCEL16_APPLICATION_FIFO   0xAA

Accel 16 description setting.

Specified setting for description of Accel 16 Click driver.

◆ ACCEL16_APPLICATION_REG

#define ACCEL16_APPLICATION_REG   0xBB

◆ ACCEL16_ROOM_TEMPERATURE

#define ACCEL16_ROOM_TEMPERATURE   25.0

Accel 16 temperature calculation values.

Specified temperature calculation values of Accel 16 Click driver.

◆ ACCEL16_SET_DATA_SAMPLE_EDGE

#define ACCEL16_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with accel16_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ACCEL16_SET_DATA_SAMPLE_MIDDLE

#define ACCEL16_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ACCEL16_TEMPERATURE_BIAS

#define ACCEL16_TEMPERATURE_BIAS   350

◆ ACCEL16_TEMPERATURE_CAL_SAMPLE_NUM

#define ACCEL16_TEMPERATURE_CAL_SAMPLE_NUM   100

◆ ACCEL16_TEMPERATURE_RES

#define ACCEL16_TEMPERATURE_RES   0.065