Question: 7. Write a C function uint32_t CheckPrio(uint32_t ui32interrupt); that returns 1 if the priority of the given interrupt source is higher priority than the BASEPRI.

 7. Write a C function uint32_t CheckPrio(uint32_t ui32interrupt); that returns 1

7. Write a C function uint32_t CheckPrio(uint32_t ui32interrupt); that returns 1 if the priority of the given interrupt source is higher priority than the BASEPRI. Otherwise the function returns 0 . If you need to write an assembly helper function do so with as little assembly as possible

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!