资源简介
GD32通过规则组寄存器 DMA获取多组 ADC数据样例
代码片段和文件信息
/*!
\file gd32f20x_it.c
\brief interrupt service routines
\version 2015-07-15 V1.0.0 demo for GD32F20x
\version 2017-06-05 V2.0.0 demo for GD32F20x
\version 2019-04-01 V2.1.0 demo for GD32F20x
*/
/*
Copyright (c) 2019 GigaDevice Semiconductor Inc.
All rights reserved.
Redistribution and use in source and binary forms with or without modification
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT
INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT
NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY
WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*/
#include “gd32f20x_it.h“
#include “systick.h“
/*!
\brief this function handles NMI exception
\param[in] none
\param[out] none
\retval none
*/
void NMI_Handler(void)
{
}
/*!
\brief this function handles HardFault exception
\param[in] none
\param[out] none
\retval none
*/
void HardFault_Handler(void)
{
/* if Hard Fault exception occurs go to infinite loop */
while (1);
}
/*!
\brief this function handles MemManage exception
\param[in] none
\param[out] none
\retval none
*/
void MemManage_Handler(void)
{
/* if Memory Manage exception occurs go to infinite loop */
while (1);
}
/*!
\brief this function handles BusFault exception
\param[in] none
\param[out] none
\retval none
*/
void BusFault_Handler(void)
{
/* if Bus Fault exception occurs go to infinite loop */
while (1);
}
/*!
\brief this function handles UsageFault exception
\param[in] none
\param[out] none
\retval none
*/
void UsageFault_Handler(void)
{
/* if Usage Fault
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-11-20 16:42 ADC0_Regular_Parallel\
目录 0 2019-11-20 16:42 ADC0_Regular_Parallel\EWARM\
文件 37514 2019-04-11 14:16 ADC0_Regular_Parallel\EWARM\GD32207I_EVAL.ewd
文件 31833 2019-04-11 14:16 ADC0_Regular_Parallel\EWARM\GD32207I_EVAL.ewp
文件 64038 2019-04-11 14:16 ADC0_Regular_Parallel\EWARM\GD32207I_EVAL.ewt
文件 167 2019-04-11 14:16 ADC0_Regular_Parallel\EWARM\GD32207I_EVAL.eww
文件 3750 2019-04-11 14:16 ADC0_Regular_Parallel\gd32f20x_it.c
文件 2663 2019-04-11 14:16 ADC0_Regular_Parallel\gd32f20x_it.h
文件 2715 2019-04-11 14:16 ADC0_Regular_Parallel\gd32f20x_libopt.h
文件 7983 2019-11-20 19:47 ADC0_Regular_Parallel\main.c
目录 0 2019-11-20 19:54 ADC0_Regular_Parallel\MDK-ARM\
文件 339 2019-11-20 19:49 ADC0_Regular_Parallel\MDK-ARM\EventRecorderStub.scvd
文件 179571 2019-11-20 19:54 ADC0_Regular_Parallel\MDK-ARM\GD32207I_EVAL.uvgui.Administrator
文件 24063 2019-11-20 19:54 ADC0_Regular_Parallel\MDK-ARM\GD32207I_EVAL.uvopt
文件 25790 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\GD32207I_EVAL.uvproj
文件 27790 2019-11-20 19:50 ADC0_Regular_Parallel\MDK-ARM\Jli
文件 755 2019-11-20 16:57 ADC0_Regular_Parallel\MDK-ARM\Jli
目录 0 2019-11-20 19:50 ADC0_Regular_Parallel\MDK-ARM\list\
目录 0 2019-11-20 19:50 ADC0_Regular_Parallel\MDK-ARM\output\
文件 19 2019-11-20 19:50 ADC0_Regular_Parallel\MDK-ARM\output\ExtDll.iex
文件 357361 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f207i_eval.crf
文件 361262 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_adc.crf
文件 355041 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_bkp.crf
文件 362190 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_can.crf
文件 353722 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_cau.crf
文件 354896 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_cau_aes.crf
文件 352668 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_cau_des.crf
文件 352911 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_cau_tdes.crf
文件 351878 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_crc.crf
文件 356396 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_dac.crf
文件 351627 2019-11-20 19:47 ADC0_Regular_Parallel\MDK-ARM\output\gd32f20x_dbg.crf
............此处省略31个文件信息
- 上一篇:基于MFC的TCP调试助手源码95706
- 下一篇:USB转LORA无线模块
相关资源
- GD32F103例程
- GD32F103 在线串口Ymodem协议升级IAP
- gd32的单通道adc用dma采集
- stm32 AD7506
- 基于STM32的音频信号采样与FFT分析
- 获取pc上所有网卡信息
- VC源码获取WINDOWS系统所有的用户密码
- C#调用百度地图获取经纬度
- C语言实现51单片机和ADC0809芯片的AD模
- (部分源码)百分百仿360安全卫士界
- MFC 与GDI++绘制仪表盘
- C++获取电脑CPU序列号及硬盘序列号
- VC++获取网上股市数据并实时图表显示
- MFC基于对话框GDI+简单绘图
- GDI+SDK参考文档
- VC6.0获取MAC地址
- dxf文件Entity部分解析
- windows系统版本及OFFICE版本获取
- 使用ARP协议获取局域网内部活动主机
- C++简单获取鼠标当前坐标
- VC++三次样条插值&贝塞尔曲线&GDI+平滑
- 海康 摄像机 SDK 通道获取 视频播放
- 基于GDAL VC6.0的遥感影像K均值分类程序
- Visual C++数字图像获取、处理及实践应
- MFC获取主机名,IP地址,MAC地址
- GDAL2.1.0 X86和X64编译好的库 C++
- Visual C++代码 获取本地网络信息
- ADC电压采集程序
- ARP协议获取所有局域网内活动主机的
- 获取屏幕上鼠标的位置坐标及其RGB颜
评论
共有 条评论