interrupt::enable and interrupt::clear are currently hard coded to work only for the user button.
Allow these to work for any interrupt the user may want to use on the board.
Also, add UserButton.interrupt_enable() and UserButton.interrupt_clear() methods?
interrupt::enable and interrupt::clear are currently hard coded to work only for the user button. Allow these to work for any interrupt the user may want to use on the board.
Also, add
UserButton.interrupt_enable()
andUserButton.interrupt_clear()
methods?