ADC0_regular_sample_ljk
所属分类:单片机开发
开发工具:C/C++
文件大小:4KB
下载次数:21
上传日期:2018-03-01 19:59:28
上 传 者:
jinyewuyu1
说明: GD32F103 系列基于官方库的 ADC单次读写示例程序。不使用DMA读写数据。官方库没有。
(The GD32F103 series is based on the ADC single read and write sample program based on the official library. Do not use DMA to read and write data. The official library is not.)
文件列表:
ADC0_regular_sample_ljk\gd32f10x_it.c (2172, 2017-06-05)
ADC0_regular_sample_ljk\gd32f10x_it.h (1033, 2017-06-05)
ADC0_regular_sample_ljk\gd32f10x_libopt.h (949, 2017-06-05)
ADC0_regular_sample_ljk\main.c (4149, 2018-02-28)
ADC0_regular_sample_ljk\systick.c (1138, 2017-06-05)
ADC0_regular_sample_ljk\systick.h (479, 2017-06-05)
ADC0_regular_sample_ljk (0, 2018-02-28)
/*!
\file readme.txt
\brief description of the ADC regular channel with DMA
*/
/*
Copyright (C) 2017 GigaDevice
2014-12-26, V1.0.0, firmware for GD32F10x
2017-06-20, V2.0.0, firmware for GD32F10x
*/
This demo is based on the GD32107C-EVAL board, it shows how to
use the ADC to convert analog signal to digital data through DMA. The ADC is
configured in continuous mode, PC3 is chosen as analog input pin.
As the ADC convertion begins by software, the converted data from ADC_RDATA
register to SRAM begins continuously. Users can change the VR1 on the GD32F107C-EVAL
board, measure TP2 pad board, and check if its value matches the converted
data through the watch window.
The analog input pin should configured to AIN mode.
近期下载者:
相关文件:
收藏者: