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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/06/06 17:32
Read: times


 
#119758 - another example of two things
Responding to: ???'s previous message
As a rule I avoid structs of bit fields for that very reason. Plus they are terribly inefficient and end up doing the shifts ands and ors that you would do by hand anyway.

another example of two things
1) do not approach the '51 with a 'C is C' attitude.
2) that something can be done does not necessarily make it right to do it.

Erik


List of 16 messages in thread
TopicAuthorDate
bit variable using struct            01/01/70 00:00      
   Which compiler?            01/01/70 00:00      
   Insuffiicient Info; Post formatted code            01/01/70 00:00      
      Asking for help?            01/01/70 00:00      
         Observation            01/01/70 00:00      
         showing lack of discipline            01/01/70 00:00      
   compiler            01/01/70 00:00      
      Sbit and BData            01/01/70 00:00      
         sbit and BData - code formatted            01/01/70 00:00      
      16 bits            01/01/70 00:00      
         more hint            01/01/70 00:00      
      Std C bitfields != Keil bit-addresssable            01/01/70 00:00      
         What this guy said            01/01/70 00:00      
            another example of two things            01/01/70 00:00      
               The problem with bitfields            01/01/70 00:00      
                  Granted            01/01/70 00:00      

Back to Subject List