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

Back to Subject List

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


 
#118209 - Make8
Responding to: ???'s previous message

#define make8(var,offset)	(var >> (offset * 8)) & 0xFF
#define	make16(varhigh,varlow)	((varhigh & 0xFF)* 0x100) + (varlow & 0xFF)
#define make32(var1,var2,var3,var4) \
		((unsigned long)var1<<24)+((unsigned long)var2<<16)+ \
		((unsigned long)var3<<8)+((unsigned long)var4)






How's that? It look that same as it is in my IDE...messy.

List of 13 messages in thread
TopicAuthorDate
PacketWacker Transmit size limition.            01/01/70 00:00      
   byte?            01/01/70 00:00      
      datasheet            01/01/70 00:00      
         oops            01/01/70 00:00      
            Horse's mouth            01/01/70 00:00      
         Semantics            01/01/70 00:00      
         number of bytes, not width of data            01/01/70 00:00      
            RBCR0,1            01/01/70 00:00      
               Clear IMR?            01/01/70 00:00      
            code sample.            01/01/70 00:00      
               Your Code            01/01/70 00:00      
                  Make8            01/01/70 00:00      
   I works know.            01/01/70 00:00      

Back to Subject List