Question: Problem 1 6 : ( 6 0 points ) Refer to the circuit diagram in Figure 1 and the C code in Figure 3 for
Problem : points
Refer to the circuit diagram in Figure and the C code in Figure for the dsPICEPMC microcontroller.
points Complete the initializeIOports function to configure pin for the interrupt signal, and include comments for each line.
points Complete line to assign INT to pin
points Complete the initializeINT function.
points Add comments to lines
points Complete lines and
points Refer to Table Table and Register in the datasheet of dsPICEPMC Modify the codes to assign INT instead of INT to pin Include the line numbers and corresponding modified codes
void initializeINT void
void attribute
autopsvINTInterrupt void
Turn off LED clear interrupt flag b
Figure : C code for 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
