avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] pgm_read_byte_far & Interrupts


From: Anatoly Sokolov
Subject: Re: [avr-libc-dev] pgm_read_byte_far & Interrupts
Date: Tue, 1 Apr 2008 22:53:55 +0400

Hi.

> Is there a comprehensive list of problematic functions? (I know all 
> functions using RAMPZ, but maybe someone assembled a list. )
> Would it be reasonable to turn off and recover interrupts during these 
> commands by default?

  avr-gcc starting with 4.3 save/restore RAMPZ register in interrupt handler 
routines if Z register is used in them. Now pgm_read_*_far functions is 
reentrant.

Anatoly.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]