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:29
Read: times


 
#119756 - What this guy said
Responding to: ???'s previous message
Especially:
The bit field is a standard part of the 'C' language (although their implementation is notoriously non-standard).

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.

GB


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