compass5 2.0.0.0
Compass 5 Registers Settings

Settings for registers of Compass 5 Click driver. More...

Macros

#define COMPASS5_MODE_POWER_DOWN   0x00
 Compass 5 description setting operation mode.
 
#define COMPASS5_MODE_SINGLE_MEASUREMENT   0x01
 
#define COMPASS5_MODE_CON_MEASUREMENT_10HZ   0x02
 
#define COMPASS5_MODE_CON_MEASUREMENT_20HZ   0x04
 
#define COMPASS5_MODE_CON_MEASUREMENT_50HZ   0x06
 
#define COMPASS5_MODE_CON_MEASUREMENT_100HZ   0x08
 
#define COMPASS5_MODE_SELF_TEST   0x10
 
#define COMPASS5_SRST_BIT   0x01
 Compass 5 registers for setting.
 
#define COMPASS5_HOFL_BIT   0x08
 
#define COMPASS5_DOR_BIT   0x02
 
#define COMPASS5_DRDY_BIT   0x01
 
#define COMPASS5_DATA_NO_READY   0x00
 Compass 5 registers settings for data status.
 
#define COMPASS5_DATA_READY   0x01
 
#define COMPASS5_BIT_MASK_BIT0   0x01
 Compass 5 registers settings bit mask.
 
#define COMPASS5_SET_DEV_ADDR   0x0C
 Compass 5 device address setting.
 

Detailed Description

Settings for registers of Compass 5 Click driver.

Macro Definition Documentation

◆ COMPASS5_BIT_MASK_BIT0

#define COMPASS5_BIT_MASK_BIT0   0x01

Compass 5 registers settings bit mask.

Specified registers settings for bit mask of Compass 5 Click driver.

◆ COMPASS5_DATA_NO_READY

#define COMPASS5_DATA_NO_READY   0x00

Compass 5 registers settings for data status.

Specified registers settings for data status of Compass 5 Click driver.

◆ COMPASS5_DATA_READY

#define COMPASS5_DATA_READY   0x01

◆ COMPASS5_DOR_BIT

#define COMPASS5_DOR_BIT   0x02

◆ COMPASS5_DRDY_BIT

#define COMPASS5_DRDY_BIT   0x01

◆ COMPASS5_HOFL_BIT

#define COMPASS5_HOFL_BIT   0x08

◆ COMPASS5_MODE_CON_MEASUREMENT_100HZ

#define COMPASS5_MODE_CON_MEASUREMENT_100HZ   0x08

◆ COMPASS5_MODE_CON_MEASUREMENT_10HZ

#define COMPASS5_MODE_CON_MEASUREMENT_10HZ   0x02

◆ COMPASS5_MODE_CON_MEASUREMENT_20HZ

#define COMPASS5_MODE_CON_MEASUREMENT_20HZ   0x04

◆ COMPASS5_MODE_CON_MEASUREMENT_50HZ

#define COMPASS5_MODE_CON_MEASUREMENT_50HZ   0x06

◆ COMPASS5_MODE_POWER_DOWN

#define COMPASS5_MODE_POWER_DOWN   0x00

Compass 5 description setting operation mode.

Specified setting operation mode for description of Compass 5 Click driver.

◆ COMPASS5_MODE_SELF_TEST

#define COMPASS5_MODE_SELF_TEST   0x10

◆ COMPASS5_MODE_SINGLE_MEASUREMENT

#define COMPASS5_MODE_SINGLE_MEASUREMENT   0x01

◆ COMPASS5_SET_DEV_ADDR

#define COMPASS5_SET_DEV_ADDR   0x0C

Compass 5 device address setting.

Specified setting for device slave address selection of Compass 5 Click driver.

◆ COMPASS5_SRST_BIT

#define COMPASS5_SRST_BIT   0x01

Compass 5 registers for setting.

Specified registers for setting of Compass 5 Click driver.