Pin Change Interrupts
摘要
Pin Change interrupts are another example of the external interrupts discussed in the previous chapter. This time, instead of having only two special pins to use, we have 20 pins to play with. Unfortunately, instead of having two dedicated interrupts like INT0 and INT1, we have to share the interrupts between three different handlers. This requires a bit of thought in determining which of the covered pins triggered the interrupt – this chapter explains all.