• Require Interrupt function for INT0
    Hi, Can anybody give me a small code which can demonstrate to me the way to write interrupt functions. I have tried but it din't worked.The code is below - #include<AT89x52.h> #include<stdio...
  • fx2 interrupt int0
    Hello, I want to work with the interrupt int0 of the FX2. The regsiters I have to use are written down in the TRM of the FX2. But where are informations about enabling the interrupt or name of...
  • Timer0 and INT0 interrupt
    Question with follwing code: EA = 0; ET0 = 1; INT0 =1; EA = 1; T0_start(); while ( T0_interrupt ); if ( Int0_interrupt ){} If I can find interrupt 0 has happened when timer0 is running? Thank you...
  • int0 & int1
    I use int0 & int1 to measure the width of a pulse. My program works fine in the simulator with inputs from an include file. When I run the program on a breadboard using an ATMEL AT89C1051 I do not get...
  • Configuration of P1 versus INT0 !
    I want to use the external interupt pin 0. So I configured the Port 1 like this : // 3 IRQ : Input Only. P1M1 = 0X7E; P1M2 = 0x81; But when debugging, the checkboxes in P1 window are greied for...