About 51 interrupts

Source: Internet
Author: User
When the microcontroller received a frame of data, RI will set 1, to the CPU to request an interruption, if there was an interruption before the Allow, there is an interruption, into the Interrupt service program. Of course, a single-chip computer sent a frame of data, TI will also set 1, the same will produce interrupts.



Add: In fact, regardless of whether you have permission to interrupt, the host computer (at this point to the microcontroller to send information on the machine) as long as the SCM to send data, the microcontroller will automatically receive data, and put it in the data buffer sbuf, if you have allowed the serial port interrupt, RI will be set 1, to the Microcontroller CPU application interruption, and into the Interrupt service program, if you do not allow the interruption, it will not produce a serial interrupt.
           Serial interrupts are mostly used to process data
 Copy from a question and answer 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.