Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/02/09 13:19
Read: times


 
Msg Score: 0
 +1 Informative
 -1 Overrated
#165749 - W_D_TIMER = 0xfffe;
Responding to: ???'s previous message
PC-Lint is correct to warn here. Due to integer promotion

W_D_TIMER = ~W_D_TIMER;

might give the unexpected result of setting W_D_TIMER. See f.e. previous discussion here:

http://sourceforge.net/mailarchi...rman.ok.us

List of 11 messages in thread
TopicAuthorDate
PC Lint warning: Toggling WatchDog            01/01/70 00:00      
   How to post legible source code            01/01/70 00:00      
   Check what happens if you use !            01/01/70 00:00      
   Try This            01/01/70 00:00      
      Toggling Watchdog            01/01/70 00:00      
         Tried ! yet?            01/01/70 00:00      
            Toggling WatchDog            01/01/70 00:00      
               Still missing the point!            01/01/70 00:00      
   W_D_TIMER = 0xfffe;            01/01/70 00:00      
      It is correct for Keil            01/01/70 00:00      
         Not a hole in the C spec            01/01/70 00:00      

Back to Subject List