Keil Logo

C166: Interrupts do not work


Information in this article applies to:

  • C166 All Versions

QUESTION

I have a problem with interrupts on the Infineon C16x/ST10. I have enabled the interrupts by setting IEN=1 in the PSW register, but it seems that interrupts do not work. Are there any known problems?

ANSWER

To enable interrupts on the C16x and ST10 devices, you must globally enable interrupts (IEN=1), AND you must enable the individual interrupt source. You must also enable the group and interrupt level for each interrupt source.

Take a look at the device data book and/or to the µVision2 Getting Started User's Guide, Chapter 9, Interrupts. There, the concept of interrupts is explained in detail.

SEE ALSO


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.