Yahoo Groups archive

AVR-Chat

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

Thread

RE: [AVR-Chat] Re: gcc compiler bad behaviour

RE: [AVR-Chat] Re: gcc compiler bad behaviour

2012-04-16 by Tim Mitchell

----Original Message----
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com
[mailto:AVR-Chat@yahoogroups.com] On Behalf Of bayramdavies
Sent: 16 April 2012 12:57 To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: gcc compiler bad behaviour

> So, although the
> compiler is not interested in the value of AdcVal[0] and
> AdcVal[1], it is obliged to read the objects.  This would
> be important if, for example, the read operations had
> hardware side-effects, such as clearing the A-to-D
> interrupt. 

Graham, thanks for that explanation, that makes perfect sense now.

-- 
Tim Mitchell

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.