资源简介
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
相关资源
- Quartus II 15.0中仿真Altera三速以太网I
- Quartus II 15.0中仿真Altera三速以太网I
- 3人表决器 QuartusII
- Verilog FPGA UART串口控制器
- 硬件课程设计—流水灯(quartus软件
- UART转CAN或LIN的工具(Uart2any)和文档
- 曼彻斯特编解码_同步QuartusII工程
- CPLD Verilog数字密码锁 源码
- 用quartus 2编的全加器(原理图输入)
- 6相12拍步进电机控制器
- MQTT+串口(usart)透传
- Quartus EDA交通灯控制电路的设计实训报
- Quartus II 15.0中仿真DDR2 IP核
- STM32F042F6P6 Uart12DMA;发送中断接收
- uart_tx.zip
- STM32F407 串口配置 串口1~6 六串口同时
- STM32F407_6个串口同时使用的代码
- s7epasrvx.exe CP2102_USB_to_UART_Bridge_Contro
- CP210x UsbToUART win7 64 bit
- quartus 11.0 破解包 全
- Quartusii十字交叉路口三色交通灯设计
- 中值滤波算法Quartus实现
- springmvc+Mybatis+axis2+webservice+quartz作业整
- VHDL简易交通灯设计 quartus 2
- quartus14.1破解包
- 基于quartus II的VHDL数字钟设计
- quartus 16.1破解教程
- 基于Quartus II 9.0版本编写的Verilog HDL编
- QuartusII15.0安装包安装步骤.pdf
- STM32_USART 多机通信学习笔记
评论
共有 条评论