Arm interview question

How does a keyboard interrupt work?