HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Jon Titus
User Rank
Blogger
Re: Introduction: Fundamentals of Designing With Microcontrollers
Jon Titus   1/16/2012 7:40:31 PM
NO RATINGS
Q:  Is it possible to change priorities for one-vector interrupts?

A:  Yes, you just change the order in which you test the flag bit for the devices that can cause an interrupt.  To give a UART higher priority than an ADC, you test the UART flag first and if it is set, you run the UART-related code. After you handle the UART interrupt you test the ADC flag, and so on.  The last flag you test has the lowest priority.



Partner Zone
Latest Analysis
The National Aeronautics and Space Administration’s recently announced plan to put an electric airplane in the air by 2018 is forward-looking, but hardly unique.
Engineers can channel the eye of the tiger and rise to the challenge, with a number of prize or award-giving contests out there to test your metal and intellectual prowess.
Engineers at the Lawrence Livermore National Laboratory have achieved the ability to scale nanotechnology for the development of super-strong, lightweight metal materials.
Harvard researchers have identified a new class of high-performing organic molecules in the development of redox flow batteries for alternative-energy storage.
Researchers in the United Kingdom have found a sustainable way to derive hydrogen from grass to develop biofuel.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jul 11 - 15, Embedded System Design Techniques™ - Debugging Real-time Embedded Software – Hands on
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

Copyright © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service