Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

Jump to solution
545 Views
mehdimigault
Contributor I

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;

Labels (4)
Tags (3)
0 Kudos
1 Solution
366 Views
jeremyzhou
NXP Employee
NXP Employee

Hi y Mehdi MIGAULT,

Thanks for your sharing.

And I will report the kind of error to the LPCOpen team for confirming.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
367 Views
jeremyzhou
NXP Employee
NXP Employee

Hi y Mehdi MIGAULT,

Thanks for your sharing.

And I will report the kind of error to the LPCOpen team for confirming.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos