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: Enable/disable interrupts
pudozh

Replies: 4
Views: 13916

PostForum: General CCS C Discussion   Posted: Fri May 08, 2015 10:19 am   Subject: Enable/disable interrupts
Thanks for suggest :

I've changed the code but the working is the same.

CLC4 FF give interrupt, interrupt on timer2 starts but at the end of routine
pin a1 reset the clc flip flop and after n ...
  Topic: Enable/disable interrupts
pudozh

Replies: 4
Views: 13916

PostForum: General CCS C Discussion   Posted: Fri May 08, 2015 8:13 am   Subject: Enable/disable interrupts
Good day

a mistake on CLC4 int routine:

T2CON = 0b000110110; // timer2 on wrong

T2CON = 0b00101110; // timer2 on correct

Regards
  Topic: Enable/disable interrupts
pudozh

Replies: 4
Views: 13916

PostForum: General CCS C Discussion   Posted: Fri May 08, 2015 8:05 am   Subject: Enable/disable interrupts
Good day

i must perform enabling an interrupt ( and a timer) while executing an another interrupt:
code:

#include <16F1509.h>
#device ADC=10

#FUSES NOMCLR //no MCLR ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group