Programmable Control Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is the ALU - Arithmetic Logic Unit?

A

The brain of the microcontroller. Operates by reading instructions from the ROM.

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

RAM - Random Access Memory is?

A

Temporary memory used to store information while a program is running.

Volatile => computer off means memory lost.

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

ROM - Read Only Memory is?

A

Permanent memory that contains operating instructions for the microcontroller

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

EEPROM - Electronically Erasable Read Only Memory is?

A

Similar to ROM, can be reprogrammed.

ROM - Permanent memory that contains operating instructions for the microcontroller.

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

what does the clock do in programming?

A

Controls the speed at which operations occur.

Synchronises the blocks to the microcontroller works properly (ALU, RAM etc.)

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

what do buses do?

A

Information is carried between blocks along groups of wires called buses.

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

input & output ports are?

A

ports that communicate information between the microcontroller and the real world.

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

how to set pins as inputs and outputs?

A

let dirs = %11110000

inputs (0) outputs (1)

note that it goes largest to smallest so 1100 goes pins 3,2,1,0

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

how to name a pin? Call pin 7 “LED”

A

Symbol LED = 7

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

Create the main programming section

A

-
-
go to MAIN

(go to main loops)

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

turn on and off pins

A

high LED
low LED

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

create a delay

A

pause

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