[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h>
From: |
Boyapati, Anitha |
Subject: |
RE: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken |
Date: |
Thu, 7 Oct 2010 15:47:08 +0200 |
>> I think it can be argued either wise - "round up" or "round down". Both
>have
>> trade-offs. When "round up" is used, the user might end up wondering why
>delay
>> is a little more than what he bargained for.
>
>Round Up might take a cycle or two or more than was asked for, which
>I doubt would surprise anyone.
So, is it generally ok to give more delay than that is requested? I mean, would
it not run into same problems as providing less delay run into?
>
>Any amount less than what was asked for might be a big surprise when
>something goes terribly wrong because the delay was not long enough.
>
>Always go for the operation of "Least Surprise".
Yes, the problem is figuring out which turns out to be least surpring :(
Regards
Anitha
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/04
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/05
- [avr-libc-dev] RE: [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Boyapati, Anitha, 2010/10/05
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Bill Perry, 2010/10/05
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/06
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Bill Perry, 2010/10/06
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/07
- Re: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Bob Paddock, 2010/10/07
- RE: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken,
Boyapati, Anitha <=
- Re: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Paulo Marques, 2010/10/07
- RE: [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Boyapati, Anitha, 2010/10/07
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/07
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Bill Perry, 2010/10/07
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/11
- [avr-libc-dev] RE: [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Boyapati, Anitha, 2010/10/12
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/13
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken, Anitha Boyapati, 2010/10/13