AM中波放送用SDR.CICフィルタのみを使用.CQ出版社「トランジスタ技術」誌,2021年4月号に掲載

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Dec 01 00:37:44 2021 +0000
Parent:
2:4bec6b2be809
Commit message:
4

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Aug 29 11:19:03 2020 +0000
+++ b/main.cpp	Wed Dec 01 00:37:44 2021 +0000
@@ -6,7 +6,7 @@
 //      入力ピン: A1
 //      出力ピン: A2
 //
-//  2020/08/17, Copyright (c) 2020 MIKAMI, Naoki
+//  2021/12/01, Copyright (c) 2021 MIKAMI, Naoki
 //-------------------------------------------------------------
 
 #include "F446_ADC_Intr.hpp"    // ADC
@@ -60,7 +60,7 @@
     if (++count >= DS_RATE_)
     {
         count = 0;
-        NVIC->STIR |= EXTI4_IRQn;   // ソフトウェア割り込み発生
+        NVIC->STIR = EXTI4_IRQn;    // ソフトウェア割り込み発生
     }
 }