Author |
Message |
Topic: Code explanation |
docp
Replies: 6
Views: 6182
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|