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 / Topics / 8051 interrupt problem

8051 interrupt problem

|

Microcontroller › 8051 › 8051 interrupt problem

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 4 months ago by eng was.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 28, 2015 at 7:52 pm #3733
    eng was
    Participant

    hi

    i need help with 8051 interrupt code i write code to setting time and date in rtc using 7 segments i have multiplecing using 74595 and write a function to send data to display it ok then i make interrupt to setting time by call the function from it, it show Warning because i call the function from it

    so i need solution how to call the function from interrupt (can or cann't) and why it show Warning

    can i set the time from interrupt and using function or not

    June 29, 2015 at 10:36 am #13025
    akriti
    Participant

    please post your code as it will make your problem more clear to us.

    July 2, 2015 at 5:10 pm #13034
    Ashutosh Bhatt
    Participant

    the interrupt function need not to be called

    it executes automatically when interrupt arrives

    u have to declare function as ISR using "interrupt" keyword like

    void ext_int0() interrupt 0

    July 2, 2015 at 9:29 pm #13036
    eng was
    Participant

    i make call for interrupt and inside it i call function to display data while setting it show warrning ?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • JLCPBC are using a different shipping company = less $$$$$$$$ November 9, 2025
  • Manually actuate fuel tank selector solenoid November 9, 2025
  • strange laptop problem November 9, 2025
  • Help please! BLDC driver circuit using the IR2136s and the STP80NF06 MOSFETS November 8, 2025
  • need two ICs November 8, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

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