ATCH is an interrupt connection instruction, which means that the event number of the interrupt INT0 is set to 10, and the event number 10 means the timed interrupt 0 (the content indicated by the event number is fixed, please refer to the manual for details. )。
ENI's instruction is to start the interrupt.
The general meaning of this program is to start a timed interrupt INT0 at a time interval of 20 ms, that is, the program will execute the interrupt program INT0 every 20 ms..
Hope to adopt. . . . . .