STM32F446 の内蔵 ADC, DAC 用のライブラリ.このライブラリを登録した際のプログラム: Demo_DSP_ADDA. Library for build-in ADC and DAC in STM32F446.

Dependents:   Demo_DSP_ADDA F446_DSP_FFT_Analyzer TrG_FFT_Analyzer DSP_MultirateLinearphase ... more

Revision:
3:a1dcee67c67e
Parent:
2:7d58c617d76a
--- a/DSP_AdcBase.hpp	Sat Nov 07 02:12:24 2020 +0000
+++ b/DSP_AdcBase.hpp	Sun Dec 20 08:04:35 2020 +0000
@@ -1,7 +1,7 @@
 //-------------------------------------------------------------
 //  STM32F446 内蔵 ADC のための抽象基底クラス(ヘッダ)
 //
-//  2020/11/07, Copyright (c) 2020 MIKAMI, Naoki
+//  2020/12/20, Copyright (c) 2020 MIKAMI, Naoki
 //-------------------------------------------------------------
 
 #include "mbed.h"
@@ -15,17 +15,17 @@
 
 namespace Mikami
 {
-    class DspAdc_Base
+    class DspAdcBase
     {
     public:
         // コンストラクタ
         //      fSampling   標本化周波数 [kHz]
         //      pin         入力ピンの名前
         //      adc         AD 変換器: ADC1, ADC2, ADC3 のいずれか
-        DspAdc_Base(float fSampling, PinName pin,
+        DspAdcBase(float fSampling, PinName pin,
                     ADC_TypeDef* const adc = ADC2);
 
-        virtual ~DspAdc_Base() {}
+        virtual ~DspAdcBase() {}
 
         // AD 変換された値を読み込む
         //      -1.0f <= AD変換された値 < 1.0f
@@ -47,8 +47,8 @@
         bool PinmapMatch(PinName pin, ADC_TypeDef* const adc);
 
         // コピー・コンストラクタ,代入演算子の禁止のため
-        DspAdc_Base(const DspAdc_Base&);
-        DspAdc_Base& operator=(const DspAdc_Base&);
+        DspAdcBase(const DspAdcBase&);
+        DspAdcBase& operator=(const DspAdcBase&);
     };
 }
 #endif  // DSP_ADC_BASE_HPP
\ No newline at end of file