ADC input signal scaling = (ADCBUF - <offset>) * <factor> >> 2^<scaler> More...
#include <power_control/devices/dev_buck_typedef.h>
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... | |
Data Fields inherited from BUCK_ADC_INPUT_SETTINGS_s | |
volatile bool | enabled |
input channel enable bit More... | |
volatile uint16_t * | adc_buffer |
pointer to ADC result buffer More... | |
volatile uint16_t | gpio_instance |
GPIO instance of the selected PWM generator. More... | |
volatile uint8_t | adc_input |
number of the ADC input channel used More... | |
volatile uint8_t | adc_core |
number of the ADC core connected to the selected channel More... | |
volatile uint8_t | trigger_source |
input channel trigger source More... | |
volatile bool | interrupt_enable |
input channel interrupt enable bit More... | |
volatile bool | early_interrupt_enable |
input channel early interrupt enable bit More... | |
volatile bool | differential_input |
input channel differential mode enable bit More... | |
volatile bool | signed_result |
input channel singed result mode enable bit More... | |
volatile bool | level_trigger |
input channel level trigger mode enable bit More... | |
volatile struct BUCK_ADC_INPUT_SCALING_s | scaling |
normalization scaling settings More... | |
Data Fields inherited from BUCK_FEEDBACK_SETTINGS_s | |
volatile struct BUCK_ADC_INPUT_SETTINGS_s | ad_vin |
ADC input sampling input voltage. More... | |
volatile struct BUCK_ADC_INPUT_SETTINGS_s | ad_vout |
ADC input sampling output voltage. More... | |
volatile struct BUCK_ADC_INPUT_SETTINGS_s | ad_isns [BUCK_MPHASE_COUNT] |
ADC input sampling phase current. More... | |
volatile struct BUCK_ADC_INPUT_SETTINGS_s | ad_temp |
ADC input sampling temperature. More... | |
Data Fields inherited from BUCK_CONVERTER_s | |
volatile struct BUCK_CONVERTER_STATUS_s | status |
BUCK operation status bits. More... | |
volatile struct BUCK_STATE_ID_s | state_id |
BUCK state machine operating state ID. More... | |
volatile struct BUCK_CONVERTER_STARTUP_s | startup |
BUCK startup timing settings. More... | |
volatile struct BUCK_CONVERTER_SETTINGS_s | set_values |
Control field for global access to references. More... | |
volatile struct BUCK_CONVERTER_DATA_s | data |
BUCK runtime data. More... | |
volatile struct BUCK_FEEDBACK_SETTINGS_s | feedback |
BUCK converter feedback settings. More... | |
volatile struct BUCK_SWITCH_NODE_SETTINGS_s | sw_node [BUCK_MPHASE_COUNT] |
BUCK converter switch node settings. More... | |
volatile struct BUCK_GPIO_SETTINGS_s | gpio |
BUCK converter additional GPIO specification. More... | |
volatile struct BUCK_LOOP_SETTINGS_s | v_loop |
BUCK voltage control loop object. More... | |
volatile struct BUCK_LOOP_SETTINGS_s | i_loop [BUCK_MPHASE_COUNT] |
BUCK Current control loop objects. More... | |
ADC input signal scaling = (ADCBUF - <offset>) * <factor> >> 2^<scaler>
Generic power converter feedback specifications.
This data structure is used to set the converter feedback specifications declaring which ADC channels are used including the individual AD input configuration such as trigger mode, input mode, result format and value normalization.
Definition at line 410 of file dev_buck_typedef.h.
volatile int16_t factor |
Fractional scaling factor (range -1 ... 0.99969)
Definition at line 412 of file dev_buck_typedef.h.
volatile int16_t offset |
Signal offset as signed integer to be subtracted from ADC input.
Definition at line 414 of file dev_buck_typedef.h.
volatile int16_t scaler |
Feedback bit-shift scaler used for number normalization.
Definition at line 413 of file dev_buck_typedef.h.