Commit 1898613e4ff3926250bc98e9917fc57b078f48f0
authorMichel Pollet <buserror@gmail.com>
Fri, 4 Dec 2009 22:27:46 +0000 (22:27 +0000)
committerMichel Pollet <buserror@gmail.com>
Fri, 4 Dec 2009 22:27:46 +0000 (22:27 +0000)
tree06ac4a108478066c4f735bbda804384a0e105ef7
parent4acd890a940f5f0cc5a028017aa6b6d3136c33c8
Message:
Many more changes, timed callbacks etc

Now have functions to convert from/to cycles & usecs, use them for
implementing the new "one shot" timer callbacks.
IO modules now use "one shots" to implement "call later" subsystems,
like eeprom, uart, timers and so on.

Signed-off-by: Michel Pollet <buserror@gmail.com>
19 files changed:
simavr/Makefile
simavr/sim/avr_eeprom.c
simavr/sim/avr_eeprom.h
simavr/sim/avr_ioport.c
simavr/sim/avr_spi.c
simavr/sim/avr_timer8.c
simavr/sim/avr_timer8.h
simavr/sim/avr_uart.c
simavr/sim/avr_uart.h
simavr/sim/sim_avr.c
simavr/sim/sim_avr.h
simavr/sim/sim_core.c
simavr/sim/sim_core.h
simavr/sim/sim_gdb.c
simavr/sim/sim_gdb.h
simavr/sim/sim_interrupts.c
simavr/sim/sim_interrupts.h
simavr/sim/sim_irq.c
tests/atmega88_uart_echo.c