Commit 160884eda003b467dfe92cb007c4f25a6cb5e6e1
authorMichel Pollet <buserror@gmail.com>
Sun, 20 Jun 2010 10:24:54 +0000 (11:24 +0100)
committerMichel Pollet <buserror@gmail.com>
Sun, 20 Jun 2010 10:24:54 +0000 (11:24 +0100)
tree78bb18935c3a14b186813ca373e392fbe89afea5
parent630883c7ad7b7db4b59b3a8a9fa5a975408d3278
Message:
ioports: Cleanup and implement PINx toggle

Turns out writing 1 to PINx register toggles the
bit in PORTx. Did'nt know it worked like that...

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_ioport.c