Rough initial commit to prove that we can get an ISR and service it

Should handle the ISR for rising or falling and stuff the level (for
now always 0) into a buffer.