Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Pic 16f877 Timer1 prescalar, what does it do??

Status
Not open for further replies.

Anuradha1

Member level 2
Member level 2
Joined
Nov 11, 2009
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
India
Activity points
1,570
Hello all,

An some one clearly explain what does timer1 prescalar do?
According to the data sheet prescalars can be used by setting the T1CIN register.

What I really wants to know the different I can achieve when am running without prescalar and when am using prescalar 1:4 etc
 

It slows the timer down. For example, in timer mode, timer1 is incremented with every clock cycle if the prescaler is 1:1. But when the prescaler is 1:8, it is incremented with each 8th cycle.

The postscaler on the other hand, which can be used with timer2, sets the number of timer overflows before an interrupt can occur. 1:1 postscaler means every timer overflow triggers the timer2 interrupt where 1:2 means every 2nd overflow triggers the timer2 interrupt.
 

    Anuradha1

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top