Added rising and lowering pin interrupts.

Two additional functions with little overhead. Added functionality for no
cost.