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
Revision 6:bbc26cf86b70, committed 2017-02-21
- Comitter:
- MikamiUitOpen
- Date:
- Tue Feb 21 13:10:46 2017 +0000
- Parent:
- 5:7851fd2f875b
- Commit message:
- 7
Changed in this revision
F446_ADC_Interrupt.hpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7851fd2f875b -r bbc26cf86b70 F446_ADC_Interrupt.hpp --- 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)