AnsweredAssumed Answered

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

Question asked by jinli wang on Jun 21, 2017
Latest reply on Jun 26, 2017 by soledad

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.

Outcomes