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 {
But when I see the definition of
SSP_RORIC = 0x0,
SSP_RTIC = 0x1,
SSP_INT_CLEAR_BITMASK = 0x3,
} SSP_INTCLEAR_T;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;
已解决! 转到解答。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------