Question

Consider the following 8051 interfacing problem. Crystal frequency: 11.059MHz. The LED  

D8 will light up with every key press as shown below.

45V HE C3 1DF R2 Sk U1 R10 40 VCC >XTALI LED-YELLOW XTAL2 12MHz DB REAL Hoh RST CRYSTAL PODADO PO WAD1 PO 2 AD2 POSIAD) PO4AD

  1. Initialize IE register for external interrupt at INT0

  2. Initialize TCON register for the appropriate type of interrupt

  3. Declare and define the interrupt service routine

  4. Access and configure relevant pin as needed

  5. Call back action in the main function as needed

INTERRUPTS 8051 microcontroller ENABLE (IE) REGISTER EA ET2 ES ET1 EX1 ETO EXO For level triggered: interrupt is enabled for

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(i) Interrupt Enable (IE) register. It is used to enable con disable Various available interrupts 167 TE•G DES LE.4 IE3 IE.2

ii) Interrupt service routine (ISR) = when the interrupt is enabled, control is transfered to ISR & code in the ISR will be e

Thank You....!!!!
For any query, please comment.
If you are satisfied by the above answer, then please thumbs up or upvote the answer.

Add a comment
Know the answer?
Add Answer to:
Consider the following 8051 interfacing problem. Crystal frequency: 11.059MHz. The LED   D8 will light up with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT