Action
Enable specified interrupt.
Syntax
ENABLE interrupt
Remarks
Interrupt |
INT0, INT1, SERIAL, TIMER0, TIMER1 or TIMER2 |
For other chips also : INT2, INT3, INT4, INT5, INT6, INT7, INT8 , CAN
By default all interrupts are disabled.
To enable the enabling and disabling of interrupts use ENABLE INTERRUPTS.
Other microprocessors can have more interrupts than the 8051/8052.
Look at specific microprocessor support for more details.
See also
Example
ENABLE INTERRUPTS 'allow interrupts to be set
ENABLE TIMER1 'enables the TIMER1 interrupt