accel4 2.0.0.0
Accel 4 Registers Settings

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

Macros

#define ACCEL4_DEVICE_ID   0x84
 Accel 4 identification value.
 
#define ACCEL4_SET_DEV_ADDR   0x18
 Accel 4 device address setting.
 
#define ACCEL4_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ACCEL4_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Accel 4 Click driver.

Macro Definition Documentation

◆ ACCEL4_DEVICE_ID

#define ACCEL4_DEVICE_ID   0x84

Accel 4 identification value.

Specified identification of Accel 4 Click driver.

◆ ACCEL4_SET_DATA_SAMPLE_EDGE

#define ACCEL4_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 accel4_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ACCEL4_SET_DATA_SAMPLE_MIDDLE

#define ACCEL4_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ACCEL4_SET_DEV_ADDR

#define ACCEL4_SET_DEV_ADDR   0x18

Accel 4 device address setting.

Specified setting for device slave address selection of Accel 4 Click driver.