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

ADC input signal scaling = (ADCBUF - <offset>) * <factor> >> 2^<scaler> More...

#include <power_control/devices/dev_boost_typedef.h>

+ Collaboration diagram for BOOST_ADC_INPUT_SCALING_s:

Data Fields

volatile int16_t factor
 Fractional scaling factor (range -1 ... 0.99969) More...
 
volatile int16_t scaler
 Feedback bit-shift scaler used for number normalization. More...
 
volatile int16_t offset
 Signal offset as signed integer to be subtracted from ADC input. More...
 

Detailed Description

ADC input signal scaling = (ADCBUF - <offset>) * <factor> >> 2^<scaler>

Definition at line 437 of file dev_boost_typedef.h.

Field Documentation

◆ factor

volatile int16_t factor

Fractional scaling factor (range -1 ... 0.99969)

Definition at line 439 of file dev_boost_typedef.h.

◆ offset

volatile int16_t offset

Signal offset as signed integer to be subtracted from ADC input.

Definition at line 441 of file dev_boost_typedef.h.

◆ scaler

volatile int16_t scaler

Feedback bit-shift scaler used for number normalization.

Definition at line 440 of file dev_boost_typedef.h.


The documentation for this struct was generated from the following file: