Welcome![Sign In][Sign Up]
Location:
Search - int0 in

Search list

[Other resourcec51jing

Description: 实现pc机键盘(p/s2接口)与8位单片机连接使用 原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上 每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来 传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验) 1位结束位(1) 实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键 缺点:由于51单片机的容量有限所以缓冲区不可以开的太大,这就导致可以记录键盘的按键次数过少, 也就是容错性一般。不过如果正常使用键盘是不会出错的 -achieve PCs keyboard (p/s2 Interface) with 8-bit microcontroller connectivity principles : Then in the keyboard clock p3.2 mouth, both of 8051 int0 external interrupts, p1.0 keyboard data received on each button, the keyboard will be made to pulse so SCM SCM external interrupt occurred, data p1.0 I come in a one-to-data formats : a starting place (0), 8 data bits (which keys on the general code, used to identify keys), a parity bit (odd check) at the end of one (1) To achieve : keyboard will be sent back data in a buffer (the array) When the button after internal disruption to address shortcomings on the button : As the 51 SCM buffer capacity is limited not so much open, This has led to record the number of keys of the keyboard is too small, that is fault-tolerant general. However, if the
Platform: | Size: 4074 | Author: jy | Hits:

[Other resourceCAN_Zongxiantongxun_AVR

Description: MCU:ATMEGA8515 Frequence: 16M 描述:利用已有CAN TEST V1.0电路板进行调试, 可靠性测试已通过,并发现8515外部中断不稳定 的原因是没有在INT0脚加上拉电阻,加上后已能 够稳定地运行 调试过程中发现SJA1000的首地址设置有误,改过 后,当CAN发送数据时,程序能进入中断了,但发现 中断是由出错报警中断引起的,估计与波特率设置 有关。 通过修改CDR的参数,以及更换16M晶振,现在已能 正常地收发送数据了-MCU : ATMEGA8515 Frequence : 16M Description : make use of the existing CAN TEST V1.0 circuit board debugging and reliability tests were passed, 8515 and found that the external interrupt instability is not in INT0 feet with pull-up resistors. after adding stability to the running debug process SJA1000 found in the first set addresses wrong, to turn over, When CAN send data, the program can enter the interruption, but the interruption was discovered by police errors arising from the interruption, estimates and baud rate settings. CDR by modifying the parameters, and the replacement of 16M crystal, it is now normal to send data admission!
Platform: | Size: 727323 | Author: 王宇 | Hits:

[Other resourcegps_f023_1103

Description: C8051F023的应用,主要功能是通过串口1读取GPS接收机信号,在有INT0的响应时,通过串口2发送。-C8051F023 applications, the main function is to read through a serial GPS receiver signal, INT0 in response, sent through the serial port 2.
Platform: | Size: 1279064 | Author: 王瑞 | Hits:

[Other resourceak1

Description: 一些应用中,经常要用到双串口,但是一般单片机只提供一个串口,其实完全可以用普通I/O口模拟一个串口。以下的程序是我编写的模拟串口程序,程序中使用了单片机的定时器0,和INT0中断。数据的发送和接收由中断程序自动进行。程序已经过AVR仿真器仿真和实际烧片使用,证明可靠。有一点需要说明的是,此模拟的串口为半双工方式。 主程序中,单片机将标准串口设置为115200bps,将模拟串口设置为19200bps。单片机将标准串口收到的数据从模拟串口发送出去,将模拟串口接收到的数据从标准串口发送回来。-some applications, the regular use of the dual serial port, but most only provide a microcontroller serial, In fact, the general can use I / O simulation of a serial mouth. Following the procedure is that I serial simulation procedure is the use of the computer's timer 0, and INT0 interruption. Data sending and receiving process by automatically suspended. Procedures have been AVR Simulator simulation and actual use of burn unit proved reliable. It should be explained that this simulation of half-duplex serial port. Main program, SCM standard serial port set to 115,200 bps. Serial analog set to 19,200 bps. SCM standard serial data received from analog to serial sent, Serial analog to receive data from the standard serial sent back.
Platform: | Size: 2007 | Author: 张永余 | Hits:

[Other resourceyejingxianshi000003

Description: 红外线遥控器解码程序(汇编) ORG 0000H AJMP MAIN ORG 0003H 外部中断INT0入口地址 AJMP INT 转中断服务子程序 MAIN: MOV SP,#40H MOV P1,#00H SETB EA 开CPU中断 SETB IT0 设定INT0触发方式 SETB EX0 INT0请求中断 DSP: MOV R2,#9 将遥控器键值转化成A(0~9) MOV DPTR,#TAB1 VV: MOV A,R2 MOVC A,@A+DPTR XRL A,1CH JZ ABC DJNZ R2,VV ABC: MOV A,R2 MOV DPTR,#TAB ;将A的值通过数码管显示出来 -infrared remote control decoder (Compendium) ORG 0000H AJMP MAIN ORG 000 3H external interrupt INT0 address AJMP INT entrance to a break in service subroutine MAIN : MOV SP, # 40H MOV P1, # 00H CPU SETB EA opening set interrupted SETB Indium-Tin-Oxide Substrates INT0 trigger mode SETB EX0 INT0 request interrupted DSP : MOV R2, # 9 will be the remote control keys into A (0 ~ 9) MOV DPTR, # TAB1 VV : MOV A, R2 MOVC A, @ A DPTR photolithography A, interruptive JZ ABC DJNZ R2, VV ABC : MOV A, R2 MOV DPTR, # TAB; A digital value through the tube show
Platform: | Size: 1340 | Author: ttforgo | Hits:

[Other resourceextINT

Description: 富士通单片机MB902420系列 extINT Project: All external Interrupt-Pins INT0 .. INT7 will be enabled. A falling edge on INTx will toggle PDR4_P4x in order to toggle the LEDx of the Flash-CAN-100P Board e.g. falling edge on INT3 will result in LED D3 will toggleP47..P40 (UserLEDs of FlashCan100P) and will send out again as byte-packages to ID#2 Receive-Buffer #1 : basic can Transmit-Buffer #6 : full-can ID #2
Platform: | Size: 171579 | Author: 叶良 | Hits:

[Other resourcewuxuxu

Description: ps键盘驱动程序2 实现pc机键盘(p/s2接口)与8位单片机连接使用原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上-ps Keyboard Driver 2 pc for achieving keyboard (p/s2 Interface) with 8-bit MCU connecting Principle : keyboard clock in p3.2 I received both the 8051 int0 external interrupt, keyboard data received on p1.0
Platform: | Size: 12806 | Author: 吴旭旭 | Hits:

[SCMwuxuxu

Description: ps键盘驱动程序2 实现pc机键盘(p/s2接口)与8位单片机连接使用原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上-ps Keyboard Driver 2 pc for achieving keyboard (p/s2 Interface) with 8-bit MCU connecting Principle : keyboard clock in p3.2 I received both the 8051 int0 external interrupt, keyboard data received on p1.0
Platform: | Size: 12288 | Author: 吴旭旭 | Hits:

[SCMc51jing

Description: 实现pc机键盘(p/s2接口)与8位单片机连接使用 原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上 每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来 传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验) 1位结束位(1) 实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键 缺点:由于51单片机的容量有限所以缓冲区不可以开的太大,这就导致可以记录键盘的按键次数过少, 也就是容错性一般。不过如果正常使用键盘是不会出错的 -achieve PCs keyboard (p/s2 Interface) with 8-bit microcontroller connectivity principles : Then in the keyboard clock p3.2 mouth, both of 8051 int0 external interrupts, p1.0 keyboard data received on each button, the keyboard will be made to pulse so SCM SCM external interrupt occurred, data p1.0 I come in a one-to-data formats : a starting place (0), 8 data bits (which keys on the general code, used to identify keys), a parity bit (odd check) at the end of one (1) To achieve : keyboard will be sent back data in a buffer (the array) When the button after internal disruption to address shortcomings on the button : As the 51 SCM buffer capacity is limited not so much open, This has led to record the number of keys of the keyboard is too small, that is fault-tolerant general. However, if the
Platform: | Size: 4096 | Author: jy | Hits:

[SCMCAN_Zongxiantongxun_AVR

Description: MCU:ATMEGA8515 Frequence: 16M 描述:利用已有CAN TEST V1.0电路板进行调试, 可靠性测试已通过,并发现8515外部中断不稳定 的原因是没有在INT0脚加上拉电阻,加上后已能 够稳定地运行 调试过程中发现SJA1000的首地址设置有误,改过 后,当CAN发送数据时,程序能进入中断了,但发现 中断是由出错报警中断引起的,估计与波特率设置 有关。 通过修改CDR的参数,以及更换16M晶振,现在已能 正常地收发送数据了-MCU : ATMEGA8515 Frequence : 16M Description : make use of the existing CAN TEST V1.0 circuit board debugging and reliability tests were passed, 8515 and found that the external interrupt instability is not in INT0 feet with pull-up resistors. after adding stability to the running debug process SJA1000 found in the first set addresses wrong, to turn over, When CAN send data, the program can enter the interruption, but the interruption was discovered by police errors arising from the interruption, estimates and baud rate settings. CDR by modifying the parameters, and the replacement of 16M crystal, it is now normal to send data admission!
Platform: | Size: 727040 | Author: 王宇 | Hits:

[SCMgps_f023_1103

Description: C8051F023的应用,主要功能是通过串口1读取GPS接收机信号,在有INT0的响应时,通过串口2发送。-C8051F023 applications, the main function is to read through a serial GPS receiver signal, INT0 in response, sent through the serial port 2.
Platform: | Size: 1278976 | Author: 王瑞 | Hits:

[SCMT0_INT0_func

Description: c8051f020中 T0 对/INT0外部输入信号脉宽测量-C8051F020 in T0 of/INT0 external input signal pulse width measurement
Platform: | Size: 5120 | Author: 海逝山蒙 | Hits:

[SCMDAN

Description: 手动扩展外部中断INT0、INT1,当INT0 产生中断时,使LED8 亮、灭闪烁4 次;当INT1 产生中断时,使LED 由右向左轮流显示,一次亮两个,循环 4 次。先按 KK1-,观察实验现象,然后按 KK2-,观察实验现象。 硬件连线:P1口接发光二极管D0~D7,INT0~KK1,INT1~KK2 -Manually extend the external interrupt INT0, INT1, when INT0 interrupt generated when so LED8 bright, blinking out 4 times when INT1 generated interruption, so that LED display from right to left alternately, a two-liang, the cycle 4 times. Press KK1-, observed experimental phenomena, and then press KK2-, observed experimental phenomena. Hardware connection: P1 I take light-emitting diodes D0 ~ D7, INT0 ~ KK1, INT1 ~ KK2
Platform: | Size: 19456 | Author: liufeng | Hits:

[SCMINT0

Description: 单片机中断控制,按下按键一次,发光二极管亮一次-Single-chip interrupt control, press the button once, a bright light-emitting diodes
Platform: | Size: 1024 | Author: Jondy | Hits:

[SCMInterruptwhz

Description: 中断应用 包括INT0+INT1 INT0+中断,INT1+中断,中断计数,等中断的应用和详细的讲解-Interruption of the application, including INT0+ INT1 INT0+ interrupt, INT1+ interruption, disruption of counting, such as interruption of the application and in detail
Platform: | Size: 3612672 | Author: whz | Hits:

[Embeded-SCM Develop18F452

Description: PIC18F452入门C例程IO,TIMER0,CCP,INT0,RBINT,EEPROM,LCD1602,LCM12864,数码管动态显示,带有PROTUES仿真 -PIC18F452 entry C routines IO, TIMER0, CCP, INT0, RBINT, EEPROM, LCD1602, LCM12864, digital control of dynamic display, with PROTUES simulation
Platform: | Size: 2191360 | Author: 张双洋 | Hits:

[SCMint0

Description: 演示通过中断INT0方式处理键盘输入的方法。对4X4的键盘矩阵定义了16个键名分别是0,1。。。E,F。某个键被按下就通过串口在模拟终端上输出。为了演示主循环与中断服务过程,在主循环中加了一条打印语句,用来演示程序的跳转。-Demo INT0 interrupt handling by keyboard input methods. The definition of the 4X4 matrix keyboard 16 keys, respectively 0,1. . . E, F. A key is pressed on through the serial port terminal in the simulation output. To demonstrate the main loop and interrupt service process, in the main loop added a print statement, to demonstrate the program jump.
Platform: | Size: 105472 | Author: kevin cheng | Hits:

[SCMc8051f120

Description: 是一个很好的C8051F120程序实例,主要有ADC12位&UART;ADC&UART;C8051F120UCOS2;DA锯齿波;DA正弦波;int0;IOTEST;pwm8;PWM16;Serial0程序;SPI;TIMER3。-Is a good example of C8051F120 procedures, mainly ADC12 bit & UART ADC & UART C8051F120UCOS2 DA sawtooth DA sine wave int0 IOTEST pwm8 PWM16 Serial0 procedures SPI TIMER3.
Platform: | Size: 21504 | Author: duanjun | Hits:

[ARM-PowerPC-ColdFire-MIPSINT0

Description: 对于学习各种中断 以及中断嵌套很有帮助-this project is very improtant in using dsp
Platform: | Size: 694272 | Author: zhutuofei | Hits:

[OtherINT0

Description: 给今年参加合泰杯比赛同学HT66FU50定时器源码-To participate in this year' s Cup of Thailand classmates HT66FU50 timer source
Platform: | Size: 21504 | Author: 林原也 | Hits:
« 12 3 »

CodeBus www.codebus.net