Practice 1 For the following simple Mbed program, write the low-level C code that does the same functionality, Provide the full list of registers and their addresses needed for controlling LED1 on the OM13063. For the delay, implement an approximation software delay assuming that the Cortex-M4 is running at 120 MHz #include "mbed.h" //include the mbed header file as part of this program // program variable myled is created, and linked with mbed LEDI Digital out myled (LED1); int main() { while(1) myled = 1; wait(0.2); myled = 0; wait(0.2); //the main function starts here //a continuous loop is created // switch the led on, by setting the output to logic 1 //wait 0.2 seconds // switch the led off //wait 0.2 seconds //end of while loop //end of main function Deliverables: A paragraph explaining what the code is doing. A paragraph explaining the abstraction offered by the Mbed platform. Which layer of the Mbed platform are we using in the above code ? Elaborate. Well-commented low-level C code that does the same functionality as the above code. Schematic for LED1. Memory map for all the registers associated with controlling/monitoring the GPIO pin connected to LED1. Submission on on eCampus only. Practice 1 For the following simple Mbed program, write the low-level C code that does the same functionality, Provide the full list of registers and their addresses needed for controlling LED1 on the OM13063. For the delay, implement an approximation software delay assuming that the Cortex-M4 is running at 120 MHz #include "mbed.h" //include the mbed header file as part of this program // program variable myled is created, and linked with mbed LEDI Digital out myled (LED1); int main() { while(1) myled = 1; wait(0.2); myled = 0; wait(0.2); //the main function starts here //a continuous loop is created // switch the led on, by setting the output to logic 1 //wait 0.2 seconds // switch the led off //wait 0.2 seconds //end of while loop //end of main function Deliverables: A paragraph explaining what the code is doing. A paragraph explaining the abstraction offered by the Mbed platform. Which layer of the Mbed platform are we using in the above code ? Elaborate. Well-commented low-level C code that does the same functionality as the above code. Schematic for LED1. Memory map for all the registers associated with controlling/monitoring the GPIO pin connected to LED1. Submission on on eCampus only