barometer6 2.0.0.0
Barometer 6 Registers Settings

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

Macros

#define BAROMETER6_CMD_RESET   0xE6
 Barometer 6 description setting.
 
#define BAROMETER6_AVG_SKIP   0x00
 Barometer 6 average time for measurments.
 
#define BAROMETER6_AVG_1   0x01
 
#define BAROMETER6_AVG_2   0x02
 
#define BAROMETER6_AVG_4   0x03
 
#define BAROMETER6_AVG_8   0x04
 
#define BAROMETER6_AVG_16   0x05
 
#define BAROMETER6_AVG_32   0x06
 
#define BAROMETER6_AVG_64   0x07
 
#define BAROMETER6_SLEEP_MODE   0x00
 Barometer 6 operating mode.
 
#define BAROMETER6_FORCED_MODE_1   0x01
 
#define BAROMETER6_FORCED_MODE_2   0x02
 
#define BAROMETER6_NORMAL_MODE   0x03
 
#define BAROMETER6_DATA_NOT_READY   0x00
 Barometer 6 data ready oprions.
 
#define BAROMETER6_DATA_READY   0x01
 
#define BAROMETER6_STANDBY_1ms   0x00
 Barometer 6 standby time.
 
#define BAROMETER6_STANDBY_5ms   0x01
 
#define BAROMETER6_STANDBY_50ms   0x02
 
#define BAROMETER6_STANDBY_250ms   0x03
 
#define BAROMETER6_STANDBY_500ms   0x04
 
#define BAROMETER6_STANDBY_1s   0x05
 
#define BAROMETER6_STANDBY_2s   0x06
 
#define BAROMETER6_STANDBY_4s   0x07
 
#define BAROMETER6_ID_VALUE   0x5C
 Barometer 6 ID register value.
 
#define BAROMETER6_SET_DEV_ADDR_LOW   0x70
 Barometer 6 device address setting.
 
#define BAROMETER6_SET_DEV_ADDR_HIGH   0x56
 
#define BAROMETER6_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define BAROMETER6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Barometer 6 Click driver.

Macro Definition Documentation

◆ BAROMETER6_AVG_1

#define BAROMETER6_AVG_1   0x01

◆ BAROMETER6_AVG_16

#define BAROMETER6_AVG_16   0x05

◆ BAROMETER6_AVG_2

#define BAROMETER6_AVG_2   0x02

◆ BAROMETER6_AVG_32

#define BAROMETER6_AVG_32   0x06

◆ BAROMETER6_AVG_4

#define BAROMETER6_AVG_4   0x03

◆ BAROMETER6_AVG_64

#define BAROMETER6_AVG_64   0x07

◆ BAROMETER6_AVG_8

#define BAROMETER6_AVG_8   0x04

◆ BAROMETER6_AVG_SKIP

#define BAROMETER6_AVG_SKIP   0x00

Barometer 6 average time for measurments.

Specified setting for average time for measurments of Barometer 6 Click driver.

◆ BAROMETER6_CMD_RESET

#define BAROMETER6_CMD_RESET   0xE6

Barometer 6 description setting.

Specified setting for description of Barometer 6 Click driver.

Barometer 6 software reset command.

Specified software reset command of Barometer 6 Click driver.

◆ BAROMETER6_DATA_NOT_READY

#define BAROMETER6_DATA_NOT_READY   0x00

Barometer 6 data ready oprions.

Specified options of data ready flag of Barometer 6 Click driver.

◆ BAROMETER6_DATA_READY

#define BAROMETER6_DATA_READY   0x01

◆ BAROMETER6_FORCED_MODE_1

#define BAROMETER6_FORCED_MODE_1   0x01

◆ BAROMETER6_FORCED_MODE_2

#define BAROMETER6_FORCED_MODE_2   0x02

◆ BAROMETER6_ID_VALUE

#define BAROMETER6_ID_VALUE   0x5C

Barometer 6 ID register value.

Specified chip ID of Barometer 6 Click driver.

◆ BAROMETER6_NORMAL_MODE

#define BAROMETER6_NORMAL_MODE   0x03

◆ BAROMETER6_SET_DATA_SAMPLE_EDGE

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

◆ BAROMETER6_SET_DATA_SAMPLE_MIDDLE

#define BAROMETER6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ BAROMETER6_SET_DEV_ADDR_HIGH

#define BAROMETER6_SET_DEV_ADDR_HIGH   0x56

◆ BAROMETER6_SET_DEV_ADDR_LOW

#define BAROMETER6_SET_DEV_ADDR_LOW   0x70

Barometer 6 device address setting.

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

◆ BAROMETER6_SLEEP_MODE

#define BAROMETER6_SLEEP_MODE   0x00

Barometer 6 operating mode.

Specified setting for operating mode of Barometer 6 Click driver.

◆ BAROMETER6_STANDBY_1ms

#define BAROMETER6_STANDBY_1ms   0x00

Barometer 6 standby time.

Specified standby time of Barometer 6 Click driver.

◆ BAROMETER6_STANDBY_1s

#define BAROMETER6_STANDBY_1s   0x05

◆ BAROMETER6_STANDBY_250ms

#define BAROMETER6_STANDBY_250ms   0x03

◆ BAROMETER6_STANDBY_2s

#define BAROMETER6_STANDBY_2s   0x06

◆ BAROMETER6_STANDBY_4s

#define BAROMETER6_STANDBY_4s   0x07

◆ BAROMETER6_STANDBY_500ms

#define BAROMETER6_STANDBY_500ms   0x04

◆ BAROMETER6_STANDBY_50ms

#define BAROMETER6_STANDBY_50ms   0x02

◆ BAROMETER6_STANDBY_5ms

#define BAROMETER6_STANDBY_5ms   0x01