Jump to main content

# 1.1.4.38 DRV_METROLOGY_STATUS Enum

## C

    typedef enum
    {
        DRV_METROLOGY_STATUS_UNINITIALIZED = SYS_STATUS_UNINITIALIZED,
        DRV_METROLOGY_STATUS_BUSY = SYS_STATUS_BUSY,
        DRV_METROLOGY_STATUS_READY = SYS_STATUS_READY,
        DRV_METROLOGY_STATUS_HALT = SYS_STATUS_READY_EXTENDED + 1U,
        DRV_METROLOGY_STATUS_WAITING_IPC = SYS_STATUS_READY_EXTENDED + 2U,
        DRV_METROLOGY_STATUS_INIT_DSP = SYS_STATUS_READY_EXTENDED + 3U,
        DRV_METROLOGY_STATUS_RUNNING = SYS_STATUS_READY_EXTENDED + 4U,
        DRV_METROLOGY_STATUS_ERROR = SYS_STATUS_ERROR,
    } DRV_METROLOGY_STATUS;

## Summary

Identifies the status of the Metrology library.

## Description

- DRV_METROLOGY_STATUS_UNINITIALIZED: Metrology driver has not been initialized
- DRV_METROLOGY_STATUS_BUSY: Metrology driver is initializing, not yet ready to be used
- DRV_METROLOGY_STATUS_READY: Metrology driver is ready to be used
- DRV_METROLOGY_STATUS_HALT: Metrology driver has been initialized but not opened
- DRV_METROLOGY_STATUS_WAITING_IPC: Metrology driver is waiting the init IPC interrupt from the metrology lib as part of the opening routine
- DRV_METROLOGY_STATUS_INIT_DSP: IPC interrupt has been triggered indicating that DSP filters has been stabilized to full accuracy
- DRV_METROLOGY_STATUS_RUNNING: Metrology library is running and periodic data acquisition is performed
- DRV_METROLOGY_STATUS_ERROR: Metrology driver has entered an error state

## Remarks

None.

Rev: E