Question

what is the command on the 9S12 to enable all the interrupts in general?

what is the command on the 9S12 to enable all the interrupts in general?

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

Global Interrupt Enable/Disable on HS12 Microcontroller

Gloabal Disable Interrupts: To disable all maskable interrupts, set the bit/flag ‘I’ in CCR register as 00010000. This instruction disable all interrupts however whether they are enabled via their respective registers.

CCR Register

B7

B6

B5

B4

B3

B2

B1

B0

0

0

0

1

0

0

0

0

Gloabal Enable Interrupts: To disable all maskable interrupts, set the bit/flag ‘I’ in CCR register as 00010000

CCR Register

B7

B6

B5

B4

B3

B2

B1

B0

0

0

0

0

0

0

0

0

Add a comment
Know the answer?
Add Answer to:
what is the command on the 9S12 to enable all the interrupts in general?
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