SPI Register Read
Read data from SPI peripheral device register
Libraries:
Simulink Coder Support Package for BBC micro:bit/Basic
Simulink Coder Support Package for STMicroelectronics Nucleo Boards/
Common
Simulink Coder Support Package for STMicroelectronics Discovery Boards/
STM32F746G-Discovery
Simulink Coder Support Package for STMicroelectronics Discovery Boards/
STM32F769I-Discovery
Description
The SPI Register Read block reads the data from registers of a peripheral device over the Serial Peripheral Interface (SPI) interface. Using this block, you can access an SPI device to measure quantities such as temperature, pressure or to support EEPROM.
For more information on SPI communication, see Support SPI Communication.