analog interrupt working