Yahoo Groups archive

AVR-Chat

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

Message

Re: Getting ExtInt0 to Override ExtInt1

2007-07-20 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "bytheriverkwai" <rll_groups@...> 
wrote:
> How does the AVR do this internally - is the mcu is executing it's 
> own form of "CLI"? Or is it just turning off the Enable flags for 
> INT0 and INT1?

The AVR operates as described in the respective datasheet.  For 
example, for the mega32 it says on page 12:

"When an interrupt occurs, the Global Interrupt Enable I-bit is 
cleared and all interrupts are disabled."

The datasheet goes on to describe how you can re-enable interrupts 
to implement nested interrupts if desired.

The datasheets are chock full of such useful information.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

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.