avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Re: Optimisation of bit set/clear in uint32_t


From: Alex Wenger
Subject: Re: [avr-gcc-list] Re: Optimisation of bit set/clear in uint32_t
Date: Wed, 22 Apr 2009 12:41:18 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Hi,


> Reads or writes, I believe, can be removed when updating a volatile that
> is greater than 8-bits. 

an example is a 16-bit timer counter register, where writing the hi-byte
triggers the uptdate of the timer.

-Alex




reply via email to

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