登录
首页 » 嵌入式芯片 » C8051F410 ADC例子

C8051F410 ADC例子

于 2023-05-03 发布 文件大小:3.76 kB
0 62
下载积分: 2 下载次数: 1

代码说明:

此示例代码需要平均为 2048年模拟测量从输入 P1.1 使用 ADC0,然后将结果打印到终端窗口通过 UART。该系统由内部 24.5 MHz 振荡器的时钟频率。定时器 2 触发每个溢出上 ADC0 转换。在完成这种转换反过来触发中断服务例程 (ISR)。ISR 平均 2048年测量,然后打印到 printf 之前通过终端值开始另一种的平均周期。模拟多路复用器选择 P1.1 作为积极 ADC0 输入。此端口被配置为模拟输入端口初始化例程中。负 ADC0 输入通过多路复用器到地面,那为单端 ADC 的输入提供了连接。

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

发表评论

0 个回复

  • TS101的连路口程序,基于visual DSP++环境开发。该程序时c语言程序。...
    TS101的连路口程序,基于visual DSP++环境开发。该程序时c语言程序。 -TS101 link crossing procedures, based on visual DSP++ environment for development. The program c language program.
    2022-12-29 01:30:04下载
    积分:1
  • 三星S3C2440 LED控制器驱动程序
    三星S3C2440 LED控制器驱动程序-Samsung S3C2440 LED controller driver
    2023-01-29 05:30:03下载
    积分:1
  • arm编程例程,产生PWM脉宽
    arm编程例程,产生PWM脉宽-arm programming routines that have a PWM pulse width
    2023-03-10 09:40:04下载
    积分:1
  • Project templates of IAR, including settings such as project description, as wel...
    IAR工程模板初探,包含工程设置等常数的说明以及使用方法.可与Protues中的LPC系列ARM实现仿真(已测试).绝对原创.-Project templates of IAR, including settings such as project description, as well as constant use. Protues in with LPC series ARM achieve simulation (tested). Absolute originality.
    2022-02-21 01:49:23下载
    积分:1
  • 44B0 AD conversion experiments related to code, very good! Matching the experime...
    44B0 AD转换实验相关的代码,很好!配套实验配置手册 44b0.pdf进行学习 -44B0 AD conversion experiments related to code, very good! Matching the experimental configuration to study the manual 44b0.pdf
    2023-06-03 19:25:02下载
    积分:1
  • 这是我从朋友那搞到的pic学习资料,很简单的啦
    这是我从朋友那搞到的pic学习资料,很简单的啦-This is what I got from a friend that the pic learning materials, a very simple啦
    2022-08-24 08:24:48下载
    积分:1
  • PS2键盘程序
    包含键盘扫描,和PS2键盘通讯的程序,51内核单片机驱动PS2接口的实现程序,可以使单片机具有接插PS2接口设备(例如鼠标,键盘)的能力,大家可以借鉴一下!
    2022-03-23 21:46:55下载
    积分:1
  • Necessary to optimize the level of s, other optimization levels will not lead to...
    优化级别必需为s,其他优化级别也不会导致编译时出错,但会导致运行时出错。原因涉及局部变量分配堆栈处理方式不同,也就是OS_CPU_A.c那个文件中的移植部分。还有就是其他优化涉及的中断自动保存寄存器的数量有所出入。-Necessary to optimize the level of s, other optimization levels will not lead to compile-time error, but it will result in run-time error. Reasons relating to the allocation of local variables, stack processing in different ways, that is, OS_CPU_A.c that the transplanted parts of the file. There are other optimization related to the interruption of the number of registers saved automatically have access to.
    2022-08-10 01:29:05下载
    积分:1
  • matlabghdsp
    MATLAB程序,用于dsp编程软件仿真,信号的产生,fft变换-MATLABghdsp
    2022-01-22 04:13:59下载
    积分:1
  • STM32移植加密算法 AES ARC ECC HASH RAND RSA TDES_DES
    STM32移植加密算法  AES  ARC ECC HASH RAND RSA  TDES_DES 源码算法
    2023-02-28 10:55:02下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载