Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C language, pic32 basys mx3 board, please answer questions 5 through 9 5.) Copy the Digilent SSD_Init) function below. What timer is used to
Using C language, pic32 basys mx3 board, please answer questions 5 through 9
5.) Copy the Digilent SSD_Init) function below. What timer is used to control the seven-segment displays and what is the default interrupt time period as noted in the comments? [Note that you don't want to write to the SSDs faster than the refresh interval (interrupt rate) so for stable operation of the SSDs in your program make sure that the update loop takes at least as long as the SSD refresh time.] 6.) Copy the SSD_Timer1Setup() function below. What are the values of TMR_TIME, PB_FRQ, and PR1? [Can you find the mistake in their function code?] 7.) Explain what the following line of code does in the SSD_WriteDigits function. The I= is known as an assignment operator. You may need to look up the syntax for this operation at a site such as(https://www.tutorialspoint.com/cprogramming/c operators.htm) digits [0] |= 0x80 ; 8.) Copy the Digilent SWT_GetGroupValue() function below and explain how the function works. 9.) Find the Interrupt Service Routine (ISR) for the SSDs and copy it below. 5.) Copy the Digilent SSD_Init) function below. What timer is used to control the seven-segment displays and what is the default interrupt time period as noted in the comments? [Note that you don't want to write to the SSDs faster than the refresh interval (interrupt rate) so for stable operation of the SSDs in your program make sure that the update loop takes at least as long as the SSD refresh time.] 6.) Copy the SSD_Timer1Setup() function below. What are the values of TMR_TIME, PB_FRQ, and PR1? [Can you find the mistake in their function code?] 7.) Explain what the following line of code does in the SSD_WriteDigits function. The I= is known as an assignment operator. You may need to look up the syntax for this operation at a site such as(https://www.tutorialspoint.com/cprogramming/c operators.htm) digits [0] |= 0x80 ; 8.) Copy the Digilent SWT_GetGroupValue() function below and explain how the function works. 9.) Find the Interrupt Service Routine (ISR) for the SSDs and copy it belowStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started