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

SPI Interrupt

  • Norman Dunbar

摘要

In this chapter, we will take a look at the SPI interrupt. This is another interrupt that you don’t see in the Arduino Language, but after reading this chapter, hopefully, you will be better armed and able to use it to good effect in your own code. SPI is the Serial Peripheral Interface and is used to exchange data with a peripheral, one bit at a time, using shift registers. The information on the following pages will help you realize that when using other shift registers such as the SN74HC595, you can actually talk to them over SPI rather than using the Arduino’s shiftIn() and shiftOut() functions.