Jump to main content

# 1.1.4.47 DRV_METROLOGY_CALIBRATION_MASK Struct

## C

    typedef struct {
        unsigned int magnitudeVa : 1;
        unsigned int magnitudeVb : 1;
        unsigned int magnitudeVc : 1;
        unsigned int magnitudeVd : 1;
        unsigned int magnitudeIa : 1;
        unsigned int magnitudeIb : 1;
        unsigned int magnitudeIc : 1;
        unsigned int magnitudeIn : 1;
        unsigned int anglePhaseA : 1;
        unsigned int anglePhaseB : 1;
        unsigned int anglePhaseC : 1;
        unsigned int anglePhaseN : 1;
        unsigned int angleVAB : 1;
        unsigned int angleVAC : 1;
        unsigned int vRefPhaseN : 2;
    } DRV_METROLOGY_CALIBRATION_MASK;

## Summary

Mask to select which metrology parameters are calibrated.

## Description

Field description:

- magnitudeVx: Enables calibration of voltage channel Vx magnitude
- magnitudeIx: Enables calibration of current channel Ix magnitude
- anglePhaseX: Enables calibration of phase X angle (angle between IX and VX)
- angleVAB: Enables calibration of angle between VB and VA
- angleVAC: Enables calibration of angle between VC and VA
- vRefPhaseN: Selects the reference voltage channel for neutral current angle calibration

Rev: E