Skip to main content
Visitor II
April 27, 2004
Question

Asking about Auto Reload Timer interrupt in ST7FLITE29

  • April 27, 2004
  • 2 replies
  • 660 views
Posted on April 27, 2004 at 03:08

Asking about Auto Reload Timer interrupt in ST7FLITE29

    This topic has been closed for replies.

    2 replies

    mrkwonAuthor
    Visitor II
    April 26, 2004
    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 !!
    Visitor II
    April 27, 2004
    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.