V2.31
This commit is contained in:
@@ -16,16 +16,16 @@
|
||||
*ADC1 channel 1 (PA1), ADC2 channel 1 (PA1)), the rule group channel obtains
|
||||
*dual ADC conversion data through ADC interrupt.
|
||||
*
|
||||
*Note:only applied toCH32V203
|
||||
*Note:only applied to CH32V20x_D6
|
||||
*/
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
/* Global Variable */
|
||||
u16 Adc_Val[2];
|
||||
u32 temp;
|
||||
s16 Calibrattion_Val1 = 0;
|
||||
s16 Calibrattion_Val2 = 0;
|
||||
vu32 temp;
|
||||
vs16 Calibrattion_Val1 = 0;
|
||||
vs16 Calibrattion_Val2 = 0;
|
||||
|
||||
void ADC1_2_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
/*********************************************************************
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Version : V1.0.0
|
||||
* Date : 2021/06/06
|
||||
* Description : CH32V20x Device Peripheral Access Layer System Source File.
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT6)
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT)
|
||||
* For HSE = 8Mhz (other CH32V203x)
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
|
||||
Reference in New Issue
Block a user