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

NPNZ_STATUS_s Struct Reference

`#include <power_control/drivers/npnz16b.h>`

Collaboration diagram for NPNZ_STATUS_s:

## Detailed Description

Definition at line 183 of file npnz16b.h.

## Field Documentation

## ◆ agc_enabled

volatile bool agc_enabled

Bit 11: when set, Adaptive Gain Control Modulation is enabled.

Definition at line 198 of file npnz16b.h.

## ◆ enabled

volatile bool enabled

Bit 15: enables/disables control loop execution.

Definition at line 202 of file npnz16b.h.

## ◆ invert_input

volatile bool invert_input

Bit 14: when set, most recent error input value to controller is inverted.

Definition at line 201 of file npnz16b.h.

## ◆ lower_saturation_event

volatile bool lower_saturation_event

Bit 0: control loop is clamped at minimum output level.

Definition at line 186 of file npnz16b.h.

## ◆ swap_source

volatile bool swap_source

Bit 13: when set, AltSource is used as data input to controller.

Definition at line 200 of file npnz16b.h.

## ◆ swap_target

volatile bool swap_target

Bit 12: when set, AltTarget is used as data output of controller.

Definition at line 199 of file npnz16b.h.

## ◆ unsigned

volatile unsigned

Bit 2: reserved.

Bit 11: reserved.

Bit 9: reserved.

Bit 8: reserved.

Bit 7: reserved.

Bit 6: reserved.

Bit 5: reserved.

Bit 4: reserved.

Bit 3: reserved.

Definition at line 188 of file npnz16b.h.

## ◆ upper_saturation_event

volatile bool upper_saturation_event

Bit 1: control loop is clamped at maximum output level.

Definition at line 187 of file npnz16b.h.

## ◆ value

volatile uint16_t value

Controller status full register access.

Definition at line 204 of file npnz16b.h.

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

- dpsk_boost_vmc.X/sources/power_control/drivers/npnz16b.h