Question: A system will be designed to record interruptions arriving at the MCU at an interval of 3 0 - second time using the Launchpad MSP

A system will be designed to record interruptions arriving at the MCU at an interval of 30-second time using the Launchpad MSP430FR6989. The system will have two digits for seconds and two digits for hundredths of a second. To introduce the four digits: The four alphanumeric characters on the far right of the display will be used. The figure below shows what the 25:48 value would look like within the deployment organization.Figure 1: Deploying the launchpad with 24:48System OperationInitially, the screen will identify the team that designed the system. It will appear in "TEAM##" screen where ## are the two digits that identify the team number. To the pressing the S1 button will bring up the name (at least the first 6 characters of the button) of the First member of the team (selected in alphabetical order of surnames). If you follow pressing S1 will continue to display the first names (in alphabetical order of surnames) of the other members of the team. After the last member, pressing S1 returns to Identify the computer on the screen. If, when identifying the device number on the screen, S2 is pressed, the system will display in the display the value 30:00 which corresponds to 30 seconds. To this end, the four characters on the far right of the screen. The counter will remain at that value until to press the S1 button. At that point the deployment will present the time decreasing until you reach 00:00. Every time a second passes, the state of the heart symbol in the deployment will be reversed. Each time you press the S2 button, the Launchpad will reverse the state of the Green LED. At the beginning of the implementation of the program, both the heart and the green will be Off. Each time the S2 button is pressed, the value of the counter in deployment. When the count arrives at 00:00 the system will remain in that state. To the pressing S1 will appear on the CLICK1 screen. Pressing S1 again will bring up the value that was on the screen when S2 was first pressed. Pressing S1 again will CLICKN appears on the screen where N is the count of clicks that were made. By Example, if within 30 seconds 5 clicks were made (presume it will never be more than 9)CLICK5 will appear on the screen. Pressing S1 again will cause the value to appear on the screen that was on the screen when the last CLICK occurred. Pressing S1 again will cause Pressing S1 again will cause the Difference in time between the first and last click. Pressing S1 again will cause the system return to the initial state.Technical RequirementsAfter the initialization of the system and the TEAM## appears in the deployment, the MCU will enter Low Power mode and will only exit it to attend to subroutines of Interruptions. When the processor has no tasks to perform, it will remain in Low mode Power. The readings of the status of the buttons will be carried out in response to requests from interruption that they will generate. They will not be read using polling. All controls Time spent on the system will be done using the timer Timer_A0. They will not be implemented by means of iterative structures.The program has to be modular divided into subroutines. Each subroutine will end with a challenge and, to the extent practicable, will operate on securities which it will receive by means of repositories or of the stack.Jumps from one subroutine to another will not be performed by means of instructions other than call. can you give me the code for this problem

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 Programming Questions!