stepdown9 2.1.0.0
Step Down 9 Registers Settings

Settings for registers of Step Down 9 Click driver. More...

Macros

#define STEPDOWN9_VOUT_10V_RESISTANCE   8700
 Step Down 9 description setting.
 
#define STEPDOWN9_VOUT_9V5_RESISTANCE   11500
 
#define STEPDOWN9_VOUT_9V_RESISTANCE   11700
 
#define STEPDOWN9_VOUT_8V5_RESISTANCE   12500
 
#define STEPDOWN9_VOUT_8V_RESISTANCE   13000
 
#define STEPDOWN9_VOUT_7V5_RESISTANCE   13700
 
#define STEPDOWN9_VOUT_7V_RESISTANCE   14700
 
#define STEPDOWN9_VOUT_6V5_RESISTANCE   15800
 
#define STEPDOWN9_VOUT_6V_RESISTANCE   17000
 
#define STEPDOWN9_VOUT_5V5_RESISTANCE   19000
 
#define STEPDOWN9_VOUT_5V_RESISTANCE   21000
 
#define STEPDOWN9_VOUT_4V5_RESISTANCE   23500
 
#define STEPDOWN9_VOUT_4V_RESISTANCE   27000
 
#define STEPDOWN9_VOUT_3V5_RESISTANCE   32000
 
#define STEPDOWN9_VOUT_3V3_RESISTANCE   34000
 
#define STEPDOWN9_VOUT_3V_RESISTANCE   38000
 
#define STEPDOWN9_VOUT_2V5_RESISTANCE   50000
 
#define STEPDOWN9_VOUT_2V_RESISTANCE   70000
 
#define STEPDOWN9_VOUT_1V6_RESISTANCE   100000
 
#define STEPDOWN9_VOUT_10V   0x12
 Step Down 9 Vout setting.
 
#define STEPDOWN9_VOUT_9V5   0x11
 
#define STEPDOWN9_VOUT_9V   0x10
 
#define STEPDOWN9_VOUT_8V5   0x0F
 
#define STEPDOWN9_VOUT_8V   0x0E
 
#define STEPDOWN9_VOUT_7V5   0x0D
 
#define STEPDOWN9_VOUT_7V   0x0C
 
#define STEPDOWN9_VOUT_6V5   0x0B
 
#define STEPDOWN9_VOUT_6V   0x0A
 
#define STEPDOWN9_VOUT_5V5   0x09
 
#define STEPDOWN9_VOUT_5V   0x08
 
#define STEPDOWN9_VOUT_4V5   0x07
 
#define STEPDOWN9_VOUT_4V   0x06
 
#define STEPDOWN9_VOUT_3V5   0x05
 
#define STEPDOWN9_VOUT_3V3   0x04
 
#define STEPDOWN9_VOUT_3V   0x03
 
#define STEPDOWN9_VOUT_2V5   0x02
 
#define STEPDOWN9_VOUT_2V   0x01
 
#define STEPDOWN9_VOUT_1V6   0x00
 
#define STEPDOWN9_PIN_STATE_HIGH   0x01
 Step Down 9 pin state setting.
 
#define STEPDOWN9_PIN_STATE_LOW   0x00
 
#define STEPDOWN9_RESISTANCE_MIN   8700
 Step Down 9 description digital potentiometer wiper data.
 
#define STEPDOWN9_FULL_SCALE_RES_100_KOHM   100000
 
#define STEPDOWN9_WIPER_POS_MAX   0xFF
 
#define STEPDOWN9_ROUND_TO_NEAREST_INT   0.5
 
#define STEPDOWN9_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define STEPDOWN9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Step Down 9 Click driver.

Macro Definition Documentation

◆ STEPDOWN9_FULL_SCALE_RES_100_KOHM

#define STEPDOWN9_FULL_SCALE_RES_100_KOHM   100000

◆ STEPDOWN9_PIN_STATE_HIGH

#define STEPDOWN9_PIN_STATE_HIGH   0x01

Step Down 9 pin state setting.

Specified setting for pin state of Step Down 9 Click driver.

◆ STEPDOWN9_PIN_STATE_LOW

#define STEPDOWN9_PIN_STATE_LOW   0x00

◆ STEPDOWN9_RESISTANCE_MIN

#define STEPDOWN9_RESISTANCE_MIN   8700

Step Down 9 description digital potentiometer wiper data.

Specified digital potentiometer wiper data for description of Step Down 9 Click driver.

◆ STEPDOWN9_ROUND_TO_NEAREST_INT

#define STEPDOWN9_ROUND_TO_NEAREST_INT   0.5

◆ STEPDOWN9_SET_DATA_SAMPLE_EDGE

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

◆ STEPDOWN9_SET_DATA_SAMPLE_MIDDLE

#define STEPDOWN9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ STEPDOWN9_VOUT_10V

#define STEPDOWN9_VOUT_10V   0x12

Step Down 9 Vout setting.

Specified setting for Vout of Step Down 9 Click driver.

◆ STEPDOWN9_VOUT_10V_RESISTANCE

#define STEPDOWN9_VOUT_10V_RESISTANCE   8700

Step Down 9 description setting.

Specified setting for description of Step Down 9 Click driver.

◆ STEPDOWN9_VOUT_1V6

#define STEPDOWN9_VOUT_1V6   0x00

◆ STEPDOWN9_VOUT_1V6_RESISTANCE

#define STEPDOWN9_VOUT_1V6_RESISTANCE   100000

◆ STEPDOWN9_VOUT_2V

#define STEPDOWN9_VOUT_2V   0x01

◆ STEPDOWN9_VOUT_2V5

#define STEPDOWN9_VOUT_2V5   0x02

◆ STEPDOWN9_VOUT_2V5_RESISTANCE

#define STEPDOWN9_VOUT_2V5_RESISTANCE   50000

◆ STEPDOWN9_VOUT_2V_RESISTANCE

#define STEPDOWN9_VOUT_2V_RESISTANCE   70000

◆ STEPDOWN9_VOUT_3V

#define STEPDOWN9_VOUT_3V   0x03

◆ STEPDOWN9_VOUT_3V3

#define STEPDOWN9_VOUT_3V3   0x04

◆ STEPDOWN9_VOUT_3V3_RESISTANCE

#define STEPDOWN9_VOUT_3V3_RESISTANCE   34000

◆ STEPDOWN9_VOUT_3V5

#define STEPDOWN9_VOUT_3V5   0x05

◆ STEPDOWN9_VOUT_3V5_RESISTANCE

#define STEPDOWN9_VOUT_3V5_RESISTANCE   32000

◆ STEPDOWN9_VOUT_3V_RESISTANCE

#define STEPDOWN9_VOUT_3V_RESISTANCE   38000

◆ STEPDOWN9_VOUT_4V

#define STEPDOWN9_VOUT_4V   0x06

◆ STEPDOWN9_VOUT_4V5

#define STEPDOWN9_VOUT_4V5   0x07

◆ STEPDOWN9_VOUT_4V5_RESISTANCE

#define STEPDOWN9_VOUT_4V5_RESISTANCE   23500

◆ STEPDOWN9_VOUT_4V_RESISTANCE

#define STEPDOWN9_VOUT_4V_RESISTANCE   27000

◆ STEPDOWN9_VOUT_5V

#define STEPDOWN9_VOUT_5V   0x08

◆ STEPDOWN9_VOUT_5V5

#define STEPDOWN9_VOUT_5V5   0x09

◆ STEPDOWN9_VOUT_5V5_RESISTANCE

#define STEPDOWN9_VOUT_5V5_RESISTANCE   19000

◆ STEPDOWN9_VOUT_5V_RESISTANCE

#define STEPDOWN9_VOUT_5V_RESISTANCE   21000

◆ STEPDOWN9_VOUT_6V

#define STEPDOWN9_VOUT_6V   0x0A

◆ STEPDOWN9_VOUT_6V5

#define STEPDOWN9_VOUT_6V5   0x0B

◆ STEPDOWN9_VOUT_6V5_RESISTANCE

#define STEPDOWN9_VOUT_6V5_RESISTANCE   15800

◆ STEPDOWN9_VOUT_6V_RESISTANCE

#define STEPDOWN9_VOUT_6V_RESISTANCE   17000

◆ STEPDOWN9_VOUT_7V

#define STEPDOWN9_VOUT_7V   0x0C

◆ STEPDOWN9_VOUT_7V5

#define STEPDOWN9_VOUT_7V5   0x0D

◆ STEPDOWN9_VOUT_7V5_RESISTANCE

#define STEPDOWN9_VOUT_7V5_RESISTANCE   13700

◆ STEPDOWN9_VOUT_7V_RESISTANCE

#define STEPDOWN9_VOUT_7V_RESISTANCE   14700

◆ STEPDOWN9_VOUT_8V

#define STEPDOWN9_VOUT_8V   0x0E

◆ STEPDOWN9_VOUT_8V5

#define STEPDOWN9_VOUT_8V5   0x0F

◆ STEPDOWN9_VOUT_8V5_RESISTANCE

#define STEPDOWN9_VOUT_8V5_RESISTANCE   12500

◆ STEPDOWN9_VOUT_8V_RESISTANCE

#define STEPDOWN9_VOUT_8V_RESISTANCE   13000

◆ STEPDOWN9_VOUT_9V

#define STEPDOWN9_VOUT_9V   0x10

◆ STEPDOWN9_VOUT_9V5

#define STEPDOWN9_VOUT_9V5   0x11

◆ STEPDOWN9_VOUT_9V5_RESISTANCE

#define STEPDOWN9_VOUT_9V5_RESISTANCE   11500

◆ STEPDOWN9_VOUT_9V_RESISTANCE

#define STEPDOWN9_VOUT_9V_RESISTANCE   11700

◆ STEPDOWN9_WIPER_POS_MAX

#define STEPDOWN9_WIPER_POS_MAX   0xFF