CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: int16 within a STRUCT
Sonic Concepts

Replies: 2
Views: 5046

PostForum: General CCS C Discussion   Posted: Mon Sep 19, 2005 6:37 pm   Subject: int16 within a STRUCT
Thanks, that worked. Just shows that I know enough to be dangerous but not enough to really know what I'm doing Embarassed
  Topic: int16 within a STRUCT
Sonic Concepts

Replies: 2
Views: 5046

PostForum: General CCS C Discussion   Posted: Mon Sep 19, 2005 6:10 pm   Subject: int16 within a STRUCT
I wanted to basically do something like:
struct {
unsigned preamble:8;
unsigned data:16;
unsigned crc:8;
}message;

but had to go with
struct { ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group