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 06:14
Read: times


 
#165733 - Check what happens if you use !
Responding to: ???'s previous message
~ is a bitwise negate - normally intended for char, int or similar.

sbit is more like a boolean, since it only has two states. There are no extra bits to invert the state of.

Check what lint thinks about the logical negate (!) instead.

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