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 second time using the Launchpad MSPFR 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 : value would look like within the deployment organization.Figure : Deploying the launchpad with :System 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 S button will bring up the name at least the first characters of the button of the First member of the team selected in alphabetical order of surnames If you follow pressing S will continue to display the first names in alphabetical order of surnames of the other members of the team. After the last member, pressing S returns to Identify the computer on the screen. If when identifying the device number on the screen, S is pressed, the system will display in the display the value : which corresponds to 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 S button. At that point the deployment will present the time decreasing until you reach : Every time a second passes, the state of the heart symbol in the deployment will be reversed. Each time you press the S 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 S button is pressed, the value of the counter in deployment. When the count arrives at : the system will remain in that state. To the pressing S will appear on the CLICK screen. Pressing S again will bring up the value that was on the screen when S was first pressed. Pressing S again will CLICKN appears on the screen where N is the count of clicks that were made. By Example, if within seconds clicks were made presume it will never be more than CLICK will appear on the screen. Pressing S again will cause the value to appear on the screen that was on the screen when the last CLICK occurred. Pressing S again will cause Pressing S again will cause the Difference in time between the first and last click. Pressing S 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 TimerA 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
