Question: 1o Complete the code including operations if needed) and comments n tnowledge of C programming comments thet are present, and vosd PortD Init void) the

 1o Complete the code including operations if needed) and comments n

1o Complete the code including operations if needed) and comments n tnowledge of C programming comments thet are present, and vosd PortD Init void) the Pot j uint 32, t check value intormation provided on the s (SYSCTLRCOCGPOR GPIO PORTD LOCK R GPIO LOCK KEY GPIO PORTD CRR OuFF GPIO PORTD AMSEL ROx 00 // Allow changes to be made to firse 8 b // Clear the bits in the GPIO Port Contr register / The first, fifth, seventh and eight bes PortD are outputs and the rest are ingus // Clear the bits in the Alternate Function reester // Enable any pull-up resistors on pins Po3, 4, and 5 // Enable the digjital port GPIO PORTO AFSEL R&OxFF GPIO PORTD DEN R &0x00; GPIO PORTD-DATA-R . (GPIO-PORTD-DATA R EEMaearthe bits of the output p ns without GPIO PORTO DATA R (GPIO PORTD_DATAR 83 Set the last two outputs to 1 and the changing the bits of the inputs other outputs to 0 without changing the bits of the inputs /I The first two inputs are falling edge triggered interrupts and third input is level (low). If there are any other inputs, they are not interrupts // The first two inputs are falling edge triggered interrupts and third input is level low). GPIO PORTD IS_R&93 ??????????? ? GPIO_PORTD IBE_R &OxFF: IIII The first two inputs are falling edge GPIO_PORTD_IEV R & triggered interrupts and third input is level (low), // Clear the flags of the interrupts GPIO_PORTD ICR R OxFF: // Arm all of the interrupts on PortD excep the second one // Set the bits for the priority on Portoto GPIO PORTD IM R GPIO PORTC IM R 11a C 12s // Set the priority to 3 without changing priority of the ports // Enable the Port C and D interrupts a leave the others unchanged /I go back to the main function 13? NVIC_ENO R 14? C 15 1o Complete the code including operations if needed) and comments n tnowledge of C programming comments thet are present, and vosd PortD Init void) the Pot j uint 32, t check value intormation provided on the s (SYSCTLRCOCGPOR GPIO PORTD LOCK R GPIO LOCK KEY GPIO PORTD CRR OuFF GPIO PORTD AMSEL ROx 00 // Allow changes to be made to firse 8 b // Clear the bits in the GPIO Port Contr register / The first, fifth, seventh and eight bes PortD are outputs and the rest are ingus // Clear the bits in the Alternate Function reester // Enable any pull-up resistors on pins Po3, 4, and 5 // Enable the digjital port GPIO PORTO AFSEL R&OxFF GPIO PORTD DEN R &0x00; GPIO PORTD-DATA-R . (GPIO-PORTD-DATA R EEMaearthe bits of the output p ns without GPIO PORTO DATA R (GPIO PORTD_DATAR 83 Set the last two outputs to 1 and the changing the bits of the inputs other outputs to 0 without changing the bits of the inputs /I The first two inputs are falling edge triggered interrupts and third input is level (low). If there are any other inputs, they are not interrupts // The first two inputs are falling edge triggered interrupts and third input is level low). GPIO PORTD IS_R&93 ??????????? ? GPIO_PORTD IBE_R &OxFF: IIII The first two inputs are falling edge GPIO_PORTD_IEV R & triggered interrupts and third input is level (low), // Clear the flags of the interrupts GPIO_PORTD ICR R OxFF: // Arm all of the interrupts on PortD excep the second one // Set the bits for the priority on Portoto GPIO PORTD IM R GPIO PORTC IM R 11a C 12s // Set the priority to 3 without changing priority of the ports // Enable the Port C and D interrupts a leave the others unchanged /I go back to the main function 13? NVIC_ENO R 14? C 15

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