Jump to main content

##

# 3.11.2 tmcTypes_DQ_s Struct

## C

    /* Structure representing DQ rotating frame quantities: Floating point version
    typedef struct
    {
        float32_t d;          /* D axis quantity */
        float32_t q;          /* Q axis quantity */
    }tmcTypes_DQ_s;

    /* Structure representing DQ rotating frame quantities: Fixed point version */
    typedef struct
    {
        int16_t d;             /* D axis quantity */
        int16_t q;             /* Q axis quantity */
    } tmcTypes_DQ_s;

## Summary

Structure representing the DQ rotating frame quantities.

## Description

This structure is used to hold the DQ rotating frame quantities, such as current and voltage.

## Remarks

Refer the generated header file for the exact typedef signature.