Function 'chip_TIMER_init' included by LPCOpen library have a wrong flow control

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

Function 'chip_TIMER_init' included by LPCOpen library have a wrong flow control

877件の閲覧回数
jinliwang
Contributor I

pastedImage_1.png

This is the function 'chip_TIMER_Init' in LPCOpen. As we can see, the switch-case statement seem to be expected to add 'break' as the end of one case. Otherwise, the timer0 will be initialize unexpected when I use this function for timer1.

If a correction for this glitch can be  added into next version of LPCOpen, I will appreciate it very much.

タグ(2)
0 件の賞賛
返信
3 返答(返信)

698件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi,

Could you please mention the LPCOpen version you are using?

Could you please mention the device you are using?

Regards

Soledad

0 件の賞賛
返信

698件の閲覧回数
jinliwang
Contributor I

Hi, 

The LPCOpen Version is v3.00c.001 for  LPC5411X.

Thank you for your attention.

0 件の賞賛
返信

698件の閲覧回数
soledad
NXP Employee
NXP Employee

I reported this to our development team.

Thank you for your feedback.

Regards

Soledad

0 件の賞賛
返信