Welcome![Sign In][Sign Up]
Location:
Search - at timer interrupt

Search list

[Other resource彩灯控制器

Description: 单片机在循环显示数字列的同时,采用查询方式控制数字的显示时间和音乐播放的开关。音乐低频信号由定时器采用中断方式产生。-SCM in circulation figures out show at the same time, using figures for the control of time - and the music player switching. Music low-frequency signals used by the timer interrupt way.
Platform: | Size: 46134 | Author: nt | Hits:

[DSP programdsp14

Description: 14个DSP的实验测试程序,汇编语言实现,类型分别为:滤波器,正弦波发生器,步进电机,直流电机,交通灯,语音录放,指令实验,存储器,串行口,定时器,显示屏,硬件中断,同步串口,exam-c。-Fourteen DSP testing programs,implemented by assemble language,types:filter,sine wave generator,Stepping motors,direct current motors,traffic light,voice play,instruction experiment,register,serial port,timer,display screen,hardware interrupt,synchronous serial port,exam-c.
Platform: | Size: 72704 | Author: wyh | Hits:

[SCM彩灯控制器

Description: 单片机在循环显示数字列的同时,采用查询方式控制数字的显示时间和音乐播放的开关。音乐低频信号由定时器采用中断方式产生。-SCM in circulation figures out show at the same time, using figures for the control of time- and the music player switching. Music low-frequency signals used by the timer interrupt way.
Platform: | Size: 46080 | Author: nt | Hits:

[Linux-UnixAT91SAM9260-Interrupt-IAR4_31A

Description: ATMEL AT91SAM9260的中段控制程序!-ATMEL AT91SAM9260 control procedures for the middle!
Platform: | Size: 633856 | Author: 弗兰克 | Hits:

[source in ebookfangbo

Description: 初学者入门--- 方波程序 初学者入门--- 方波程序 一个非常经典的初学者入门的程序,上CCS直接运行吧! 看这个程序后,您将对DP设置,定时器中断,等理解非常深刻-Beginners Getting Started--- Introduction--- beginners square procedure square procedure a very classic beginner entry procedures, the CCS directly run it! Look at this process, you will DP settings, timer interrupt, etc. understand the very deep
Platform: | Size: 7168 | Author: 张志 | Hits:

[SCMkcsj

Description: 微机原理课程设计报告 课题六:数字闹钟 1. 通过8253定时器产生秒脉冲定时中断。在中断服务程序中实现秒、分、小时的进位(24小时制)。 2. 将当前时分秒在七段LED显示器上显示(如:091132)。 3. 可设置闹钟的时间当前值(对准时间),设置闹铃时间,闹铃功能的关闭和开放. 关键词:数字闹钟,8253定时器,LED显示器,8255A并行口 -Computer Principles of curriculum design report six topics: digital alarm clock 1. Through the 8253 regular pulse generated timer interrupt. In the interrupt service routine to achieve seconds, minute, hour binary (24 hours system). 2. When the minutes and seconds in the current Seven-Segment LED display shows (for example: 091,132). 3. To set the alarm time to the current value (at the time), set the alarm time, alarm function to close and open. Keywords: digital alarm clock, 8253 Timer, LED display, 8255A Parallel Port
Platform: | Size: 161792 | Author: zd | Hits:

[SCMclock0510

Description: 1. 一秒定时的实现。 设定定时器每100us中断一次,在中断服务程序中,对中断次数进行计数,计数10000次就是1秒。 2.分、秒的显示 用四个数码管配合373芯片的锁存功能就可以完整地显示分、秒信息。373芯片的片选则需要138芯片的译码和04芯片的取反。 3. 调时的实现 利用单片机的外部中断和三个按键,我们可以方便的实现调时功能。比如三个按键开关产生的中断信息可以分别用于“开始(停止)调时”、“选择调时位”、“当前选择位+1”。 4. 实现按键的软件去抖动功能。 -1. The realization of a second timing. Set a timer interrupt every 100us, in the interrupt service routine, the number of interruptions to count, count 10000 times is 1 seconds. 2. Minutes and seconds are displayed using four digital tube 373 with the latch function of the chip can be a complete display minutes and seconds information. 373 chip-chip election would require 138 of the decoding chip and 04 chips from the anti-. 3. Tune realize single-chip computer at the time of the external interrupt and three buttons, we can realize a convenient function when transferred. For example, three button switches interrupt generated information can be used for
Platform: | Size: 1024 | Author: li | Hits:

[SCMinf2

Description: 红外线接收端子程序。基于stc5410ad单片机设计,采用外部中断及定时器中断同时工作。适用于各种通用红外线遥控器,-Infrared receiver terminal procedures. Stc5410ad based on single-chip design, the use of external interrupt and timer interrupt work at the same time. Applicable to a variety of common infrared remote control,
Platform: | Size: 2048 | Author: zhangdi | Hits:

[DSP programex7_CAN

Description: 程序所在目录:ex7_CAN 由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下,本样例程序中采用了CAN的自测试模式通信,即使用CANBOX4发送CANBOX0接收。在定时器中断服务程序中执行发送;中断方式接收CAN信息。 打开CC2000,进行如下操作: 1. Project->Open ,打开该目录中的工程文件。 2. Project->Rebuild ALL,编译链接 3. File->Load Program 4. 光标移到int1中断服务程序CANIFR=0xFFFF所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 偏左上脚GEL Files上点右键,Load GEL,选择LF2407.gel,然后菜单栏Gel->LF2407->CAN regs,即可看到CAN寄存器的变量被显示岛Watch Window中.可以看到CANBOX0里面接收到数据0x2211,0x4433等数据,这些数据是由CANBOX4发送往总线上的. 如果用户和别的CAN设备通信,参照本例程的注释更改相关设置即可。 -Procedures where the directory: ex7_CAN CAN bus communication because of debugging required external CAN device. So in the absence of external CAN device case, the sample procedures used in the self-test mode of CAN communication, namely the use of CANBOX4 Send CANBOX0 receiver. At the timer interrupt service routine in the implementation of sending interrupted CAN receive information. Open the CC2000, the following steps: 1. Project-> Open, open the project file directory. 2. Project-> Rebuild ALL, the compiler links 3. File-> Load Program 4. Cursor to INT1 interrupt service routine CANIFR = 0xFFFF which the line. 5. Debug-> Toggle breakpoint (shortcut F9) 6. Debug-> Animate (shortcut F12) GEL Files on left foot Right on point, Load GEL, select LF2407.gel, then the menu bar Gel-> LF2407-> CAN regs, you can see the CAN register variables are displayed in the Watch Window Island. CANBOX0 can be seen inside receive data 0x2211, 0x4433 and other d
Platform: | Size: 26624 | Author: To_oo | Hits:

[SCM0time

Description: 时钟程序,大家是否想到用定时器,对,也可用定时器的中断来处理,这样的程序我想不用我说了吧! 你们可自己发辉下,本程序采用外元件DS1302时钟IC,使用此IC不增加系统资源,要时钟时直接去读取就可以了 本IC跟ADC0831一样以串口方式传送数据,不同的是协议,只要你读懂它的串口协议,就可以用P口来模拟协议进行 ,这样更能使你对传送数据协议的了解,在看本程序之前,先看看芯片的串口协议*/-Clock process, with everyone thought Whether or not the timer, right, can also be used to deal with the timer interrupt, so that the procedures I do not think so I said it! Your own hair can be under-hui, the procedures for the use of external components DS1302 Clock IC, this IC does not increase the use of system resources, go directly to the clock can be read on the same IC with the ADC0831 to serial transmission of data, are a different protocol As long as you read its serial protocol, it can be used to simulate the protocol P to the mouth, so more can you transmit data to know the protocol, look at this process, first take a look at the serial port chip protocol* /
Platform: | Size: 13312 | Author: aq | Hits:

[SCMmiaobiao.RAR

Description: 实验采用七段码LED设计(数码管),显示直观;采用定时器中断,计时更准确;功能齐全,可随时启动、停止、清零,后者智能化程度更高。-Seven-Segment LED code using the experimental design (digital control), visual display using timer interrupt, a more accurate time functions, may at any time to start, stop, cleared, and the latter an even higher degree of intelligence.
Platform: | Size: 33792 | Author: cuipinpin | Hits:

[Embeded-SCM DevelopPIC24

Description: 本人整理的PIC24系列单片机不少程序,都是平时自己编写的。想学PIC单片机的可以看看,里面包含定时器,中断,i2c,spi等常用模块-I collated a lot of the PIC24 family of single-chip process, are usually prepared their own. I wanted to learn to look at the PIC microcontroller, which contains the timer, interrupt, i2c, spi modules, such as commonly used
Platform: | Size: 11264 | Author: 黄贤聪 | Hits:

[SCMDS1302

Description: 时钟程序,大家是否想到用定时器,对,也可用定时器的中断来处理,这样的程序我想不用我说了吧! 你们可自己发辉下,本程序采用外元件DS1302时钟IC,使用此IC不增加系统资源,要时钟时直接去读取就可以了 本IC跟ADC0831一样以串口方式传送数据,不同的是协议,只要你读懂它的串口协议,就可以用P口来模拟协议进行 ,这样更能使你对传送数据协议的了解,在看本程序之前,先看看芯片的串口协议 -Clock process, whether you think using the timer, right, can also be used to handle the timer interrupt, so that the procedures I do not think so I said it! Fa-Hui you can own, this program outside the components using DS1302 clock IC, the IC not to increase the use of system resources, it is necessary to read the clock directly to the IC will be the same as with the ADC0831 to serial transmission of data, difference is that the agreement , as long as you read its serial protocol, it can be used to simulate P agreement mouth, so that you can send more data to understand the agreement, in view of the process, take a look at the serial port chip agreement
Platform: | Size: 18432 | Author: wt | Hits:

[OS programtimer_test

Description: This example uses a timer to generate interrupt at a specific period.The timer event handler increments the event count and prints in stdout.
Platform: | Size: 4096 | Author: xpert | Hits:

[SCMPIC12F629PWM

Description: 实现功能:PIC12F629工作于5V@20MHz。用定时中断产生三路PWM信号驱动RGBLED,配合三基色原理,实现多彩渐变,十三色跳变。-Achieve functional: PIC12F629 work at 5V @ 20MHz. Three-way with the timer interrupt generated PWM signal driving RGBLED, with three-color theory, to achieve colorful gradients, 13 color transitions.
Platform: | Size: 25600 | Author: zhuang | Hits:

[DSP programCpuTimer0

Description: 定时器0 实验 F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 0 进行操作, 100MS 产生一次中断。使用时,按以下步骤进行: (1)点击“CCS”,启动Code Composer Studio 开发环境 (2)点击【project】􀃆 【Open…】打开“CpuTimer0”文件夹下的“CpuTimer0.PJT”。 (3)重新编译完毕。 (4)点击【File】􀃆 【Load Program…】,选择“CpuTimer0”文件夹下的“DEBUG” 中的“CpuTimer0.OUT”文件,点击【打开】。 (5)点击【Debug】􀃆 【Run】或左侧快捷键图标,全速运行。在定时器中断子 函数中,我们打上断点,当定时器0 产生中断时,CCS 就会停在断点处。如下图所示。 注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】􀃆 【Reset CPU】, 然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 0 experiment F2812 on three 32-bit CPU timer, this program is the main CPU Timer 0 100MS generate an interrupt. Use, follow these steps: (1) click on the "CCS", start the Code Composer Studio development environment (2) Click on the [project] 􀃆 [Open ...] to open the folder under "CpuTimer0 the" CpuTimer0.PJT ". (3) re-compile is completed. (4) Click [File] 􀃆 [the Load the Program ...] select "CpuTimer0, folder under" the DEBUG In the "CpuTimer0.OUT" file, click [Open]. (5) Click [Debug] 􀃆 , [Run] or the left side of the shortcut icon, running at full speed. In the timer interrupt sub- Function, we marked a breakpoint, when Timer 0 to generate an interrupt, the CCS will stop at the breakpoint. As shown below. Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] 􀃆 [Reset CPU] And then re-Load program. If you still can not run correctly or the program running, re-power on to learn bo
Platform: | Size: 1024 | Author: q | Hits:

[DSP programCpuTimer2

Description: 定时器 2 实验 F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 2 进行操作, 200MS 产生一次中断。使用时,按以下步骤进行: (1)点击“CCS”,启动Code Composer Studio 开发环境 (2)点击【project】􀃆 【Open…】打开“CpuTimer2”文件夹下的“CpuTimer2.PJT”。 (3)重新编译完毕。 (4)点击【File】􀃆 【Load Program…】,选择“CpuTimer2”文件夹下的“DEBUG” 中的“CpuTimer2.OUT”文件,点击【打开】。 长沙智创电子 专业嵌入式(DSP、ARM)系统开发板、解决方案供应商 TMS320F2812 学习板用户手册 0731-2253687 QQ:21483112 (5)点击【Debug】􀃆 【Run】或左侧快捷键图标,全速运行。在定时器中断子 函数中,我们打上断点,当定时器2 产生中断时,CCS 就会停在断点处。如下图所示。 注意:TIMER0 属于CPU 外部中断,由PIE 管理,而TIMER2 属于CPU 内部中断,由 CPU 直接管理。两者的具体编程方法有差别,请用户注意软件中的细节。 注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】􀃆 【Reset CPU】, 然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 2 Experimental F2812 on three 32-bit CPU timer, this program is the main CPU timer 2 200MS generate an interrupt. Use, follow these steps: (1) click on the "CCS", start the Code Composer Studio development environment (2) Click the [project] 􀃆 [Open ...] and open the "CpuTimer2 the folder CpuTimer2.PJT". (3) re-compile is completed. (4) Click [File] 􀃆 [the Load the Program ...], select "CpuTimer2" folder under the DEBUG In the "CpuTimer2.OUT" file, click [Open]. The Changsha Chi Electronics Professional Embedded (DSP, ARM) system development board, and solution providers TMS320F2812 learning board user manual 0731-2253687 QQ: 21,483,112 (5) Click [Debug] 􀃆 , [Run] or the left side of the shortcut icon, running at full speed. In the timer interrupt sub- Function, we marked a breakpoint, when Timer 2 to generate an interrupt, the CCS will stop at the breakpoint. As shown below. Note: TIMER0 belongs to the CPU external interrupts from the PIE m
Platform: | Size: 1024 | Author: q | Hits:

[Embeded-SCM DevelopTimer-interrupt

Description: 在使用12MHz晶振的条件下,从T1产生50ms定时,计数从“00”开始,每1s加1,到“59”后,再从“00”开始,完成60s定时工功能-In the use of12MHz crystal condition, derived from the T150ms timing, counting from the"00" begin, each1s plus 1, arrived at the"59", from"00" to complete the function,60s timing
Platform: | Size: 62464 | Author: 刘智平 | Hits:

[SCMcc2430-Timer-interrupt

Description: cc2430时钟中断程序,供初学者学习使用,用IAR3.0可以打开工程,也可以直接看C代码。-cc2430 clock interrupt program for beginners to learn to use, you can open the project with IAR3.0 can also look directly at the C code
Platform: | Size: 22528 | Author: 高明 | Hits:

[Other Embeded programwatchdog

Description: 定时模式:将WDT设置为定时模式产生定时中断,控制P1.0的输出,使LED周期亮灭。 看门狗模式:将WDT设置成看门狗模式,此时,当看门狗定时器溢出时,将会产生复位。 -Timing mode: WDT setting the timing mode timer interrupt, control the P1.0 output, the LED cycle light off. Watchdog mode: WDT set watchdog mode, at this time, when the watchdog timer overflows, it will generate a reset.
Platform: | Size: 59392 | Author: 王丹妮 | Hits:
« 12 3 4 »

CodeBus www.codebus.net