On Sunday 30 January 2005 02:37, Eric wrote: > 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. Atmel's AVR does have interrupts of various types. The counters don't hardware interrupt on every count, but they can hardware interrupt on counter comparison match(es) and overflow. Look at the interrupt vector table documentation for the device you're using and it'll show what interrupts are available. The documentation also describes how the appropriate interrupts can be enabled. > Is this always true on the Atmel products, or is it I have not got > to know all the Atmel family yet? Atmel makes lots of different microcontrollers. This is an AVR list. -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! X against HTML mail | Copy me into your ~/.signature / \ and postings | to help me spread!
Message
Re: [AVR-Chat] Interrupts
2005-01-30 by Bernd Felsche
Attachments
- No local attachments were found for this message.