Question

e. Interrupt Flags i. Edge vs. level a. Clearing a flag

e. Interrupt Flags

i. Edge vs. level
a. Clearing a flag

Homework Answers

Answer #1

Interrupts may be globally disabled by setting the flag to one.

On reset the flag is set.

Clear the flag to enable interrupts.

Edge level
1. A high to low signal triggers the interrupt 1.default made upon reset of the 8051
2.Need to set TCON.0(IT0)/TCON.2(IT1) 2.A low-level signal triggers the interrupt.
3.TCON.1(IE0) AND TCON.3(IE1) are set when an falling edge is detected and cleared by RETI 3.The low signal must be held low before the execution of ISR and must be removed before RETI

Clearing a flag:

In microproccessor causing a flag to become 0 is clearing a flag

Know the answer?
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
Similar Questions
1. A mechanism by which other modules, such as I/O and memory, may interrupt the normal...
1. A mechanism by which other modules, such as I/O and memory, may interrupt the normal sequencing of the processor is called (A) Communication (B) Trap (C) Interrupt (D) I/O (E) None of the above 2. A mode of operation that provides for the interleaved execution of two or more computer programs by a single processor is called (A) Interrupt (B) Multi-programming (C) Multi-tasking (D) Multi-threading (E) None of the above 3. Which of the following is a memory location...
Match the terms in Column I with the definitions in Column II. closing entries clearing accounts...
Match the terms in Column I with the definitions in Column II. closing entries clearing accounts preparing a trial balance permanent accounts corporation financial accounting an accounting period a partnership accounts payable management accounting A. the period covered by an accounting report. B. Includes 2 (or more) people. C. reporting information to management D. income summary E. the period covered by an accounting report F. close temporary account G. the fifth step in the accounting cycle H. continue from one...
A projectile is shot from the edge of a cliff 115 m m above ground level...
A projectile is shot from the edge of a cliff 115 m m above ground level with an initial speed of v0 v 0 = 54 m/s m / s at an angle of 35.0∘ A) Determine the time taken by the projectile to hit point P P at ground level. B)Determine the distance XX of point PP from the base of the vertical cliff. C)At the instant just before the projectile hits point PP, find the horizontal and the...
2(a) Qualitatively hand-sketch log(I) vs. V for a Schottky diode and a PN diode in the...
2(a) Qualitatively hand-sketch log(I) vs. V for a Schottky diode and a PN diode in the same figure. Comment on the similarity and difference. 2(b) Calculate the IS of a 1 mm2 metal on N-type Si Schottky diode with A*=100A/cm2-K2, T=300K, ?Bn=0.55eV. Compare it with the IS of a 1 mm2 P+N diode with ND = 1018 cm–3, T=300K and, Dp =4cm2/s, ?p=1?s. (c) Compare the forward voltage of the two diodes in (b) at a forward current of 50A....
* i need part E , F, G , H You attach a 150 g mass...
* i need part E , F, G , H You attach a 150 g mass on a spring hung vertically. a. If the spring initially stretches 16 cm w... You attach a 150 g mass on a spring hung vertically. a. If the spring initially stretches 16 cm when you hang the mass on it, what is the spring constant? b. How long will one oscillation take? The spring is now oriented horizontally and attached to a glider on...
Week 2 HW: Elasticity Step 1 - E L A S T I C or INELASTIC?...
Week 2 HW: Elasticity Step 1 - E L A S T I C or INELASTIC? Price Elasticity of Demand is a measure of how responsive demand is to a change in price. If a price change leads to a considerably bigger change in quantity demanded, we would consider the good to be responsive to a price change—hence elastic. If, however, a similar price change leads to a much smaller change in demand, we would consider it inelastic. To get...
1). Suppose in Pakistan the macroeconomic variables i* (foreign interest rate), P (domestic aggregate price level),...
1). Suppose in Pakistan the macroeconomic variables i* (foreign interest rate), P (domestic aggregate price level), P* (foreign aggregate price level), Y* (foreign income level), straight pie (domestic expected inflation), T (domestic net taxes), and G (domestic government spending) are exogenously given, the interest parity condition holds, and the expectations of the future economic trends remain unchanged. In this situation, if the foreign aggregate price level, P*, declines, the IS curve a. would not shift. b. would shift to the...
Consider a closed economy, where output equals the full employment level of output Y=¯Y=4000, and G=0,C^d=-1000r+0.75Y,I^d=1200-4000r...
Consider a closed economy, where output equals the full employment level of output Y=¯Y=4000, and G=0,C^d=-1000r+0.75Y,I^d=1200-4000r Question 19: The equilibrium real interest rate is: A. less than or equal to 2% B. more than 2%, but less than or equal to 3% C. more than 3%, but less than or equal to 4% D. more than 4%, but less than or equal to 5% E. more than 6% Question 20: The desired investment is: A. less than or equal to...
6.   If the general level of interest rates goes down and I am holding a bond with...
6.   If the general level of interest rates goes down and I am holding a bond with a fixed coupon rate, I would expect the value of my bond to a.stay the same b.double c.increase d.decrease e.not enough information to tell 7.  The Rule of 72’s a.Is about doubling the present value to get the future value. b.Says that 72 divided by the payment gives you the number of years to double. c.Says that the rate divided by 72 gives you the...
THIS IS THE GENERAL EQUILIBRIUM PROBLEM THAT I PROMISED. YOU FIRST SOLVE FOR THE INITIAL EQUILIBRIUM...
THIS IS THE GENERAL EQUILIBRIUM PROBLEM THAT I PROMISED. YOU FIRST SOLVE FOR THE INITIAL EQUILIBRIUM AS POINT A. WE CONSIDER TWO DIFFERENT AND SEPARATE SHOCKS (I CALL THEM SCENARIOS). THE FIRST SHOCK IS TO THE IS CURVE, THE SECOND SHOCK IS A ‘LM’ SHOCK. AGAIN, WE CONSIDER THESE SHOCKS SEPARATELY SO THAT AFTER YOU COMPLETE SCENARIO 1 (THE IS SHOCK), WE GO BACK TO THE ORIGINAL CONDITIONS AND CONSIDER THE SECOND SCENARIO WHICH IS THE ‘LM’ SHOCK. Consider the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT