Digital Power Starter Kit 3 Firmware
dsPIC33C Boost Converter Voltage Mode Control Example

Conversion macros for user-declarations of temperature feedback parameters. More...

+ Collaboration diagram for Conversion Macros:
#define TEMP_FB_ZERO   (uint16_t)(TEMP_CAL_ZERO / ADC_GRANULARITY)
 Conversion macros of temperature feedback parameters. More...
 
#define TEMP_FB_SLOPE   (float)(TEMP_CAL_SLOPE / ADC_GRANULARITY)
 

Detailed Description

Conversion macros for user-declarations of temperature feedback parameters.

Macro Definition Documentation

◆ TEMP_FB_SLOPE

#define TEMP_FB_SLOPE   (float)(TEMP_CAL_SLOPE / ADC_GRANULARITY)

Definition at line 1560 of file dpsk3_hwdescr.h.

◆ TEMP_FB_ZERO

#define TEMP_FB_ZERO   (uint16_t)(TEMP_CAL_ZERO / ADC_GRANULARITY)

Conversion macros of temperature feedback parameters.

These conversion macros are used to convert user settings defined as physical quantities into binary (integer) numbers, which will be written to registers and variables and used in calculations throughout the firmware.

Definition at line 1559 of file dpsk3_hwdescr.h.