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

how to increment Timers externally?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bells_electronics



Joined: 05 Dec 2009
Posts: 40

View user's profile Send private message

how to increment Timers externally?
PostPosted: Wed Oct 06, 2010 9:03 pm     Reply with quote

I want to know that is it possible to increment Timers (as counter) externally via pins? Without using any "external interrupt pin then in ISR increment timer".
I want directly via PINs ??

I am using PIC16F877A , 18F4550.

Tell me what should I do ??
andrewg



Joined: 17 Aug 2005
Posts: 316
Location: Perth, Western Australia

View user's profile Send private message Visit poster's website

PostPosted: Wed Oct 06, 2010 9:47 pm     Reply with quote

I think you should read the respective data sheets and see which timers are connected to external pins. From memory, Timer 0 and 1 of both those chips each support external inputs, and Timer 1 additionally supports async counting (i.e. while asleep). The data sheet will tell you for sure.
_________________
Andrew
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group