Digital Power Starter Kit 3 Firmware  DM330017-3, Rev.3.0
dsPIC33C Buck Converter Peak Current 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 1651 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 1650 of file dpsk3_hwdescr.h.