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
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

  • How to power up two stereo audio amplifiers from a single source of power supply August 12, 2022
  • Nokia 5110 HW in Oshonsoft August 12, 2022
  • Drill speed controller fault August 12, 2022
  • Charging shutdown circuit question. August 12, 2022
  • My NE555 chips gone bad August 12, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 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