Commit c0985c4fbfa66af4f1f25062bb59d023035d20a9
authorga <ga@oldell.fish>
Sat, 23 Jan 2021 13:15:17 +0000 (13:15 +0000)
committerga <ga@oldell.fish>
Sat, 23 Jan 2021 13:21:15 +0000 (13:21 +0000)
tree2bbe690422585d3910c14b234541c528e1c35ac3
parent0e03bc6f48b078606b9a970594ee0ef82ffa0117
Message:
Add a test for basic port functions and fix problems found.
avr_extint.c: prevent spurious interrupts.
avr_ioport.c: allow calling program to control value read from PIN.
4 files changed:
simavr/sim/avr_extint.c
simavr/sim/avr_ioport.c
tests/atmega168_ioport.c [new file with mode: 0644]
tests/test_atmega168_ioport.c [new file with mode: 0644]