EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Hello Mr. A M Bhatt As far as

Hello Mr. A M Bhatt As far as

|

Microcontroller › 8051 › interrupt handling › Hello Mr. A M Bhatt As far as

March 12, 2014 at 6:52 am #11293
SHAH DISHANT H.
Participant

Hello Mr. A M Bhatt

 

As far as I know, Higher prority interrupt can tregger lower priority interrupt. I have made one application which is as followed.

 

When the system will receive data RI will occur and in interrupt 4 I had written a ISR which will receive data on UART unless it receives ‘*’ on UART.

 

I had connected a fire sensor on EXT0 and when this interrupt will occur, it will start running one motor. 

 

Here if UART is receiving data and it still hs not received ‘*’ and if EXT0 will receive interrupt, it will stop running ISR of interrupt4 and will go to ISR 1. After  completting ISR1, it will return to ISR4 and will wait till ‘*’ has been received.

 

Check with such conditions.

 

I may be wrong but this is what I had tried and it was working fine.

RSS Recent Posts

  • excessive technology in multimeters March 9, 2026
  • energising a solenoid March 9, 2026
  • Pnp transistor query March 9, 2026
  • Project boxes March 8, 2026
  • MCS-51 Development Ecosystem March 8, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise