Class library for internal ADC and DAC connected by SPI. ADC is triggered by TIM2. 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. Slave select of SPI for DAC is generated using TIM4. Validated for ST Nucleo F401RE, F411RE. New version. 内蔵 ADC と,SPI 接続の DAC のためのクラスライブラリ.ADC の変換開始トリガは TIM2 で発生.DAC の出力信号を平滑化するためのスイッチトキャパシタフィルタ用のクロックは TIM3 を使用.DAC の SPI 用スレーブ選択信号は TIM4 で発生.ST Nucleo F401RE,F411RE で動作を確認.新バージョン
Dependents: UIT2_MovingAverage UIT2_AllpassReverb UIT2_CombReverb UIT2_FIR_LPF_Symmetry ... more
Diff: ADC_Base.cpp
- Revision:
- 9:72fe42a4323c
- Parent:
- 8:f933fcd30408
- Child:
- 13:f2b8af192558
diff -r f933fcd30408 -r 72fe42a4323c ADC_Base.cpp --- a/ADC_Base.cpp Wed Nov 12 08:56:31 2014 +0000 +++ b/ADC_Base.cpp Wed Nov 12 09:02:46 2014 +0000 @@ -3,7 +3,7 @@ // To get bit definition for register in // peripheral, see "stm32f401xe.h" // -// 2014/11/10, Copyright (c) 2014 MIKAMI, Naoki +// 2014/11/12, Copyright (c) 2014 MIKAMI, Naoki //------------------------------------------------------ #include "ADC_Base.hpp"