Automated ADC Trigger handling. More...
#include <power_control/drivers/npnz16b.h>
Data Fields | |
volatile uint16_t * | ptrADCTriggerARegister |
Pointer to ADC trigger #1 register (e.g. TRIG1) More... | |
volatile uint16_t | ADCTriggerAOffset |
ADC trigger #1 offset to compensate propagation delays. More... | |
volatile uint16_t * | ptrADCTriggerBRegister |
Pointer to ADC trigger #2 register (e.g. TRIG2) More... | |
volatile uint16_t | ADCTriggerBOffset |
ADC trigger #2 offset to compensate propagation delays. More... | |
Data Fields inherited from NPNZ16b_s | |
volatile struct NPNZ_STATUS_s | status |
Control Loop Status and Control flags. More... | |
volatile struct NPNZ_PORTS_s | Ports |
Controller input and output ports. More... | |
volatile struct NPNZ_FILTER_PARAMS_s | Filter |
Filter parameters such as pointer to history and coefficient arrays and number scaling. More... | |
volatile struct NPNZ_GAIN_CONTROL_s | GainControl |
Parameter section for advanced control options. More... | |
volatile struct NPNZ_LIMITS_s | Limits |
Input and output clamping values. More... | |
volatile struct NPNZ_ADC_TRGCTRL_s | ADCTriggerControl |
Automatic ADC trigger placement options for ADC Trigger A and B. More... | |
volatile struct NPNZ_DATA_PROVIDERS_s | DataProviders |
Automated data sources pushing recent data points to user-defined variables. More... | |
volatile struct NPNZ_EXTENSION_HOOKS_s | ExtensionHooks |
User extension function triggers using function pointers with parameters. More... | |
volatile struct NPNZ_USER_DATA_BUFFER_s | Advanced |
Parameter section for advanced user control options. More... | |
Automated ADC Trigger handling.
The NPNZ_ADC_TRGCTRL_t data object holds all parameters required to automatically position ADC triggers based on the most recent control output. This feature is used in voltage or average current mode control to automatically track average values in triangular feedback signal waveforms.
This feature is optional and needs to be enabled, configured and managed manually in user code.
volatile uint16_t ADCTriggerAOffset |
volatile uint16_t ADCTriggerBOffset |
volatile uint16_t* ptrADCTriggerARegister |
volatile uint16_t* ptrADCTriggerBRegister |