[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are
From: |
Anitha Boyapati |
Subject: |
[avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken |
Date: |
Mon, 04 Oct 2010 07:13:59 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.13) Gecko/20100914 Firefox/3.5.13 |
Follow-up Comment #6, bug #30363 (project avr-libc):
Bill Perry's patch doesn't define the following cases:
1. The maximum delay that can be provided in _ms.
With the new implementation, the values change. If delay_ms() is considered,
maximum delay that can be provided is:
_ms = (2^32-1)*(10^-3) /F_CPU in MHz
= 4294967.295
(Note that the maximum value that can be given to
__builtin_avr_delay_cycles() is 0xFFFF FFFF )
If the requested delay is greater than the above value in milli seconds, can
the approach be similar to earlier one where the resolution is decreased to
1/10 ms?
2. Similarly maximum delay that can be provided in _us. (Resolution is not
decreased in this case, but delay_ms will be called for values greater than
(2^32-1)/F_CPU)
Comments... ?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30363>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #30363] _delay_xx() functions in <util/delay.h> are broken,
Anitha Boyapati <=
- [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, 2010/10/07
- 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