Data Input/Output Port declaration of memory addresses, signal offsets and normalization settings. More...
#include <power_control/drivers/npnz16b.h>
Data Fields | |
volatile uint16_t * | ptrAddress |
Pointer to register or variable where the value is read from (e.g. ADCBUFx) or written to (e.g. PGxDC) More... | |
volatile int16_t | NormScaler |
Bit-shift scaler of the Q15 normalization factor. More... | |
volatile fractional | NormFactor |
Q15 normalization factor. More... | |
volatile int16_t | Offset |
Value/signal offset of this port. More... | |
Data Fields inherited from NPNZ_PORTS_s | |
volatile struct NPNZ_PORT_s | Source |
Primary data input port declaration. More... | |
volatile struct NPNZ_PORT_s | AltSource |
Secondary data input port declaration. More... | |
volatile struct NPNZ_PORT_s | Target |
Primary data output port declaration. More... | |
volatile struct NPNZ_PORT_s | AltTarget |
Secondary data output port declaration. More... | |
volatile uint16_t * | ptrControlReference |
Pointer to global variable of input register holding the controller reference value (e.g. uint16_t my_ref) 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... | |
Data Input/Output Port declaration of memory addresses, signal offsets and normalization settings.
The NPNZ_PORT_s data object defines the basic parameters required to read data from or write data to user-defined memory addresses as well as offers data fields for additional settings such as normalization scaling factors or signal offsets, which can be used to compensate analog offsets and normalize raw ADC data to other ADC input values and their respective physical struct NPNZ_PORT_t declares its individual source/target memory address, normalization quantity.
volatile int16_t NormScaler |
volatile uint16_t* ptrAddress |