资源简介
PSOC3用ADC模块采集模拟电压,通过串口传递给PC机,用串口调试助手来显示
代码片段和文件信息
/*******************************************************************************
* File Name: main.c
*
* Description:
* This file provides source code for the ADC to LCD with DAC and UART example
* project. The firmware takes a voltage output from a potentiometer and
* displays the ADC raw count on an LCD. The raw count is also transmitted
* serially. The raw count also determines the clock divider value of the clock
* driving the DMA controller. A table of voltage values are sent to the DAC
* via DMA. Then the output of the DAC goes through an analog buffer and to an
* LED. This will give a dimming/brightening affect on the LED at a really slow
* rate or a really fast rate depending on the raw count coming from the ADC.
*
********************************************************************************
* Copyright (2009) Cypress Semiconductor Corporation.
********************************************************************************
* This software is owned by Cypress Semiconductor Corporation (Cypress)
* and is protected by and subject to worldwide patent protection (United
* States and foreign) United States copyright laws and international treaty
* provisions. Cypress hereby grants to licensee a personal non-exclusive
* non-transferable license to copy use modify create derivative works of
* and compile the Cypress Source Code and derivative works for the sole
* purpose of creating custom software in support of licensee product to be
* used only in conjunction with a Cypress integrated circuit as specified in
* the applicable agreement. Any reproduction modification translation
* compilation or representation of this software except as specified above
* is prohibited without the express written permission of Cypress.
*
* Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH
* REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* Cypress reserves the right to make changes without further notice to the
* materials described herein. Cypress does not assume any liability arising out
* of the application or use of any product or circuit described herein. Cypress
* does not authorize its products for use as critical components in life-support
* systems where a malfunction or failure may reasonably be expected to result in
* significant injury to the user. The inclusion of Cypress‘ product in a life-
* support systems application implies that the manufacturer assumes all risk of
* such use and in doing so indemnifies Cypress against all charges. Use may be
* limited by and subject to the applicable Cypress software license agreement.
*******************************************************************************/
#include
void UpdateDisplay(uint16 * voltageRawCount);
void TxHex (uint16 voltageRawCount);
/* Table of voltage values for DMA to send to
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 56677 2010-03-04 22:25 ADC-UART\ADC-UART\ADC-UART.cydsn\ADC-UART.cyprj
文件 76955 2010-03-04 22:23 ADC-UART\ADC-UART\ADC-UART.cydsn\TopDesign\TopDesign.cysch
文件 9965 2010-03-04 23:15 ADC-UART\ADC-UART\ADC-UART.cydsn\main.c
....... 834 2009-01-30 19:25 ADC-UART\ADC-UART\ADC-UART.cydsn\device.h
文件 5984 2010-03-04 21:44 ADC-UART\ADC-UART\ADC-UART.cydsn\ADC-UART.cydwr
文件 47973 2010-03-04 22:25 ADC-UART\ADC-UART\ADC-UART.cydsn\ADC-UART.cyprj.Administrator
文件 633 2010-03-04 23:15 ADC-UART\ADC-UART\ADC-UART.cydsn\ADC-UART-DP8051-Keil_Generic-Debug-BUILD.log
文件 70395 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC-UART.rpt
文件 1129158 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC-UART.cyfit
文件 15418 2010-03-04 22:23 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC-UART.v
文件 1792 2010-03-04 21:26 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\lcpsoc3\index
文件 1282 2010-03-04 22:23 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC-UART.wde
文件 11992 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cyfitter_cfg.c
文件 262 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cyfitter_cfg.h
文件 237615 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cydevice.h
文件 215720 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cydevice_trm.h
文件 190206 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cydevicekeil_trm.inc
文件 212113 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cydevicekeil.inc
文件 5809 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC-UART.bvf
文件 17484 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\cyfitter.h
文件 19733 2010-03-04 22:10 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC_DelSig_1.c
文件 44584 2010-03-04 22:10 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC_DelSig_1.h
文件 3542 2010-03-04 22:10 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\ADC_DelSig_1_INT.c
文件 7587 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\DAC.c
文件 6439 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\DAC.h
文件 34501 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\UART.c
文件 14563 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\UART.h
文件 5139 2010-03-04 22:24 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\UART_INT.c
文件 4714 2010-03-04 21:55 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\DMA_1_dma.c
文件 1699 2010-03-04 21:55 ADC-UART\ADC-UART\ADC-UART.cydsn\codegentemp\DMA_1_dma.h
............此处省略193个文件信息
- 上一篇:OriginPro2018.txt
- 下一篇:单级圆柱齿轮减速器.rar
相关资源
- Crack_QII_14.1_Windows密码12345
- quartus II 12.0 破解 内含 X86 X64 for wind
- Quartus Prime Standard&Pro; Windows 17.0破解
- 基于FPGA的打地鼠游戏课设报告
- 基于QUARTUS的电子钟设计
- fir滤波器 quartus2
- 基于fpga的DDS信号发生器四种波形
- UART 串口通信FPGA数据接收程序非常好
- VHDL语言编写4位加法器
- 最好用的TCP+UDP+UART调试工具
-
command-line sc
ripting for Quartus IIVer12. - PSoc4串口收(中断)发
- 串口两线转一线原理图
- XR21V1410芯片USB转UART应用图很经典的
- PIC单片机uart通信
- EDA 基于quartus平台制作的步行街自助式
- UART Verilog (串口通信Verilog HDL代码)
- URAT VHDL程序与仿真
- 数字频率计EDA课程设计
- 使用stm32控制彩色级联led WS2818B源程序
- QuartusII 7.2_破解
- quartus ii 16.0 license
- Crack_QII_10.0_SP1_x64.rar
- msp430f5529的uart程序
- A5算法的FPGA实现
- EDA课程设计 点阵实验
- quartus prime 16.0 license
- Quartus II 11.0链接及破解
- quartus 15.1 prime standard 破解器
- 乒乓球游戏电路设计 vhdlquartus2
评论
共有 条评论