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
Diff: tim4_slaveSelect.hpp
- Revision:
- 5:ff25db28bc64
- Parent:
- 4:03c4518de836
--- a/tim4_slaveSelect.hpp Mon Mar 16 23:59:24 2015 +0000 +++ b/tim4_slaveSelect.hpp Thu Mar 26 12:41:31 2015 +0000 @@ -3,7 +3,7 @@ // // Default pin assignments: PB_6 (D10) // PB_7, PB_8 (D15), and PB_9 (D14) also can be used -// 2014/12/21, Copyright (c) 2014 MIKAMI, Naoki +// 2015/03/26, Copyright (c) 2015 MIKAMI, Naoki //------------------------------------------------------ #ifndef TIM4_SLAVESELECT_HPP @@ -17,7 +17,7 @@ { public: Tim4_ss(uint16_t psc, // prescaler - uint16_t arr = 18, // auto-reload register + uint16_t arr, // auto-reload register PinName pin = PB_6) // pin name : myTim_(TIM4) {