ECET 179 Final Exam Review | Questions with
100% Correct Answers | Verified | Latest Update
2026/2027
Save
Terms in this set (89)
What is a register? A special memory location inside the
microcontroller that allows us to configure the
hardware.
What does the Data Direction Configures port as an input or output
Register do?
What is the Port Register used for? It is used to output values from the microcontroller
How does the Data Direction When the DDR is configured as an input, the Port
Register (DDR) influence the Register controls the internal pull-up resistors.
operation of the Port Register?
What is the difference between the The Port Register is used to output values while the
Port Register and the Pin Register? Pin Register is used to read values.
What happens if you attempt to read It depends, but more than likely you will read the
an input from the wrong register? status of the pull-up resistors.
How do you configure a port to be You write a 1 to the corresponding Data Direction
an output? Register bit.
, How do you configure a port to be You write a 0 to the corresponding Data Direction
an input? Register bit.
YAY onto Serial Transfer Details HIIIIIIII
Use the following equation to 19
calculate the composite value (12-bit
number) for UBRR given a BAUD rate
of 19200 and system clock of 6 MHz.
UBRR = (Fclk / (BAUD*16)) - 1
Determine the actual BAUD rate that 18750
would be produced when using the
proper rounded value for UBR:
BAUD = Fclk / (16* (UBRR+1)
Determine the BAUD rate error for -2.34%
this proposed system:
Given a BAUD rate of 19200, how 52.08 microseconds
long is each bit?
(1/19200)
How long does it take to send the 520.8 microseconds
entire serial character?
(1 start bit + 8 bits + 1 stop bit = 10
10 * 52.08 microseconds = 520.8 microseconds)
100% Correct Answers | Verified | Latest Update
2026/2027
Save
Terms in this set (89)
What is a register? A special memory location inside the
microcontroller that allows us to configure the
hardware.
What does the Data Direction Configures port as an input or output
Register do?
What is the Port Register used for? It is used to output values from the microcontroller
How does the Data Direction When the DDR is configured as an input, the Port
Register (DDR) influence the Register controls the internal pull-up resistors.
operation of the Port Register?
What is the difference between the The Port Register is used to output values while the
Port Register and the Pin Register? Pin Register is used to read values.
What happens if you attempt to read It depends, but more than likely you will read the
an input from the wrong register? status of the pull-up resistors.
How do you configure a port to be You write a 1 to the corresponding Data Direction
an output? Register bit.
, How do you configure a port to be You write a 0 to the corresponding Data Direction
an input? Register bit.
YAY onto Serial Transfer Details HIIIIIIII
Use the following equation to 19
calculate the composite value (12-bit
number) for UBRR given a BAUD rate
of 19200 and system clock of 6 MHz.
UBRR = (Fclk / (BAUD*16)) - 1
Determine the actual BAUD rate that 18750
would be produced when using the
proper rounded value for UBR:
BAUD = Fclk / (16* (UBRR+1)
Determine the BAUD rate error for -2.34%
this proposed system:
Given a BAUD rate of 19200, how 52.08 microseconds
long is each bit?
(1/19200)
How long does it take to send the 520.8 microseconds
entire serial character?
(1 start bit + 8 bits + 1 stop bit = 10
10 * 52.08 microseconds = 520.8 microseconds)