Question: Question 3 GPTM Timer - Input Capture Answer 3 a - 3 e using the following information. Suppose Timer 2 A is configured for 1

Question 3
GPTM Timer - Input Capture
Answer 3a -3e using the following information.
Suppose Timer 2A is configured for 16-bit, count-down, edge-time, capture mode and uses the 16 MHz system clock.
Below is a graph of the timer operation as it repeatedly counts down from the maximum count value.
Let F = count value 0xCCC6, G = count value 0x7FFD, and H = count value 0x5FFB.
timer-graph.png
Question 3a
Which line of code will configure the timer (Timer 2A) to capture falling edge events on the input?
TIMER2_CTL_R &= ~0xC00;
TIMER2_CTL_R &= ~0xC;
TIMER2_CTL_R |=0x800;
TIMER2_CTL_R |=0x8;
TIMER2_CTL_R |=0xC;
TIMER2_CTL_R =0x1;
TIMER2_CTL_R |=0x400;
TIMER2_CTL_R |=0xC00;
TIMER2_CTL_R |=0x4;

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!