Author |
Message |
Topic: Problem using CCS Debugger with multiple modules. |
drawbars
Replies: 1
Views: 19129
|
Forum: 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
|
Forum: 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! |
Topic: Global structures |
drawbars
Replies: 8
Views: 9045
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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! ), so that should work out OK, ... |
Topic: Using a RAM structure as a byte array |
drawbars
Replies: 3
Views: 14299
|
Forum: 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 ...
I have a project where I occasionally need ... |
|