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@9:81e2caa80fdf, 2021-01-21 (annotated)
- Committer:
- cussans
- Date:
- Thu Jan 21 15:42:00 2021 +0000
- Revision:
- 9:81e2caa80fdf
- Parent:
- 2:ac580453441f
Committing any changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
PaoloB | 0:15d9f9050d21 | 1 | #include "mbed.h" |
PaoloB | 0:15d9f9050d21 | 2 | |
PaoloB | 0:15d9f9050d21 | 3 | |
PaoloB | 0:15d9f9050d21 | 4 | int sendConfiguration(Serial &serialOut, SPI &dac_port, DigitalOut &sync); |
PaoloB | 0:15d9f9050d21 | 5 | |
PaoloB | 0:15d9f9050d21 | 6 | int sendTransfer(unsigned short data, SPI &dac_port, DigitalOut &sync); |
PaoloB | 0:15d9f9050d21 | 7 | |
PaoloB | 2:ac580453441f | 8 | int mySPISend( unsigned short data, SPI &dac_port, DigitalOut &sync); |
PaoloB | 2:ac580453441f | 9 | |
PaoloB | 2:ac580453441f | 10 | int powerMode(SPI &dac_port, DigitalOut &sync, int mode); |
PaoloB | 2:ac580453441f | 11 | |
PaoloB | 2:ac580453441f | 12 | int setPort(SPI &dac_port, DigitalOut &sync, int myPort, int newState); |
PaoloB | 2:ac580453441f | 13 | |
PaoloB | 2:ac580453441f | 14 | int mySPIRead(Serial &serialOut, unsigned short data, SPI &dac_port, DigitalOut &sync); |