Added edge input interrupt handling
Changed the overflow handling in the Config