Jump to main content

# 2.1.4.42 DRV_MCMETROLOGY_AFE_EVENTS Struct

## C

    typedefstruct {
        uint16_t swell;
        uint16_t sag;
        uint16_t creep;
        uint16_t phActive;
    } DRV_MCMETROLOGY_AFE_EVENTS;

## Summary

Identifies all events related to metrology library.

## Description

Field description:

- swell: A bitmap of the Voltage SWELL Detected Flag for Channels (bit 0 corresponds to Channel 0). The result is updated just for the channels configured as voltage. "1" means that voltage Swell x is detected.
- sag: A bitmap of the Voltage SAG Detected Flag for Channels (bit 0 corresponds to Channel 0). The result is updated just for the channels configured as voltage. "1" means that voltage Sag x is detected.
- creep: A bitmap of the CREEP Detected Flag for Channel x (bit 0 corresponds to Channel 0). The result is updated just for the channels configured as current. "1" means that voltage Creep x is detected.
- phActive: A bitmap of the Phase Detected Flag for Channel x (bit 0 corresponds to Channel 0). "1" means that Phase x is active.

## Remarks

None.

Rev: E