 | ISD51 User's Guide |  |
|
|
| ISDdisable| Summary |
#include "isd51.h"
void ISDdisable (void);
| | Description | ISDdisable function disables the ISD51 interrupt. If you use this routine to disable the ISD51 interrupt you must use ISDenable to re-enable it. | | Return Value | None. | | Example |
#include "isd51.h"
void main (void)
{
.
.
.
/*--------------------------------------------
Initialize the 8051 UART.
Then, initialize ISD51 and wait until the
uVision Debugger starts.
--------------------------------------------*/
Init_UART ();
ISDwait ();
while (1)
{
ISDdisable (); // Begin critical section
.
.
.
ISDenable (); // End critical section
.
.
.
}
}
|
|
|