错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Pin Change Interrupts

  • Norman Dunbar

摘要

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.