inclinometer3  2.1.0.0
Macros
Inclinometer 3 Registers Settings

Settings for registers of Inclinometer 3 Click driver. More...

Macros

#define INCLINOMETER3_WHOAMI   0xE0
 Inclinometer 3 device ID data value. More...
 
#define INCLINOMETER3_SEL_BANK_0   0
 Inclinometer 3 memory banks and modes selection. More...
 
#define INCLINOMETER3_SEL_BANK_1   1
 
#define INCLINOMETER3_SEL_MODE_A   0
 
#define INCLINOMETER3_SEL_MODE_B   1
 
#define INCLINOMETER3_ACC_SENS_MODE_A   32.768f
 Inclinometer 3 acceel and temperature sensitivity data values. More...
 
#define INCLINOMETER3_ACC_SENS_MODE_B   16.384f
 
#define INCLINOMETER3_TEMP_SENS   18.9f
 
#define INCLINOMETER3_TEMP_CONVERT   273.0f
 
#define INCLINOMETER3_RTN_STS_PROGRESS   0x00
 Inclinometer 3 return status bits. More...
 
#define INCLINOMETER3_RTN_STS_NORMAL   0x01
 
#define INCLINOMETER3_RTN_STS_ERROR   0x03
 
#define INCLINOMETER3_RTN_STS_BITMASK   0x03
 
#define INCLINOMETER3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection. More...
 
#define INCLINOMETER3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Inclinometer 3 Click driver.

Macro Definition Documentation

◆ INCLINOMETER3_ACC_SENS_MODE_A

#define INCLINOMETER3_ACC_SENS_MODE_A   32.768f

Inclinometer 3 acceel and temperature sensitivity data values.

Acceel sensitivity data values of Inclinometer 3 Click driver.

◆ INCLINOMETER3_ACC_SENS_MODE_B

#define INCLINOMETER3_ACC_SENS_MODE_B   16.384f

◆ INCLINOMETER3_RTN_STS_BITMASK

#define INCLINOMETER3_RTN_STS_BITMASK   0x03

◆ INCLINOMETER3_RTN_STS_ERROR

#define INCLINOMETER3_RTN_STS_ERROR   0x03

◆ INCLINOMETER3_RTN_STS_NORMAL

#define INCLINOMETER3_RTN_STS_NORMAL   0x01

◆ INCLINOMETER3_RTN_STS_PROGRESS

#define INCLINOMETER3_RTN_STS_PROGRESS   0x00

Inclinometer 3 return status bits.

return status bits of Inclinometer 3 Click driver.

◆ INCLINOMETER3_SEL_BANK_0

#define INCLINOMETER3_SEL_BANK_0   0

Inclinometer 3 memory banks and modes selection.

Memory banks and modes selection of Inclinometer 3 Click driver.

◆ INCLINOMETER3_SEL_BANK_1

#define INCLINOMETER3_SEL_BANK_1   1

◆ INCLINOMETER3_SEL_MODE_A

#define INCLINOMETER3_SEL_MODE_A   0

◆ INCLINOMETER3_SEL_MODE_B

#define INCLINOMETER3_SEL_MODE_B   1

◆ INCLINOMETER3_SET_DATA_SAMPLE_EDGE

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

◆ INCLINOMETER3_SET_DATA_SAMPLE_MIDDLE

#define INCLINOMETER3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ INCLINOMETER3_TEMP_CONVERT

#define INCLINOMETER3_TEMP_CONVERT   273.0f

◆ INCLINOMETER3_TEMP_SENS

#define INCLINOMETER3_TEMP_SENS   18.9f

◆ INCLINOMETER3_WHOAMI

#define INCLINOMETER3_WHOAMI   0xE0

Inclinometer 3 device ID data value.

Device ID data value of Inclinometer 3 Click driver.