mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-04-15 07:47:30 +03:00
At first I thought I had to check the interrupt source when my interrupt handler was called. But then, the smart card insertion pin was never marked as the interrupt source in the PIO_ISR. It turns out, the ISR register is cleared on read, which is done by the atmel lib function PioInterruptHandler.