|
Serial Peripheral Interface Reusable Driver (Master-Slave) v1.1
This project implements SPI reusable driver that can be adapted to various microcontrollers.
|
| ▼ SPI slave | |
| ▼ include | |
| dio.h | The interface definition for the DIO. This is the header file for the definition of the interface for a digital input/output peripheral on a standard microcontroller |
| dio_cfg.h | This module contains interface definitions for the Dio configuration. This is the header file for the definition of the interface for retrieving the digital input/output configuration table |
| spi.h | The interface definition for the SPI. This is the header file for the definition of the interface for a Serial Peripheral Serial (SPI) on a standard microcontroller |
| spi_cfg.h | This module contains interface definitions for the SPI configuration. This is the header file for the definition of the interface for retrieving the Serial Peripheral interface configuration table |
| ▼ src | |
| dio.c | The implementation for the DIO driver |
| dio_cfg.c | This module contains the implementation for the digital input/output peripheral configuration |
| main.c | Implement a slave SPI driver using Nucleo-F401RE. Send a value to the master continuously |
| spi.c | The implementation for the SPI Driver |
| spi_cfg.c | This module contains the implementation for the Serial Peripheral Interface (SPI) |
| ▼ SPI_Master | |
| ▼ include | |
| dio.h | The interface definition for the DIO. This is the header file for the definition of the interface for a digital input/output peripheral on a standard microcontroller |
| dio_cfg.h | This module contains interface definitions for the Dio configuration. This is the header file for the definition of the interface for retrieving the digital input/output configuration table |
| spi.h | The interface definition for the SPI. This is the header file for the definition of the interface for a Serial Peripheral Serial (SPI) on a standard microcontroller |
| spi_cfg.h | This module contains interface definitions for the SPI configuration. This is the header file for the definition of the interface for retrieving the Serial Peripheral interface configuration table |
| ▼ src | |
| dio.c | The implementation for the DIO driver |
| dio_cfg.c | This module contains the implementation for the digital input/output peripheral configuration |
| main.c | Implement a master SPI driver using Nucleo-F401RE. Receive a a value and send back to the receiver |
| spi.c | The implementation for the SPI Driver |
| spi_cfg.c | This module contains the implementation for the Serial Peripheral Interface (SPI) |