Commit 358619f222d2a3610168eb34a0db2c4b09e4e618
authorMichel Pollet <buserror@gmail.com>
Tue, 22 Dec 2009 16:24:35 +0000 (16:24 +0000)
committerMichel Pollet <buserror@gmail.com>
Tue, 22 Dec 2009 16:24:35 +0000 (16:24 +0000)
tree89ea6a8018bca5dc394b2bb10ef54914591365d6
parent31d6eeca16f2cbdfae2043f73f4b27001ec4b254
Message:
timer: Implemented some of the ICR based timers

Also made a PWM and a Fast PWM mode. Fast pwm doesm't use the
interrupts, as most of the time it's never used. Aldo it kills
performanves when calling a timer every 400 cycles.

Signed-off-by: Michel Pollet <buserror@gmail.com>
7 files changed:
simavr/cores/sim_megax4.h
simavr/cores/sim_megax8.h
simavr/cores/sim_tiny13.c
simavr/cores/sim_tiny2313.c
simavr/cores/sim_tinyx5.h
simavr/sim/avr_timer.c
simavr/sim/avr_timer.h