Question: (20 pts.) (10 pts.) Given the following initialization code: TIMER_A2->CTL |= 0x0294; TIMER_A2->CCTL[2] |= 0x0080; TIMER_A2->CCR[0] |= 999; TIMER_A2-> CCR[2] |= 902; P5->SEL0 |= 0X80;

  1. (20 pts.)
    1. (10 pts.) Given the following initialization code:

TIMER_A2->CTL |= 0x0294;

TIMER_A2->CCTL[2] |= 0x0080;

TIMER_A2->CCR[0] |= 999;

TIMER_A2-> CCR[2] |= 902;

P5->SEL0 |= 0X80;

P5->SEL1 &= ~0X80;

P5->DIR |= 0X80;

Identify the following:

Timer mode: ___________________________

Output mode: __________________________

TOP value: ______________________

prescale = _______

Output frequency : ___________________

Output duty cycle (if applicable): ___________

  1. (10 pts.) Given the following initialization code:

TIMER_A2->CTL |= 0x0274;

TIMER_A2->CCTL[2] |= 0x00E0;

TIMER_A2->CCR[0] |= 499;

TIMER_A2-> CCR[2] |= 99;

P5->SEL0 |= 0X80;

P5->SEL1 &= ~0X80;

Identify the following:

Timer mode: ___________________________

Output mode: __________________________

TOP value: ______________________

prescale = _______

Output frequency : ___________________

Output duty cycle (if applicable): ___________

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!