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 3 matches
CCS Forum Index
Author Message
  Topic: Code explanation
docp

Replies: 6
Views: 6182

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2011 2:35 am   Subject: Code explanation


What's causing the confusion? The C, the maths, or the use of hardware?

RF Developer

I just wanted some more clarification of that line of code, I see that you explained there is a shift of ...
  Topic: Code explanation
docp

Replies: 6
Views: 6182

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2011 12:03 am   Subject: Code explanation
Many thanks.

I am trying to find out this part particularly,

period = ((int32)0x1000 * (int32)overflow_count) - (int32)start_time + (int32)end_time;
  Topic: Code explanation
docp

Replies: 6
Views: 6182

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2011 7:09 am   Subject: Code explanation
I have been out of coding for some time and wanted to find out if someone can fully explain the code below.

#INT_TIMER1
void TIMER1_isr(void)
{
++overflow_count;
}

#I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group