An overview of the usage of interrupts with the C62x CPU
- Author:
- Hyeokho Choi
- Subject:
- Science and Technology
- Institution Name:
- Connexions
- Collection:
- Connexions
- Grade Level:
- Post-secondary
- Abstract:
An overview of the usage of interrupts with the C62x CPU. The interrupts provide a mechanism for handling any infrequent or exceptional event. The interrupt causes a CPU to make a temporary transfer of control from its current location to another location that services the event. A variety of sources, internal and external to the CPU, can generate interrupts. For example, the I/O devices receive the attention of the CPU to receive various services to handle the I/O tasks. The use of interrupts greatly increases the performance of the CPU by allowing the I/O devices direct and rapid access to the CPU and by freeing the CPU from the task of continually testing the status of its I/O devices. The I/O devices assert interrupts to request the CPU to start a new I/O operation, to signal the completion of an I/O operation, and to signal the occurrence of hardware and software errors. In this lab, we use a timer inside the C62x CPU to generate interrupts at a fixed period to blink LEDs on the DSK board at a programmed rate.
- Course Type:
- Learning Module
- Languages:
- English
- Material Type:
- Readings, Syllabi
- Media Format:
- Text/HTML
- Conditions of Use:
-
Creative Commons Attribution 2.0
Comments