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

ADC input channel configuration. More...

#include <power_control/devices/dev_buck_typedef.h>

+ Inheritance diagram for BUCK_ADC_INPUT_SETTINGS_s:
+ Collaboration diagram for BUCK_ADC_INPUT_SETTINGS_s:

Data Fields

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...
 

Detailed Description

ADC input channel configuration.

Generic power converter ADC input channel configuration.


Definition at line 425 of file dev_buck_typedef.h.

Field Documentation

◆ adc_buffer

volatile uint16_t* adc_buffer

pointer to ADC result buffer

Definition at line 428 of file dev_buck_typedef.h.

◆ adc_core

volatile uint8_t adc_core

number of the ADC core connected to the selected channel

Definition at line 431 of file dev_buck_typedef.h.

◆ adc_input

volatile uint8_t adc_input

number of the ADC input channel used

Definition at line 430 of file dev_buck_typedef.h.

◆ differential_input

volatile bool differential_input

input channel differential mode enable bit

Definition at line 435 of file dev_buck_typedef.h.

◆ early_interrupt_enable

volatile bool early_interrupt_enable

input channel early interrupt enable bit

Definition at line 434 of file dev_buck_typedef.h.

◆ enabled

volatile bool enabled

input channel enable bit

Definition at line 427 of file dev_buck_typedef.h.

◆ gpio_instance

volatile uint16_t gpio_instance

GPIO instance of the selected PWM generator.

Definition at line 429 of file dev_buck_typedef.h.

◆ interrupt_enable

volatile bool interrupt_enable

input channel interrupt enable bit

Definition at line 433 of file dev_buck_typedef.h.

◆ level_trigger

volatile bool level_trigger

input channel level trigger mode enable bit

Definition at line 437 of file dev_buck_typedef.h.

◆ scaling

volatile struct BUCK_ADC_INPUT_SCALING_s scaling

normalization scaling settings

Definition at line 437 of file dev_buck_typedef.h.

◆ signed_result

volatile bool signed_result

input channel singed result mode enable bit

Definition at line 436 of file dev_buck_typedef.h.

◆ trigger_source

volatile uint8_t trigger_source

input channel trigger source

Definition at line 432 of file dev_buck_typedef.h.


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