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 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
Get step-by-step solutions from verified subject matter experts
