buck20 2.1.0.0
Buck 20 Registers Settings

Settings for registers of Buck 20 Click driver. More...

Macros

#define BUCK20_WIPER_FULL_SCALE   1023
 Buck 20 digipot wiper setting.
 
#define BUCK20_WIPER_MID_SCALE   512
 
#define BUCK20_WIPER_ZERO_SCALE   0
 
#define BUCK20_RESISTOR_R6_KOHM   47.0f
 Buck 20 voltage calculation values.
 
#define BUCK20_DIGIPOT_MAX_KOHM   250.0f
 
#define BUCK20_BUCK_R2_KOHM   40.2f
 
#define BUCK20_BUCK_VREF   0.6f
 
#define BUCK20_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define BUCK20_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Buck 20 Click driver.

Macro Definition Documentation

◆ BUCK20_BUCK_R2_KOHM

#define BUCK20_BUCK_R2_KOHM   40.2f

◆ BUCK20_BUCK_VREF

#define BUCK20_BUCK_VREF   0.6f

◆ BUCK20_DIGIPOT_MAX_KOHM

#define BUCK20_DIGIPOT_MAX_KOHM   250.0f

◆ BUCK20_RESISTOR_R6_KOHM

#define BUCK20_RESISTOR_R6_KOHM   47.0f

Buck 20 voltage calculation values.

Specified voltage calculation values of Buck 20 Click driver.

◆ BUCK20_SET_DATA_SAMPLE_EDGE

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

◆ BUCK20_SET_DATA_SAMPLE_MIDDLE

#define BUCK20_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ BUCK20_WIPER_FULL_SCALE

#define BUCK20_WIPER_FULL_SCALE   1023

Buck 20 digipot wiper setting.

Specified setting for digipot wiper of Buck 20 Click driver.

◆ BUCK20_WIPER_MID_SCALE

#define BUCK20_WIPER_MID_SCALE   512

◆ BUCK20_WIPER_ZERO_SCALE

#define BUCK20_WIPER_ZERO_SCALE   0