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 327 matches
CCS Forum Index
Author Message
  Topic: Call a C function from a asm code ?
future

Replies: 9
Views: 23545

PostForum: General CCS C Discussion   Posted: Mon Sep 02, 2019 4:28 pm   Subject: Call a C function from a asm code ?
Mine are the 4620 and 46k42.

The question is actually how does CCS see the C defined functions in the #asm blocks.
  Topic: Call a C function from a asm code ?
future

Replies: 9
Views: 23545

PostForum: General CCS C Discussion   Posted: Tue Aug 27, 2019 3:38 pm   Subject: Call a C function from a asm code ?
Old topic but no other thread about the issue.

http://www.ccsinfo.com/forum/viewtopic.php?p=15502 is not valid anymore.

Does anybody know the trick?
  Topic: PIC18F4620 <> 18F46Q10
future

Replies: 5
Views: 15465

PostForum: General CCS C Discussion   Posted: Tue Aug 20, 2019 8:05 pm   Subject: PIC18F4620 <> 18F46Q10
Amazing little device.

The new interrupt system and the shadow registers will help a lot.

I do not think that CCS has added new functions for loading the ivt. I have the manual from March/19.
...
  Topic: Preprocessor __LINE__ broken in V5
future

Replies: 5
Views: 13961

PostForum: General CCS C Discussion   Posted: Fri Aug 16, 2019 6:41 pm   Subject: Preprocessor __LINE__ broken in V5
Ttelmah,

Thank you very much for the hint. The extra expand step fixed for V5 while V4 did without it.

I actually made a typo: An extra '\' is part of the original macro.

31 void main( ...
  Topic: Preprocessor __LINE__ broken in V5
future

Replies: 5
Views: 13961

PostForum: General CCS C Discussion   Posted: Thu Aug 15, 2019 9:46 pm   Subject: Preprocessor __LINE__ broken in V5
Actually the idea is to construct a label like: "_l34_:"

#define MT_LABEL_HELP(line) _l##line##_
#define MT_LABEL MT_LABEL_HELP(__LINE__)
It uses the concatenation opera ...
  Topic: Preprocessor __LINE__ broken in V5
future

Replies: 5
Views: 13961

PostForum: General CCS C Discussion   Posted: Tue Aug 13, 2019 10:35 pm   Subject: Preprocessor __LINE__ broken in V5
Hello everybody,

I am trying to make this macro work on version 5. Version 4.100+ preprocesses it correctly, but the later compilers do not.

There is nothing about it in the recent software chan ...
  Topic: PIC18F4620 <> 18F46Q10
future

Replies: 5
Views: 15465

PostForum: General CCS C Discussion   Posted: Wed May 08, 2019 8:05 pm   Subject: PIC18F4620 <> 18F46Q10
Thank you for the input.

The cost ratio is 5.30/1.82. Units in the hundreds.

I have been away from the 18f families. Changed to the dspic and xc16 a few years ago.

I was surprised to see chea ...
  Topic: PIC18F4620 <> 18F46Q10
future

Replies: 5
Views: 15465

PostForum: General CCS C Discussion   Posted: Tue May 07, 2019 12:44 am   Subject: PIC18F4620 <> 18F46Q10
Hello everybody,

I have just came across this new chip and it looks to be a good cheaper replacement for the 4620 I've been using for years now.

Since this is an old project I also have an old c ...
  Topic: [off topic] timstamping edges of multliple square waves
future

Replies: 6
Views: 9460

PostForum: General CCS C Discussion   Posted: Thu Apr 23, 2015 10:08 am   Subject: [off topic] timstamping edges of multliple square waves
Found the PIC24EP512GU814. It says 16 OC + 16 IC. MC always have always shared IC/OC modules.. Did I really see 32 modules?
  Topic: [off topic] timstamping edges of multliple square waves
future

Replies: 6
Views: 9460

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2015 5:57 pm   Subject: [off topic] timstamping edges of multliple square waves
I need 1uS resolution for frequencies up to 20khz. It is not simple to do without additional hardware.
  Topic: [off topic] timstamping edges of multliple square waves
future

Replies: 6
Views: 9460

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2015 3:14 pm   Subject: [off topic] timstamping edges of multliple square waves
Hey guys,

I am searching for a clever solution to timestamp edges of 16 square waves.

Do you know a good circuit or trick?

Thank you.
  Topic: OSA - RTOS for PIC controllers
future

Replies: 69
Views: 414155

PostForum: Code Library   Posted: Sun Sep 23, 2012 8:03 am   Subject: OSA - RTOS for PIC controllers
It tells the compiler to not remove the function otherwise it will not get into the final code.
  Topic: The use of 'offsetof'
future

Replies: 1
Views: 3810

PostForum: General CCS C Discussion   Posted: Mon Mar 12, 2012 8:51 am   Subject: The use of 'offsetof'
Hello,

I am trying to retrieve the offset of a struct member.

typedef struct __cfg__ {
char params[200];
};

typedef struct __cfg_file__ {
char ...
  Topic: CAN simulation in proteus using CCS compiler
future

Replies: 4
Views: 8207

PostForum: General CCS C Discussion   Posted: Tue Nov 01, 2011 5:14 pm   Subject: CAN simulation in proteus using CCS compiler
As far as I know, CAN is not implemented in Isis.
  Topic: array of function pointers
future

Replies: 3
Views: 6480

PostForum: General CCS C Discussion   Posted: Wed May 04, 2011 5:32 pm   Subject: array of function pointers
I would not waste time trying to use function pointers with ccs. Build a switch() with one case for each function you want, wrap it in a function and call it with the number you want.

The compiler ...
 
Page 1 of 22 Goto page 1, 2, 3 ... 20, 21, 22  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group