Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

跳至解决方案
774 次查看
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;

标签 (4)
标记 (3)
0 项奖励
回复
1 解答
595 次查看
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 项奖励
回复
1 回复
596 次查看
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 项奖励
回复