[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Delays - any good routines?
From: |
Reza Naima |
Subject: |
[avr-gcc-list] Delays - any good routines? |
Date: |
Thu, 8 Jul 2004 03:24:11 -0700 |
User-agent: |
Mutt/1.5.5.1i |
I'm tired of constantly having to modify the _delay_loop_2() parameters
based on the cpu speed, and the argument size limitation (u16). Is
there any utility that i can use in this way :
delay_init(8000000); //cpu freq
delay_us(10);
delay_ms(3422);
etc.. I know it exists for the iar compier (to some degree)...
Reza
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] Delays - any good routines?,
Reza Naima <=