Yahoo Groups archive

AVR-Chat

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

Message

Re: Writing to GIFR register

2006-02-07 by Dave VanHorn

--- In AVR-Chat@yahoogroups.com, "s_shahab_r" <s_shahab_r@...> wrote:
>
> In mega16,I can read the GIFR register but I can't write to GIFR 
> register(to write to external interrupt bits)and this instruction 
dont 
> write to this register:
>   out 0x3a,r24


Did you include the definition file?

The other thing is, writing 1's to the bits clears them.
You can't actually set the bits this way.

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.