altitude6 2.0.0.0
Altitude 6 Registers Settings

Settings for registers of Altitude 6 Click driver. More...

Macros

#define ALTITUDE6_RATIO_256   0x00
 Altitude 6 description setting.
 
#define ALTITUDE6_RATIO_512   0x01
 
#define ALTITUDE6_RATIO_1024   0x02
 
#define ALTITUDE6_RATIO_2048   0x03
 
#define ALTITUDE6_RATIO_4096   0x04
 
#define ALTITUDE6_SET_DEV_ADDR_1   0x76
 Altitude 6 device address setting.
 
#define ALTITUDE6_SET_DEV_ADDR_0   0x77
 
#define ALTITUDE6_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ALTITUDE6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Altitude 6 Click driver.

Macro Definition Documentation

◆ ALTITUDE6_RATIO_1024

#define ALTITUDE6_RATIO_1024   0x02

◆ ALTITUDE6_RATIO_2048

#define ALTITUDE6_RATIO_2048   0x03

◆ ALTITUDE6_RATIO_256

#define ALTITUDE6_RATIO_256   0x00

Altitude 6 description setting.

Specified setting for description of Altitude 6 Click driver.

◆ ALTITUDE6_RATIO_4096

#define ALTITUDE6_RATIO_4096   0x04

◆ ALTITUDE6_RATIO_512

#define ALTITUDE6_RATIO_512   0x01

◆ ALTITUDE6_SET_DATA_SAMPLE_EDGE

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

◆ ALTITUDE6_SET_DATA_SAMPLE_MIDDLE

#define ALTITUDE6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ALTITUDE6_SET_DEV_ADDR_0

#define ALTITUDE6_SET_DEV_ADDR_0   0x77

◆ ALTITUDE6_SET_DEV_ADDR_1

#define ALTITUDE6_SET_DEV_ADDR_1   0x76

Altitude 6 device address setting.

Specified setting for device slave address selection of Altitude 6 Click driver.