Question: Software Requirements ( B ) : Develop a C program to achieve the following functionalities: 1 ) At startup, both LED 1 and LED 2
Software Requirements B: Develop a C program to achieve the following functionalities: At startup, both LED and LED should be turned on Pressing SW generates an edgetriggered interrupt on PC Within the ISR, LED toggles once, leaving LED unaffected. Releasing SW doesn't produce any interrupt or LED changes. Pressing SW triggers an edgetriggered interrupt on PC The ISR toggles LED once, leaving LED unaffected. Releasing SW doesn't produce any interrupt or LED changes. ENGR In essence, your responsibilities include designing pushbutton switch and LED circuits using both positive and negative logic and implementing edgetriggered interrupts on GPIO pins. This involves configuring NVIC, EXTI, and SYSCFG module registers and developing the appropriate ISRs.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
