Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error in enum SSP_INTCLEAR_T in LPCOpen 2.19

ソリューションへジャンプ
1,177件の閲覧回数
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 解決策
998件の閲覧回数
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 返信
999件の閲覧回数
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 件の賞賛
返信