1.2.15.27 PDEC_HALL_STATUS Enum

C

typedef enum
{
    PDEC_HALL_STATUS_NONE = 0,
    
    /* Capture status overflow */
    PDEC_HALL_STATUS_OVERFLOW = PDEC_INTFLAG_OVF_Msk,
    
    /* Capture status error */
    PDEC_HALL_STATUS_ERROR = PDEC_INTFLAG_ERR_Msk,
    
    /* Direction change */
    PDEC_HALL_STATUS_DIR = PDEC_INTFLAG_DIR_Msk,
    
    /* Velocity */
    PDEC_HALL_STATUS_VELOCITY = PDEC_INTFLAG_VLC_Msk,
    
    /* Capture status ready for channel 0 */
    PDEC_HALL_STAUTS_COMPARE_MATCH0 = PDEC_INTFLAG_MC0_Msk,
    
    /* Capture status ready for channel 1 */
    PDEC_HALL_STATUS_COMPARE_MATCH1 = PDEC_INTFLAG_MC1_Msk,
    
    PDEC_HALL_STATUS_MSK = PDEC_HALL_STATUS_OVERFLOW | PDEC_HALL_STATUS_ERROR | PDEC_HALL_STATUS_DIR | PDEC_HALL_STATUS_VELOCITY \
    | PDEC_HALL_STAUTS_COMPARE_MATCH0 | PDEC_HALL_STATUS_COMPARE_MATCH1,
    
    /* Force the compiler to reserve 32-bit memory for enum */
    PDEC_HALL_STATUS_INVALID = 0xFFFFFFFF
    
} PDEC_HALL_STATUS;

Summary

Identifies Hall mode interrupt source mask.

Description

This enumeration identifies hall mode interrupt source mask.

Remarks

None.