AnsweredAssumed Answered

Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

Question asked by Mehdi MIGAULT on Sep 16, 2016
Latest reply on Sep 20, 2016 by jeremyzhou

I think there is an error in the declaration of enum SSP_INTCLEAR_T in ssp_18xx_43xx.h

It currently is 

typedef enum _SSP_INTCLEAR {
SSP_RORIC = 0x0,
SSP_RTIC = 0x1,
SSP_INT_CLEAR_BITMASK = 0x3,
} SSP_INTCLEAR_T;

But when I see the definition of Chip_SSP_ClearIntPending I think it should be

typedef enum _SSP_INTCLEAR {
SSP_RORIC = (1<<0),
SSP_RTIC = (1<<1),
SSP_INT_CLEAR_BITMASK = 0x3,
} SSP_INTCLEAR_T;

Outcomes