Library for build-in ADC and DAC in STM32F446 mounted on Nucleo F446RE. Nucleo F446RE に搭載されている STM32F446 の内蔵 ADC, DAC 用のライブラリ.
Dependents: Demo_F446_AD_DA F446_MySoundMachine F446_ADF_Nlms F446_Spectrogram
Diff: F446_ADC_Interrupt.hpp
- Revision:
- 6:bbc26cf86b70
- Parent:
- 4:16667bdb8227
--- a/F446_ADC_Interrupt.hpp Tue Feb 21 12:56:51 2017 +0000 +++ b/F446_ADC_Interrupt.hpp Tue Feb 21 13:10:46 2017 +0000 @@ -6,7 +6,7 @@ // 割り込みによりアナログ信号を入力するクラス(ヘッダ) // AdcDual クラスの派生クラス // -// 2017/02/16, Copyright (c) 2017 MIKAMI, Naoki +// 2017/02/21, Copyright (c) 2017 MIKAMI, Naoki //---------------------------------------------------------- #ifndef F446_ADC_DUAL_INTERRUPT_HPP @@ -22,7 +22,7 @@ AdcDual_Intr(int frequency) : AdcDual(frequency) { ADC2->CR1 |= ADC_CR1_EOCIE; } - virtual ~AdcDual_Intr(); + virtual ~AdcDual_Intr() {} // -1.0f <= ad1, ad2 <= 1.0f virtual void Read(float &ad1, float &ad2)