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.
AD9850SPI.h
00001 /** 00002 * Fast AD9850 serial interface over SPI 00003 */ 00004 00005 #include <mbed.h> 00006 00007 class AD9850SPI { 00008 00009 public: 00010 AD9850SPI(SPI &spi, PinName fq_ud, PinName reset); 00011 ~AD9850SPI(); 00012 00013 void reset_spi(); 00014 void reset(); 00015 void setFrequency(int freq, int powerdown=0, int phase=0); 00016 00017 private: 00018 SPI &_spi; 00019 DigitalOut _fq_ud; 00020 DigitalOut _reset; 00021 }; 00022
Generated on Mon Jul 25 2022 22:39:35 by
1.7.2