登录
首页 » 嵌入式芯片 » This example program shows how to configure and use the A/D Converter of the fo...

This example program shows how to configure and use the A/D Converter of the fo...

于 2022-01-31 发布 文件大小:63.44 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

This example program shows how to configure and use the A/D Converter of the following microcontrollers: * Philips LPC 2114/2119/2124/2129/2131/2132/2138/2194 After configuring the A/D Converter, the program reads A/D channel 0 and outputs the converted value using the serial port. To run this program... 1. Select the Device (Project - Options for Target - Device) 2. Build the project (Project - Build Target) 3. Start the uVision Debugger 4. Open the Serial Window (View - Serial Window 1) 5. Click Run (F5) 6. Click on the Toolbox buttons to change input voltages A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals grap

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 串口实例,有部分测试程序,功能:每隔2秒发送“1234567890”,并打印内容。接受也是每2秒一次,并打印内容,出错时打印出错信息...
    嵌入式串口实例,有部分测试程序,功能:每隔2秒发送“1234567890”,并打印内容。接受也是每2秒一次,并打印内容,出错时打印出错信息-example, some of the test procedures, functions : every two seconds to send "1234567890", and print content. Each also received a two seconds, and Print, Print error error message
    2022-07-13 22:03:58下载
    积分:1
  • 实现 ez
    实现 ez-usb fx2 的USB标准请求-Ez-usb fx2 implementation of the USB standard requests
    2022-04-19 15:41:47下载
    积分:1
  • 臂keit程序发展
    arm devlop keit program
    2022-08-18 03:14:56下载
    积分:1
  • STM32F1示波器原创
    这个是基于通过单片机AD采集模拟信号,我用的是自己做得的一个心电采集电路,然后在STM3 2 单片机上通过LCD显示出来                                                                                                                 
    2022-07-27 02:06:33下载
    积分:1
  • 本书详细介绍了TMS320F2812的基本特点、硬件结构、内部功能模块的基本原理等内容...
    本书详细介绍了TMS320F2812芯片的基本特点、硬件结构、内部功能模块的基本原理等内容-The book details the basic characteristics of TMS320F2812 chip, hardware structure, the internal function modules, etc. The basic principle
    2022-02-04 11:40:14下载
    积分:1
  • 基于ARM的应用Source3,在网上找到的源码,分六个,这个是3
    基于ARM的应用Source3,在网上找到的源码,分六个,这个是3-ARM-based application Source3 the Internet to find the source code for six hours, this is 3
    2022-05-31 06:13:08下载
    积分:1
  • Hardware: PC machine 1 SeaARM2410 Teaching Experiment 1 Software Development Pla...
    硬件: PC机 1台 SeaARM2410教学实验开发平台 1台 软件: Windows 98/2000/XP操作系统 ADS 1.2集成开发环境 -Hardware: PC machine 1 SeaARM2410 Teaching Experiment 1 Software Development Platform: Windows 98/2000/XP operating system ADS 1.2 Integrated Development Environment
    2022-10-30 08:15:03下载
    积分:1
  • USB_U盘_文件系统_(FOR_C) U SB_U盘_文件系统_(FOR_C)
    USB_U盘_文件系统_(FOR_C) U SB_U盘_文件系统_(FOR_C)-Disk file system USB_U _ _ (FOR_C) U SB_U disk file system _ _ (FOR_C)
    2023-04-26 09:45:04下载
    积分:1
  • 关于ARM7的AT91FR40162的启动小程序
    关于ARM7的AT91FR40162的启动小程序-One small program run at starting about the AT91FR40162, ARM7.
    2022-05-23 21:56:08下载
    积分:1
  • 绝对原创,开源一STM32项目,CAN,UART,Input检测 原创相对高效性能与代码重用平衡思路(缓冲队列加软中断),可直接做工程模板
    1、CAN收发队列   使用内存FIFO缓冲CAN帧,适合大数据量通信;并使用内部软中断处理CAN数据,相当于事件响应,综合应该比查询方式节省不少时间,也应该比OS调度省点时间。Can.C:底层处理,Communi.C:与应用层高相关。 应用层处理流程用函数指针表的方式调用减少代码量及阅读整齐;实现CAN各种错误记录机制。已初步测试,该机制可用。   CAN处理流程:     接收:CAN1_RX0_IRQHandler_Name (void), CAN1_RX1_IRQHandler(void)           接收中断,CAN_QueueWriteQuick()将当前的有效报文压入内存FIFO,压入的数据为整个CAN邮箱数据,所以后续的处理函数可以分辨出完整的数据。 void CAN1_RX0_IRQHandler_Name (void) // CAN1_RX0_IRQHandler_Name { /* FIFO从空状态开始,在接收到第一个有效的报文后,FIFO状态变为挂号_1(pending_1), 硬件相应地把CAN_RFR寄存器的FMP[1:0]设置为’01’(二进制01b)。 软件可以读取FIFO输出邮箱来读出邮箱中的报文,然后通过对CAN_RFR寄存器的RFOM位 设置’1’来释放邮箱,这样FIFO又变为空状态了。如果在释放邮箱的同时, 又收到了一个有效的报文,那么FIFO仍然保留在挂号_1状态,软件可以读取FIFO 输出邮箱来读出新收到的报文。 如果应用程序不释放邮箱,在接收到下一个有效的报文后,FIFO状态变为 挂号_2(pending_2),硬件相应地把FMP[1:0]设置为’10’(二进制10b)。 重复上面的过程,第三个有效的报文把FIFO变为挂号_3状态(FMP[1:0]=11b)。 此时,软件必须对RFOM位设置1来释放邮箱,以便FIFO
    2022-03-21 07:31:29下载
    积分:1
  • 696516资源总数
  • 106908会员总数
  • 1今日下载