angle7 2.0.0.0
Angle 7 Registers Settings

Settings for registers of Angle 7 Click driver. More...

Macros

#define ANGLE7_CONF_WATCHDOG_OFF   0x0000
 Angle 7 CONF register settings.
 
#define ANGLE7_CONF_WATCHDOG_ON   0x2000
 
#define ANGLE7_CONF_WATCHDOG_BIT_MASK   0x2000
 
#define ANGLE7_CONF_FTH_SLOW   0x0000
 
#define ANGLE7_CONF_FTH_6LSB   0x0400
 
#define ANGLE7_CONF_FTH_7LSB   0x0800
 
#define ANGLE7_CONF_FTH_9LSB   0x0C00
 
#define ANGLE7_CONF_FTH_18LSB   0x1000
 
#define ANGLE7_CONF_FTH_21LSB   0x1400
 
#define ANGLE7_CONF_FTH_24LSB   0x1800
 
#define ANGLE7_CONF_FTH_10LSB   0x1C00
 
#define ANGLE7_CONF_FTH_BIT_MASK   0x1C00
 
#define ANGLE7_CONF_SF_16X   0x0000
 
#define ANGLE7_CONF_SF_8X   0x0100
 
#define ANGLE7_CONF_SF_4X   0x0200
 
#define ANGLE7_CONF_SF_2X   0x0300
 
#define ANGLE7_CONF_SF_BIT_MASK   0x0300
 
#define ANGLE7_CONF_PWMF_115HZ   0x0000
 
#define ANGLE7_CONF_PWMF_230HZ   0x0040
 
#define ANGLE7_CONF_PWMF_460HZ   0x0080
 
#define ANGLE7_CONF_PWMF_920HZ   0x00C0
 
#define ANGLE7_CONF_PWMF_BIT_MASK   0x00C0
 
#define ANGLE7_CONF_OUTS_ANALOG_FULL   0x0000
 
#define ANGLE7_CONF_OUTS_ANALOG_REDUCED   0x0010
 
#define ANGLE7_CONF_OUTS_PWM   0x0020
 
#define ANGLE7_CONF_OUTS_BIT_MASK   0x0030
 
#define ANGLE7_CONF_HYST_OFF   0x0000
 
#define ANGLE7_CONF_HYST_1LSB   0x0004
 
#define ANGLE7_CONF_HYST_2LSB   0x0008
 
#define ANGLE7_CONF_HYST_3LSB   0x000C
 
#define ANGLE7_CONF_HYST_BIT_MASK   0x000C
 
#define ANGLE7_CONF_PM_NOM   0x0000
 
#define ANGLE7_CONF_PM_LPM1   0x0001
 
#define ANGLE7_CONF_PM_LPM2   0x0002
 
#define ANGLE7_CONF_PM_LPM3   0x0003
 
#define ANGLE7_CONF_PM_BIT_MASK   0x0003
 
#define ANGLE7_STATUS_MAGNET_DETECTED   0x20
 Angle 7 STATUS register settings.
 
#define ANGLE7_STATUS_MAGNET_TOO_WEAK   0x10
 
#define ANGLE7_STATUS_MAGNET_TOO_STRONG   0x08
 
#define ANGLE7_BURN_ANGLE   0x80
 Angle 7 BURN register settings.
 
#define ANGLE7_BURN_SETTING   0x40
 
#define ANGLE7_RESOLUTION   0x0FFF
 Angle 7 Angle calculation values.
 
#define ANGLE7_FULL_CIRCLE   360.0
 
#define ANGLE7_ZERO_POSITION   0.0
 
#define ANGLE7_DEVICE_ADDRESS   0x36
 Angle 7 device address setting.
 

Detailed Description

Settings for registers of Angle 7 Click driver.

Macro Definition Documentation

◆ ANGLE7_BURN_ANGLE

#define ANGLE7_BURN_ANGLE   0x80

Angle 7 BURN register settings.

Specified BURN register settings of Angle 7 Click driver.

◆ ANGLE7_BURN_SETTING

#define ANGLE7_BURN_SETTING   0x40

◆ ANGLE7_CONF_FTH_10LSB

#define ANGLE7_CONF_FTH_10LSB   0x1C00

◆ ANGLE7_CONF_FTH_18LSB

#define ANGLE7_CONF_FTH_18LSB   0x1000

◆ ANGLE7_CONF_FTH_21LSB

#define ANGLE7_CONF_FTH_21LSB   0x1400

◆ ANGLE7_CONF_FTH_24LSB

#define ANGLE7_CONF_FTH_24LSB   0x1800

◆ ANGLE7_CONF_FTH_6LSB

#define ANGLE7_CONF_FTH_6LSB   0x0400

◆ ANGLE7_CONF_FTH_7LSB

#define ANGLE7_CONF_FTH_7LSB   0x0800

◆ ANGLE7_CONF_FTH_9LSB

#define ANGLE7_CONF_FTH_9LSB   0x0C00

◆ ANGLE7_CONF_FTH_BIT_MASK

#define ANGLE7_CONF_FTH_BIT_MASK   0x1C00

◆ ANGLE7_CONF_FTH_SLOW

#define ANGLE7_CONF_FTH_SLOW   0x0000

◆ ANGLE7_CONF_HYST_1LSB

#define ANGLE7_CONF_HYST_1LSB   0x0004

◆ ANGLE7_CONF_HYST_2LSB

#define ANGLE7_CONF_HYST_2LSB   0x0008

◆ ANGLE7_CONF_HYST_3LSB

#define ANGLE7_CONF_HYST_3LSB   0x000C

◆ ANGLE7_CONF_HYST_BIT_MASK

#define ANGLE7_CONF_HYST_BIT_MASK   0x000C

◆ ANGLE7_CONF_HYST_OFF

#define ANGLE7_CONF_HYST_OFF   0x0000

◆ ANGLE7_CONF_OUTS_ANALOG_FULL

#define ANGLE7_CONF_OUTS_ANALOG_FULL   0x0000

◆ ANGLE7_CONF_OUTS_ANALOG_REDUCED

#define ANGLE7_CONF_OUTS_ANALOG_REDUCED   0x0010

◆ ANGLE7_CONF_OUTS_BIT_MASK

#define ANGLE7_CONF_OUTS_BIT_MASK   0x0030

◆ ANGLE7_CONF_OUTS_PWM

#define ANGLE7_CONF_OUTS_PWM   0x0020

◆ ANGLE7_CONF_PM_BIT_MASK

#define ANGLE7_CONF_PM_BIT_MASK   0x0003

◆ ANGLE7_CONF_PM_LPM1

#define ANGLE7_CONF_PM_LPM1   0x0001

◆ ANGLE7_CONF_PM_LPM2

#define ANGLE7_CONF_PM_LPM2   0x0002

◆ ANGLE7_CONF_PM_LPM3

#define ANGLE7_CONF_PM_LPM3   0x0003

◆ ANGLE7_CONF_PM_NOM

#define ANGLE7_CONF_PM_NOM   0x0000

◆ ANGLE7_CONF_PWMF_115HZ

#define ANGLE7_CONF_PWMF_115HZ   0x0000

◆ ANGLE7_CONF_PWMF_230HZ

#define ANGLE7_CONF_PWMF_230HZ   0x0040

◆ ANGLE7_CONF_PWMF_460HZ

#define ANGLE7_CONF_PWMF_460HZ   0x0080

◆ ANGLE7_CONF_PWMF_920HZ

#define ANGLE7_CONF_PWMF_920HZ   0x00C0

◆ ANGLE7_CONF_PWMF_BIT_MASK

#define ANGLE7_CONF_PWMF_BIT_MASK   0x00C0

◆ ANGLE7_CONF_SF_16X

#define ANGLE7_CONF_SF_16X   0x0000

◆ ANGLE7_CONF_SF_2X

#define ANGLE7_CONF_SF_2X   0x0300

◆ ANGLE7_CONF_SF_4X

#define ANGLE7_CONF_SF_4X   0x0200

◆ ANGLE7_CONF_SF_8X

#define ANGLE7_CONF_SF_8X   0x0100

◆ ANGLE7_CONF_SF_BIT_MASK

#define ANGLE7_CONF_SF_BIT_MASK   0x0300

◆ ANGLE7_CONF_WATCHDOG_BIT_MASK

#define ANGLE7_CONF_WATCHDOG_BIT_MASK   0x2000

◆ ANGLE7_CONF_WATCHDOG_OFF

#define ANGLE7_CONF_WATCHDOG_OFF   0x0000

Angle 7 CONF register settings.

Specified CONF register settings of Angle 7 Click driver.

◆ ANGLE7_CONF_WATCHDOG_ON

#define ANGLE7_CONF_WATCHDOG_ON   0x2000

◆ ANGLE7_DEVICE_ADDRESS

#define ANGLE7_DEVICE_ADDRESS   0x36

Angle 7 device address setting.

Specified setting for device slave address selection of Angle 7 Click driver.

◆ ANGLE7_FULL_CIRCLE

#define ANGLE7_FULL_CIRCLE   360.0

◆ ANGLE7_RESOLUTION

#define ANGLE7_RESOLUTION   0x0FFF

Angle 7 Angle calculation values.

Specified Angle calculation values of Angle 7 Click driver.

◆ ANGLE7_STATUS_MAGNET_DETECTED

#define ANGLE7_STATUS_MAGNET_DETECTED   0x20

Angle 7 STATUS register settings.

Specified STATUS register settings of Angle 7 Click driver.

◆ ANGLE7_STATUS_MAGNET_TOO_STRONG

#define ANGLE7_STATUS_MAGNET_TOO_STRONG   0x08

◆ ANGLE7_STATUS_MAGNET_TOO_WEAK

#define ANGLE7_STATUS_MAGNET_TOO_WEAK   0x10

◆ ANGLE7_ZERO_POSITION

#define ANGLE7_ZERO_POSITION   0.0