Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Interrupts

2005-01-29 by stevech

The Atmel chips' timers, like most all micro's, have interrupts (as you
describe) for timers, UART and many other I/O events.


-----Original Message-----
From: Leon Heller [mailto:leon.heller@dsl.pipex.com]
Sent: Saturday, January 29, 2005 10:49 AM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Interrupts



----- Original Message -----
From: Eric
To: AVR-Chat@yahoogroups.com
Sent: Saturday, January 29, 2005 6:37 PM
Subject: [AVR-Chat] Interrupts


I first learnt about microprocessors on the  Motorola  6800 family back in
the mid 70's

They are great, the timers/counters have hardware interrupts, when they are
activated (like a
timers/counters flag been set) , it sends the Micro off to FFFx and FFFx+1
(I can not remember the
correct address) to get the 16 bit address, of were the start of the program
is to service whatever
activated the interrupt, Just like when you start the Micro from a reset,
the address of the start of the
program would be in address FFFE & FFFF.

However the Atmel products don't seem to have this feature, the software
have to continually look to see
if the timers/counters flag have been set, with a software loop.

Is this always true on the Atmel products, or is it I have not got to know
all the Atmel family yet?

The timer/counters can generate interrupts on overflows, you don't need to
poll a flag. It's covered in the data sheets.

Leon
--
Leon Heller, G1HSM
http://www.geocities.com/leon_heller



--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005




Yahoo! Groups Links

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.