This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:software:homelab:library:timer [2010/03/25 18:40] – mikk.leini | en:software:homelab:library:timer [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Timers ====== | ====== Timers ====== | ||
| - | This library covers large part of the functionality of ATmega128 timers. There are data types and functions which make usage of timers easier. Unfortunately, | + | This library covers |
| ===== Data types ===== | ===== Data types ===== | ||
| Line 56: | Line 56: | ||
| * **//void timer0_init_normal(timer0_prescale prescale)// | * **//void timer0_init_normal(timer0_prescale prescale)// | ||
| - | Initializes timer 0 in normal mode. In this mode timer counts from 0 to 255 (including). Overflow interrupt can be used. Parameters: | + | Initializes timer 0 in normal mode. In this mode the timer counts from 0 to 255 (including). Overflow interrupt can be used. Parameters: |
| * // | * // | ||