Home > other >  The relationship between c51 delay and interrupt function
The relationship between c51 delay and interrupt function

Time:11-25

For c51 microcontroller small white want to consult, the main function there is a delay function in the operation, when raise the interrupt function may interrupt the delay function away? Which is the main function of delay in the process of operation, for the set of raise the interrupt time, this time, the delay function will be suspended, the inside of the priority interrupt function statements, and then continue to run the delay function? If not, what is?

CodePudding user response:

Process, the interruption occurred, would be interrupted by the interrupt, interrupt back to continue,

CodePudding user response:

reference 1st floor snowbearlet response:
, in the process of interruption occurred, would be interrupted by the interrupt, interrupt return to continue,

Thanks to answer! That I could be so understand yao, it is not delay function of the desired effect, the actual delay is longer than the original time?

CodePudding user response:

reference 1st floor snowbearlet response:
, in the process of interruption occurred, would be interrupted by the interrupt, interrupt return to continue,

Thanks to answer! That I could be so understand yao, it is not delay function of the desired effect, the actual delay is longer than the original time?

CodePudding user response:

Thanks to answer! So I can understand that do not exceed the time limit for the effect, the actual delay delay longer than setting?

CodePudding user response:

The
references 4 floor? Frivolous? Response:
thank you for answer! So I can understand that do not exceed the time limit for the effect, the actual delay delay longer than setting?

Yes, so the conventional NOP time is not accurate time, of course with instrument precise adjustment is another said
Generally avoid long timescales in the interrupt

CodePudding user response:

reference 5 floor dceacho reply:
Quote: reference 4 floor? Frivolous? Response:
thank you for answer! So I can understand that do not exceed the time limit for the effect, the actual delay delay longer than setting?

Yes, so the conventional NOP time is not accurate time, of course with instrument precise adjustment is another said
Generally avoid long timescales in the interrupt

Understand, thank you for answer!

CodePudding user response:

Delay is cycle time delay model, send the interruption, delay will delay
If the delay is, by the timer interrupt is not affected by disruptions, if not at the same time
  • Related