Class library for internal ADC and DAC connected by SPI. This library support clock generator using TIM3 for switched-capacitor filter to smooth output signal of DAC. This library includes derivative class to support interrupt occured in end of AD conversion. Validated for ST Nucleo F401RE, F411RE. 内蔵 ADC と,SPI 接続の DAC のためのクラスライブラリ.DAC の出力信号を平滑化するためのスイッチトキャパシタフィルタ用のクロックは TIM3 を使用.ST Nucleo F401RE,F411RE で動作を確認.

Dependents:   UITDSP_ADDA_Example UIT2_MovingAv_Intr UIT2_VariableFIR UIT2_VowelSynthesizer ... more

Revision:
7:14cdca8b48f8
Parent:
4:03c4518de836
--- a/ADC_Interrupt.hpp	Tue Mar 31 06:01:38 2015 +0000
+++ b/ADC_Interrupt.hpp	Sun Apr 19 09:39:28 2015 +0000
@@ -1,7 +1,7 @@
 //------------------------------------------------------
 // Derived class of ADC_Base for use interrupt
 //
-// 2015/03/14, Copyright (c) 2015 MIKAMI, Naoki
+// 2015/04/19, Copyright (c) 2015 MIKAMI, Naoki
 //------------------------------------------------------
 
 #ifndef ADC_INTERRUPT_HPP
@@ -55,7 +55,7 @@
         }
 
         // Software start with disable IRQ
-        virtual void SoftStart()
+        void SoftStart()
         {
             NVIC_DisableIRQ(ADC_IRQn);
             myAdc_->CR2 |= ADC_CR2_SWSTART;