Chapter 3 Flashcards

1
Q

What is SFR TCON

A

A register used to control timers such as start, stop, reset etc

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

What is SFR TMOD

A

A register used to configure how timers operate

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

What do timer data registers do?

A

The timer data registers store the current value of the timer as the timer is incremented this value increases

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

Modern timer operations

Comparator

A

A value written to register is compared in hardware to timer counter. If value is equal then comparator flag = 1 or interrupt called.

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

Modern timer operations

Capture

A

The current counter value is captured and written to a register in hardware. Usually triggered from an interrupt.

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

Modern timer operations

Prescaler

A

Integer divisor to lower frequency of ticks.

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

Loop timeouts

A

Loop timeouts used to ensure exit from loops

Variable is initialised and then incremented until overflow

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

Hardware timeouts

A

More precise than loop timeouts. A timer is configured with required timeout delay and timer flag is monitored

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

Interrupts

A

Based on an event, a signal is sent to pause its current program execution and execute some code associated with the event.

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

External interrupts

A

External interrupts are those that are generated by signals external to the chip.

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