Implementing the SPI includes:
Declaring SPI function prototypes.
Implementing the SPI functions.
Implementing the client-side binding functions.
Create or modify the following files when implementing the service SPI:
File
Description
xxxspi.c
Implements the service SPI functions.
xxxspi.h
Contains SPI prototypes.