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: Jump out of while(1) on interrupt
bdivi

Replies: 5
Views: 8222

PostForum: General CCS C Discussion   Posted: Mon Sep 26, 2005 8:49 am   Subject: Jump out of while(1) on interrupt
So it is efectively reseting the PIC. I have two questions here:

1. Can I use the reset_cpu() instead?
2. How I preserve the system state after reset? Is the RAM sufficient or I use the EEPROM?
  Topic: Jump out of while(1) on interrupt
bdivi

Replies: 5
Views: 8222

PostForum: General CCS C Discussion   Posted: Mon Sep 26, 2005 6:46 am   Subject: Jump out of while(1) on interrupt
Yes, I can understand the issue.

The question here is how to work it out - I have no problems loosing the W register and the program counter. I just want to trash them and start over from a specif ...
  Topic: Jump out of while(1) on interrupt
bdivi

Replies: 5
Views: 8222

PostForum: General CCS C Discussion   Posted: Mon Sep 26, 2005 2:27 am   Subject: Jump out of while(1) on interrupt
Hello,

I am writing a program for PIC16 to measure a number of counter related things (freq, period, capacitance, etc.) but I am stuck at managing the button events and change system states. Down i ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group