Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:software:homelab:library:delay [2010/03/25 18:34] mikk.leinien:software:homelab:library:delay [2020/07/20 12:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Delay ====== ====== Delay ======
  
-This part of library contains functions to generate delays in program with software algorithms or with hardware timers. Delays do not block interrupts therefore software delays are interfered by them. Delay functions are not pre-compiled to be compatible with different clock frequencies.+This part of library contains functions to generate delays in the program with software algorithms or with hardware timers. Delays do not block interruptstherefore interrupts interfere with software delays. Delay functions are not pre-compiled to be compatible with different clock frequencies.
  
 ===== Functions ===== ===== Functions =====
Line 14: Line 14:
  
   * **//void hw_delay_ms(unsigned short count)//** \\'   * **//void hw_delay_ms(unsigned short count)//** \\'
-    Hardware timer based delay in milliseconds. Functions uses ATmega128 8-bit timer 0. Depending of the clock frequency, delay error up to several milliseconds may occur. Parameters:+    Hardware timer based delay in milliseconds. Functions use ATmega128 8-bit timer 0. Depending of the clock frequency, up to several milliseconds delay error  may occur. Parameters:
     * //count// - Delay time in milliseconds. 0 to 65535 ms.     * //count// - Delay time in milliseconds. 0 to 65535 ms.
  
en/software/homelab/library/delay.1269534894.txt.gz · Last modified: (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0