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.
Dependencies: BLE_API mbed nRF51822
AD9850.h
00001 //---------------------------------------------------------------- 00002 //---------------------------------------------------------------- 00003 /** 00004 * 中華DDS AD9850のコントロール 00005 * 00006 */ 00007 //---------------------------------------------------------------- 00008 //---------------------------------------------------------------- 00009 00010 #include "mbed.h" 00011 00012 00013 class AD9850 { 00014 00015 public: 00016 AD9850(PinName data, PinName w_clk, PinName fu_ud, PinName reset); 00017 ~AD9850(); 00018 00019 void init(); 00020 void reset(); 00021 void setFrequency(int freq, int pdwon = 0, int phase = 0); 00022 00023 private: 00024 DigitalOut _outBit; 00025 DigitalOut _w_clk; 00026 DigitalOut _fu_ud; 00027 DigitalOut _reset; 00028 }; 00029
Generated on Tue Jul 12 2022 21:12:59 by
1.7.2