Lecture 4 - Pulse Width Modulator Flashcards

1
Q

How many signals can be produced directly and simultaneously by the output compare unit of Timer 1?

A

Two

OC1A and OC1B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

On what port are the output compare pins of Timer 1?

A

Port D
OC1A = D.5
OC1B = D.4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What register specifies how output compare pins are changed on a compare match?

A

TCCR1A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many different operation modes does Timer 1 have?

A

15

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens in the CTC mode of Timer 1?

A

Timer 1 is reset to 0 on each compare match, changing output compare pins is possible; timer TOP limit is configurable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens in the Normal mode of Timer 1?

A

No compare match event; no change to compare pins; time TOP limit is fixed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What registers can be used to specify the TOP limit of Timer 1 in PWM modes?

A

ICR1 or OCR1A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many output compare interrupts can be triggered by Timer 1?

A

Two

one by channel A and other by channel B. enabled in register TIMSK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

If using a prescaler of 1024 how long will it take Timer 1 to increment?

A

1024us

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between Fast PWM and Phase Correct PWM?

A

Fast PWM, counter counts to max value then resets to 0.

Phase Correct PWM, counts to max value, then counts back down to zero.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does CTC stand for?

A

Clear Timer on Compare

How well did you know this?
1
Not at all
2
3
4
5
Perfectly