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 8 matches
CCS Forum Index
Author Message
  Topic: Problem using CCS Debugger with multiple modules.
drawbars

Replies: 1
Views: 19129

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Fri Apr 21, 2006 2:53 pm   Subject: Problem using CCS Debugger with multiple modules.
I am in the process of writing and debugging a rather large program. It has one master module --

master.c

and a number of modules that are included in this file, early in the syntax of mast ...
  Topic: Global structures
drawbars

Replies: 8
Views: 9045

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 12:29 pm   Subject: Global structures
Yeah, that'll work ...

I keep being stubborn and thinking like an Assembly programmer! Laughing
  Topic: Global structures
drawbars

Replies: 8
Views: 9045

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 12:17 pm   Subject: Global structures
Hi,

Thanks for the reply. The answer was about what I suspected. I didn't really want to init the variables inside main(), because they are never used there, but the only other alternative seems ...
  Topic: Global structures
drawbars

Replies: 8
Views: 9045

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 12:06 pm   Subject: Global structures
Latest (v3.245) ...
  Topic: Global structures
drawbars

Replies: 8
Views: 9045

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 10:59 am   Subject: Global structures
Maybe they can be, but they cannot be initialized, etc.

The following code fails.

typedef struct {
BYTE statcnt;
BYTE mtype;
BYTE fnum;
WORD fdata;
} FIELDSTAT;

FIELDSTAT ...
  Topic: Global structures
drawbars

Replies: 8
Views: 9045

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 10:47 am   Subject: Global structures
Hi All,

I'm trying to access several variables of different sizes, both individually, and eventually as a data string to send to the host.


struct mydata { int a; int16 b; int c; int d; int sta ...
  Topic: Using a RAM structure as a byte array
drawbars

Replies: 3
Views: 14299

PostForum: General CCS C Discussion   Posted: Fri Mar 10, 2006 8:20 am   Subject: Using a RAM structure as a byte array
Hi PCM,

Thanks. It looks like a struct is all I need to keep the bytes in line.

And while I said "high-endian," I meant low-endian (the other high-endian! Wink), so that should work out OK, ...
  Topic: Using a RAM structure as a byte array
drawbars

Replies: 3
Views: 14299

PostForum: General CCS C Discussion   Posted: Tue Mar 07, 2006 7:02 pm   Subject: Using a RAM structure as a byte array
Hi All,

This is probably old hat to some of you, and while I've done it 1,000x in Assembler, I'm unsure of how to go about it in PICC ... Confused

I have a project where I occasionally need ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group