add interrupt functions
Merge pull request #1 from jwaldmann/master

add interrupt functions