cancel
Showing results for 
Search instead for 
Did you mean: 

Asking about Auto Reload Timer interrupt in ST7FLITE29

mrkwon
Associate
Posted on April 27, 2004 at 03:08

Asking about Auto Reload Timer interrupt in ST7FLITE29

2 REPLIES 2
mrkwon
Associate
Posted on April 26, 2004 at 08:16

Hi! there!

I would like to ask about using ART of ST7LITE.

I am using ST7FLITE29 in my project.

As I know that ART is 12bit free-running upcounter.

I am using an ART with 1ms timebase clock.

and I have set the value of ATR to (4096-20).

(it will make ART interrupt every 20ms)

my question is

Do I need to wait for 4096ms, until first overflow interrupt occur??

I want to start counting(every 20ms) as soon as power-up.

give me some advice!

have a nice day !!
jatin
Associate II
Posted on April 27, 2004 at 03:08

The counter is incremented continuously as soon as a counter clock is

selected. First time it starts from 0. When a counter overflow occurs, the counter restarts from the value specified in the ATR register.