Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
spi_functions.h
- Committer:
- cussans
- Date:
- 2021-01-21
- Revision:
- 9:81e2caa80fdf
- Parent:
- 2:ac580453441f
File content as of revision 9:81e2caa80fdf:
#include "mbed.h" int sendConfiguration(Serial &serialOut, SPI &dac_port, DigitalOut &sync); int sendTransfer(unsigned short data, SPI &dac_port, DigitalOut &sync); int mySPISend( unsigned short data, SPI &dac_port, DigitalOut &sync); int powerMode(SPI &dac_port, DigitalOut &sync, int mode); int setPort(SPI &dac_port, DigitalOut &sync, int myPort, int newState); int mySPIRead(Serial &serialOut, unsigned short data, SPI &dac_port, DigitalOut &sync);