5.2 Configuring Bus (SPI) Wrapper
Perform the following changes in the bus (SPI) wrapper file.
- Rename the file
                    
nm_bus_wrapper_sam21.ctonm_ bus_wrapper_xyz.c,wherexyz= the third party MCU. - Modify the following set of functions
                based on the third party MCU bus (SPI).
nm_bus_init– This function is used for SPI bus initialization.Figure 5-2. Functional Code 
nm_bus_ioctl– This function provides functionality to send/receive data using SPI.
                        nm_bus_deinit– This function is used to de-initialize the SPI bus.
                        nm_bus_reinit– This function is used to re-initialize the SPI bus.
 
