1.2.15.8 1.3.17.8 1.5.16.8 1.32.18.8 PDECx_QDECStatusGet Function

C

PDEC_QDEC_STATUS PDECx_QDECStatusGet (void) // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

Summary

Identifies status of the quadrature interrupts

Description

This function returns the status of the interrupts that occur in quadrature mode.

Precondition

PDECx_QDECInitialize must have been called first.

Parameters

None

Returns

PDEC_QDEC_STATUS - status of the quadrature interrupts

Example

PDEC_QDEC_STATUS status;
status = PDEC_QDECStatusGet();

Remarks

This function is applicable only for quadrature mode.