accel16  2.0.0.0
Macros
Accel 16 Registers Settings

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

Macros

#define ACCEL16_APPLICATION_FIFO   0xAA
 Accel 16 description setting. More...
 
#define ACCEL16_APPLICATION_REG   0xBB
 
#define ACCEL16_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection. More...
 
#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_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