antopwm2 2.1.0.0
AN to PWM 2 Registers Settings

Settings for registers of AN to PWM 2 Click driver. More...

Macros

#define ANTOPWM2_OTP_BIT   0x80
 AN to PWM 2 digipot register setting.
 
#define ANTOPWM2_STATUS_READY   0x00
 
#define ANTOPWM2_STATUS_TEST_FUSE   0x40
 
#define ANTOPWM2_STATUS_FATAL_ERROR   0x80
 
#define ANTOPWM2_STATUS_OTP_SUCCESS   0xC0
 
#define ANTOPWM2_STATUS_MASK   0xC0
 
#define ANTOPWM2_DIGIPOT_WIPER_MAX   0x3F
 AN to PWM 2 digipot setting.
 
#define ANTOPWM2_DIGIPOT_R6   49900u
 
#define ANTOPWM2_DIGIPOT_WIPER_RES   60
 
#define ANTOPWM2_DIGIPOT_MAX_RES   50000u
 
#define ANTOPWM2_FREQ_MAX   1000000ul
 AN to PWM 2 setting.
 
#define ANTOPWM2_FREQ_MIN   500000ul
 
#define ANTOPWM2_RSET_REF   50000u
 
#define ANTOPWM2_NDIV   1
 
#define ANTOPWM2_DEVICE_ADDRESS   0x2C
 AN to PWM 2 device address setting.
 

Detailed Description

Settings for registers of AN to PWM 2 Click driver.

Macro Definition Documentation

◆ ANTOPWM2_DEVICE_ADDRESS

#define ANTOPWM2_DEVICE_ADDRESS   0x2C

AN to PWM 2 device address setting.

Specified setting for device slave address selection of AN to PWM 2 Click driver.

◆ ANTOPWM2_DIGIPOT_MAX_RES

#define ANTOPWM2_DIGIPOT_MAX_RES   50000u

◆ ANTOPWM2_DIGIPOT_R6

#define ANTOPWM2_DIGIPOT_R6   49900u

◆ ANTOPWM2_DIGIPOT_WIPER_MAX

#define ANTOPWM2_DIGIPOT_WIPER_MAX   0x3F

AN to PWM 2 digipot setting.

Specified setting for digipot of AN to PWM 2 Click driver.

◆ ANTOPWM2_DIGIPOT_WIPER_RES

#define ANTOPWM2_DIGIPOT_WIPER_RES   60

◆ ANTOPWM2_FREQ_MAX

#define ANTOPWM2_FREQ_MAX   1000000ul

AN to PWM 2 setting.

Specified setting of AN to PWM 2 Click driver.

◆ ANTOPWM2_FREQ_MIN

#define ANTOPWM2_FREQ_MIN   500000ul

◆ ANTOPWM2_NDIV

#define ANTOPWM2_NDIV   1

◆ ANTOPWM2_OTP_BIT

#define ANTOPWM2_OTP_BIT   0x80

AN to PWM 2 digipot register setting.

Specified setting for digipot register of AN to PWM 2 Click driver.

◆ ANTOPWM2_RSET_REF

#define ANTOPWM2_RSET_REF   50000u

◆ ANTOPWM2_STATUS_FATAL_ERROR

#define ANTOPWM2_STATUS_FATAL_ERROR   0x80

◆ ANTOPWM2_STATUS_MASK

#define ANTOPWM2_STATUS_MASK   0xC0

◆ ANTOPWM2_STATUS_OTP_SUCCESS

#define ANTOPWM2_STATUS_OTP_SUCCESS   0xC0

◆ ANTOPWM2_STATUS_READY

#define ANTOPWM2_STATUS_READY   0x00

◆ ANTOPWM2_STATUS_TEST_FUSE

#define ANTOPWM2_STATUS_TEST_FUSE   0x40