Question: Task Two Set the EXTI15_10 priority level to 0x0F in the NVIC structure. You may assume that bit I in the PRIMASK register has been

Task Two Set the EXTI15_10 priority level to 0x0F in the NVIC structure. You may assume that bit I in the PRIMASK register has been reset to 0 before your program is launched to run. Part i Develop a main program in C that sets up the system to receive EXTI110_5 external interrupt requests through the PE10 pin and initializes contents of memory locations (as needed) to perform a task specified in Part ii below. It will then merely wait in an infinite loop. Part ii Develop a C program for the ISR. The EXTI10 line should be configured to respond to rising edges only. You will be using the vector location for EXTI15_10 interrupts (refer to the Advanced ARM-based 32-bit MCUs Reference Manual that is posted under the Data Sheets Section of the Class Web Page). The ISR should decrement the contents of a 8-bit counter in a modulo-256 fashion and write those contents to PD7 PD0 (PD7 being the MSB bit).

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!