HW 9-12
Refer to the Finite State Machine model for the encoder shown above. What is the state sequence AB if we start a state 00 and are turning clockwise? a. 00 10 11 01 (repeat) b. 00 01 11 10 (repeat) c. 00 00 00 00 (repeat) d. None of the above
a. 00 10 11 01 (repeat)
Based on your answer above, the Nyquist sampling frequency is a. 1 Hz b. 2/5 Hz c. 2 Hz d. None of the above
a. 1 Hz
What is the width of one bit of data? a. 1/(115200 baud) = 8.7 µsec b. 40 µsec c. Can't tell from the plot d. None of the above
a. 1/(115200 baud) = 8.7 µsec
Questions 1-8 review the analog-to-digital conversion process for the analog signal x(t) = 10sinπt volts shown above. The highest frequency present in this pure sinewave is a. 1/2 Hz b. 1/5 Hz c. 1 Hz d. None of the above
a. 1/2 Hz
Suppose we have configured our UART to have a data frame with 8-bit data, 1 start bit, 1 stop bit, and no parity bit. If we have a baud rate of 1000 bits/sec, what is the bandwidth in bytes/sec? a. 100 bytes per second b. 10 bytes per second c. 500 bytes per second d. None of the above
a. 100 bytes per second
What is the mean-square-error (MSE) due to quantization for this example? a. 25/48 volts2 b. 25/12 volts2 c. 25/4 volts2 d. None of the above
a. 25/48 volts2
In class, for a linear encoding scheme we derived the integer equation (int) (Paul doesn't include the q/2 term for your Lab 6). Find the 3-bit value for xencoded if xquantized = 6.25 volts a. 6 = 110 b. 5 = 101 c. 7 = 111 d. None of the above
a. 6 = 110
In UART_OutChar(), what is the purpose of the following code: while((UART0_FR_R&UART_FR_TXFF) != 0) a. It is waiting until the output FIFO buffer is not full b. It is waiting until the input FIFO buffer is not empty c. It is waiting until the output FIFO buffer is full d. None of the above
a. It is waiting until the output FIFO buffer is not full
If we were to sample exactly at the Nyquist frequency, what would the sampled signal look like? a. It would be identically zero b. It would oscillate between 10 and -10 volts every sample c. It would be a constant 10 volts d. None of the above
a. It would be identically zero
After completing part 2 of Lab 5, you put the TXE and RXE pins up on the Tektronrix scope and followed the instructions to put the bus into RS-232 mode. Suppose, you obtained the following plot: What was the letter transmitted (TX) from PuTTY to the Tivia Launchpad (channel 1 in yellow)? a. Lowercase a b. Uppercase A c. Can't tell from the plot d. None of the above
a. Lowercase a
Assuming we take advantage of the entire dynamic range AND chose the midpoint of the quantization region to represent the analog signal we are converting, what is the MSE error due to quantization? a. MSE =(3.3/4096)2/12 b. MSE =(3.3/2048)2/12 c. MSE =(5/4096)2/12 d. None of the above
a. MSE =(3.3/4096)2/12
The first 127 entries in the Unicode table are the same as the ASCII table but Unicode has far more characters and languages as does ASCII including emoji codes. Goto Unicode.org and find the code for the emoji grinning face (smiley face). The code is a. U+1F600 b. :-) c. U+1F599 d. None of the above
a. U+1F600
Your LaunchPad has 8 UARTs. Which one is used in Lab 5? a. UART0 b. UART1 c. UART8 d. None of the above
a. UART0
Suppose I have an 50MHz clock and want to use UART0 on GPIO PORTA pins A0 and A1. To set the Baud rate to 115.2 KBaud, In the UART_Init(void) routine, I would use a. UART0_IBRD_R = 27; UART0_FBRD_R = 8; b. UART0_IBRD_R = 43; UART0_FBRD_R = 26; c. UART0_IBRD_R = 27; UART0_FBRD_R = 26; No answer text provided.
a. UART0_IBRD_R = 27; UART0_FBRD_R = 8;
If I typed the string ViRu into your filter and the next character is an L, then a. We echo the character and reset the state back to the initial state b. We would send out 4 BS followed by 4 SP followed by 4 BS again c. Our filter would have a huge following (go viral) d. None of the above
a. We echo the character and reset the state back to the initial state
Recall that transmission starts when the signal goes low for one bit (called the start bit) and then continues with lsb b0 thru to msb b7 and then ends with one stop bit. Look at the scope plot again and determine what the b0b1b2b3b4b5b6b7 are for the eight data bits transmitted after the start bit goes low (TX) (channel 1 in yellow) a. b0b1b2b3b4b5b6b7 = 10000110 (or 97 in decimal) b. b0b1b2b3b4b5b6b7 = 10000010 (or 65 in decimal) c. b0b1b2b3b4b5b6b7 = 10000111 (or 113 in decimal) d. None of the above
a. b0b1b2b3b4b5b6b7 = 10000110 (or 97 in decimal)
Thus, the width of each quantization band for your ADC is a. q = 3.3/4096 volts b. q =3.3/2048 volts c. q =5/4096 volts d. None of the above
a. q = 3.3/4096 volts
For the next few questions, suppose we put x(t) into a 3-bit ADC converter with a range -10v to 10v. What is the width of each of the 23 = 8 quantizing bands for this ADC? a. q=2.5 volts b. q=5 volts c. q=1 volt d. None of the above
a. q=2.5 volts
A good definition for interface latency as defined in Chapter 12 of your E-Book is a. the time between when new input is available, and the time when the software reads the input data. b. the response time of the external I/O device c. the amount of data/sec being processed d. None of the above
a. the time between when new input is available, and the time when the software reads the input data.
Again, refer to the Finite State Machine model for the encoder shown above. What is the state sequence AB if we start a state 00 and are turning counter clockwise? a. 00 10 11 01 (repeat) b. 00 01 11 10 (repeat) c. 00 00 00 00 (repeat) d. None of the Above
b. 00 01 11 10 (repeat)
In Lab 6, if the ADC raw (encoded) output is 1746, then the voltage in millivolts is a. 3300 mv b. 1407 mv c. 0 mv d. None of the above
b. 1407 mv
According to 14.3 in your E-Book, your Tiva C Launchpad has how many ADCs? a. None b. 2 - ADC0 and ADC1 c. 4 ADCS d. 8 ADCS
b. 2 - ADC0 and ADC1
If you do part c) above how many total combinations can you have? a. 20 b. 26 c. 30 d. None of the above
b. 26
For the next few questions, Suppose I wanted to write a filter similar to your goblin/gobbler Lab 5 part 3 filter called pandemic which erases the word virus when you type it in any combination of upper/lowercase characters. Including the initial state and the final state as when the final 's' is typed, this FSM would have a total of a. 5 states b. 6 states c. 7 states d. None of the above
b. 6 states
Actually, the potentiometer we use is a sensor. It senses a. Linear displacement b. Angular displacement c. Humidity d. None of the above
b. Angular displacement
According to that same table, the priority for the SysTick interrupt is set by a. Bits 23 - 21 of NVIC_SYS_PRI3_R b. Bits 31-29 of NVIC_SYS_PRI3_R c. Bits 28 - 26 of NVIC_SYS_PRI3_R d. None of the above
b. Bits 31-29 of NVIC_SYS_PRI3_R
Although interrupt driven synchronization is the most efficient, Lab 5 and Chapter 11 actually uses a. Carrier pigeons b. Busy/Wait c. Blind Cycle d. None of the above
b. Busy/Wait
What type of input/output method does your Lab 5 UART_InChar() and UART_OutChar() use? a. Blind cycle b. Busy/Wait c. Interrupt d. None of the above
b. Busy/Wait
Communications transmission media is basically divided into the following two categories a. Pony vs. mail truck b. Conducted (wired) vs. Radiated (wireless) c. Snail mail vs. e-mail d. None of the above
b. Conducted (wired) vs. Radiated (wireless)
In UART_InChar(), what is the purpose of the following code: while((UART0_FR_R&UART_FR_RXFE) != 0) a. It is waiting until the input FIFO buffer is not full b. It is waiting until the input FIFO buffer is not empty c. It is waiting until the output FIFO buffer is full d. None of the above
b. It is waiting until the input FIFO buffer is not empty
To us in Chapter 11 and Lab 5, Baud rate means a. A term for less-than-perfect grade B audio b. Number of bits per second c. Number of 8-bit words per second d. None of the above
b. Number of bits per second
Grey code is an encoding scheme that is characterized by a. Grey color b. Only 1 bit changing in each successive encoded value c. Was invented by Elisha Grey who nearly received the U.S. patent on the telephone d. None of the above
b. Only 1 bit changing in each successive encoded value
For many control situations having a strict, constant sampling period, Ts is critical. The busy-wait ADC sampling function above can't guarantee this. One way to make sure Ts is constant is a. Call it constant b. Put your ADC inside a SysTick interrupt handler similar to that shown at the end of section 14.3 c. Don't use ADC at all d. None of the above
b. Put your ADC inside a SysTick interrupt handler similar to that shown at the end of section 14.3
As shown in question 6, If-Else if is one means of implementing your UART_Cleanup() FSM in C. Another is a. If-All-Else-Fails b. Switch-Case c. For loop d. None of the above
b. Switch-Case
Lab 5 Questions The TTY in PuTTY stands for a. Tut-Tuty b. Teletype c. Telegraph d. All of the above
b. Teletype
Usually, we have to acknowledge (clear) an interrupt to avoid constantly interrupting ourselves. The reason you DID NOT have to do this in Lab 4 was a. Lab 4 was a very special lab b. The SysTick interrupt used in Lab 4 automatically clears itself when reloading the count register c. It just magically worked but we can't explain why d. None of the above
b. The SysTick interrupt used in Lab 4 automatically clears itself when reloading the count register
What was the letter sent from the Tivia Launchpad back to the PuTTY (channel 2 in cyan)? a. Lowercase a b. Uppercase A c. Can't tell from the plot d. None of the above
b. Uppercase A
The reason we don't have to be concerned about this is a. Nyquist is fake news b. We are sampling at 500K samples/sec and the built-in temperature sensor has a very large settling time hence a very small bandwidth c. The Central Limit Theorem is fake news d. None of the above
b. We are sampling at 500K samples/sec and the built-in temperature sensor has a very large settling time hence a very small bandwidth
The reason you didn't need to do the first 7 steps of this initialization in Lab 6 part 2 is because a. Lab 6 is a special lab b. We used the internal temperature sensor which doesn't need a GPIO port to do the ADC c. We used PWM instead of ADC in Lab 6 d. None of the above
b. We used the internal temperature sensor which doesn't need a GPIO port to do the ADC
Look at the scope plot again and determine what the b0b1b2b3b4b5b6b7 are for the eight data bits received after the start bit goes low (RX) (channel 2 in cyan) a. b0b1b2b3b4b5b6b7 = 10000110 (or 97 in decimal) b. b0b1b2b3b4b5b6b7 = 10000010 (or 65 in decimal) c. b0b1b2b3b4b5b6b7 = 10000111 (or 113 in decimal) d. None of the above
b. b0b1b2b3b4b5b6b7 = 10000010 (or 65 in decimal)
Consider the function Get_TempC() from Lab 6. To remove the noise (randomness) in our ADC measurements, I created a loop and averaged 30 samples. From an integer math perspective, which piece of C code best accomplishes this a. for (i=0; i<30; i++) result = result + ADC0_In()/30; b. for (i=0; i<30; i++){result = result + ADC0_In();} result =result/30; c. for (i=0; i<30; i++)result = (result + ADC0_In())/30; d. None of the above
b. for (i=0; i<30; i++){result = result + ADC0_In();} result =result/30;
A good definition for device latency as defined in Chapter 12 of your E-Book is a. the time between when new input is available, and the time when the software reads the input data. b. the response time of the external I/O device c. the amount of data/sec being processed d. None of the above
b. the response time of the external I/O device
The values of your encoded (raw) AtoD data will range from 0x000 to 0xFFF (0 to 4095). Knowing that to minimize the MSE due to quantizing, we SHOULD use the midpoint of each quantization region to represent the analog signal when it resides within the region, then the encoded (raw) value 0x000 ideally should represent what voltage? a. 0 volts b. 3.3/4096 volts c. (3.3/4096)/2 volts d. None of the above
c. (3.3/4096)/2 volts
The ASCII code in decimal for backspace and space are (respectively) a. 07 and 29 b. 08 and 30 c. 08 and 32 d. None of the Above
c. 08 and 32
The range of output of your ADC0_In() function in Lab 6 was a. 0 to 3.3v b. 0 to 3300 mv c. 0x000 to 0xFFF d. None of the above
c. 0x000 to 0xFFF
According to table 12.1 in your E-Book, what is the Vector address, the interrupt number, and the ISR name in startup.s for the SysTick interrupt (respectively) a. 0x00000038, 15, SysTick_Handler b. 0x0000003C, 14, SysTick_Handler c. 0x0000003C, 15, SysTick_Handler d. None of the above
c. 0x0000003C, 15, SysTick_Handler
How many bits do your Tiva C Launchpad ADCs have? a. 8 b. 10 c. 12 d. None of the above
c. 12
How many channels (pins) does your ADC have? a. 2 b. 6 c. 12 d. None of the above
c. 12
Samuel Morse created an alphabet code using the binary digits dot and dash. He only needed a maximum of 4 of these binary characters to represent the entire alphabet. If you have a 4-bit binary integers, how many different combinations do you have? a. 4 b. 15 c. 16 d. None of the above
c. 16
When no information is being sent or received, the idle voltage of your serial port is a. 0 volts b. 5 volts c. 3.3 volts d. None of the above
c. 3.3 volts
In Lab 6, if the ADC raw (encoded) output is 1746, then the temperature is a. 18 degrees Celsius b. 73 degrees Fahrenheit c. 42 degrees Celsius d. None of the above
c. 42 degrees Celsius
This means we can set how many different priorities for the TM4C interrupts a. 3 b. 7 c. 8 d. None of the above
c. 8
The code in problem 5 will FAIL if the user types what before typing DELTA or DELETE? a. A double 'O' b. A double 'U' c. A double 'D' d. None of the above
c. A double 'D'
This code configures the ADC for a sampling frequency of fs = 125 KHz or a sampling period of Ts = 1/(125,000) sec. If we wanted to obtain the fastest sampling frequency of 500 KHz, we would a. ADC0_PC_R = 0x01 b. ADC0_PC_R = 0x03 c. ADC0_PC_R = 0x05 d. None of the above
c. ADC0_PC_R = 0x05
Refer to the Finite State model for the encoder shown above. What does it mean if the following AB sequence occurs: 00 to 11 is the state sequence AB if we start a state 00 and are turning clockwise a. We are moving clockwise b. We are moving counter clockwise c. An error occurred as we cannot have this state transistion d. None of the above
c. An error occurred as we cannot have this state transistion
1) Current instruction is finished; 2) Eight registers are pushed on the stack; 3) LR is set to 0xFFFFFFF9; 4) IPSR is set to the interrupt number; 5) PC is loaded with the interrupt vector are a. The 5 things that occur when an interrupt happens b. Are collectively known as a Context Switch c. Both a and b d. None of the above
c. Both a and b
In Lab 5, suppose I changed your Lower_to_Upper() function to Upper_to_Lower() which converts all uppercase alpha characters to lowercase. The critical if() statement that is needed to accomplish this would be: a. if (ch >= 'A' && ch <= 'Z') {ch = ch - 32;} b. if (ch >= 65 && ch <= 90) {ch |= ~0x20;} c. Both a and b d. None of the above
c. Both a and b
One reason this transition might actually occur is a. The shaft is moving too fast to register each transition b. Noise from the motor and motor driver might interfere with our sensor circuitry c. Both a and b d. None of the above
c. Both a and b
The difference between the two FSM models are basically a. Moore model the output is just a function of the state and Mealy model output can be a function of the state and input b. Mealy model the output is just a function of the state and Moore model output can be a function of the state and input c. Both a and b d. None of the above
c. Both a and b
To avoid aliasing, we should a. Sample above the Nyquist Rate b. Use an anti-aliasing (low-pass) filter to band limit the signal c. Both a and b d. None of the above
c. Both a and b
What is the purpose of part 4 of Lab 5? a. To write device specific code to implement lower level i/o functions in C like fputc() and fgetc() b. To enable higher level functions like printf() and scanf() to work on your LaunchPad c. Both a and b d. None of the above
c. Both a and b
Under the heading of wireless, which transmission media DOES NOT belong a. Broadcast b. Cellular c. Coaxial cable d. Infrared
c. Coaxial cable
Referring to your UART_Init() routine, the instruction GPIO_PORTA_AMSEL_R &= ~0x03; a. Initializes PA1 and PA0 on UART0 b. Enables digital I/O on PA1 and PA0 c. Disables the analog functionality on PA1 and PA0 d. None of the above
c. Disables the analog functionality on PA1 and PA0
There are 15 steps to initialize your TM4C123 microcontroller as shown in the above code. Which GPIO Port and pin are we using for our ADC above? a. GPIO Port F pin PF4 b. GPIO Port E pin PE0 c. GPIO Port E pin PE4 d. None of the above
c. GPIO Port E pin PE4
So, how did Samuel Morse fit the entire alphabet using a maximum of 4 binary characters (dots and dashes) a. He was an evil genius b. Many uncommon letters were combined as in the Polybius fire matrix c. He use 1-bit, 2-bit, 3-bit and 4-bit letter representations to get more combinations d. None of the above
c. He use 1-bit, 2-bit, 3-bit and 4-bit letter representations to get more combinations
In question 19, if enabled (armed) an interrupt will cause the PC to be loaded with the interrupt vector corresponding to the interrupt number in the IPSR. This table of vector addresses (labels) for the LaunchPad is located a. In your main program b. In the stdio.h library c. In startup.s d. None of the above
c. In startup.s
A more efficient i/o device driver would allow for multitasking and use a. Blind cycle b. Busy/Wait c. Interrupt d. None of the above
c. Interrupt
The two different types of Finite State Machine are called
c. Moore and Mealy
The above graph is from page 813 of your Launch Pad Tiva C Data sheet. What is the dynamic range of the internal temperature sensor? a. S = 3.3 volts b. S = 2.5 volts c. S = 2.5 - 0.833 volts d. None of the above
c. S = 2.5 - 0.833 volts
What is the dynamic range of the ADCs on your Tiva C Launchpad? a. S = 20 volts b. S = 5 volts c. S = 3.3 volts d. None of the above
c. S = 3.3 volts
Given that we don't scale this input to match the 0-3.3 volt range of Launchpad ADC, what do you expect about the actual mean square error due to quantization of the voltage coming from internal temperature sensor what do you think the ACTUAL mean square error due to quantization will be: a. About the same b. Somewhat smaller c. Somewhat greater d. None of the above
c. Somewhat greater
One concern about taking 30 samples and averaging them to create just one value might be a. 30 is not a big enough sample size according to the Central Limit Theorem b. Accumulating 30 samples from a 12-bit ADC might cause overflow in a 32 bit variable result c. Taking 30 samples to get one might cause us to violate the Nyquist sampling rate d. None of the above
c. Taking 30 samples to get one might cause us to violate the Nyquist sampling rate
In Lab 6 part 2, we saw the advantages of using integer math over floating point calculations if we can do it. Suppose I have the equation 2.7*V = 1.75*TempC +55. The best way to use integer math and solve for TempC and preserve precision a. TempC = 2.7*V/1.75 -55/1.75 b. TempC = 270*(V/175) -5500/175 c. TempC = ((270*V) -5500)/175 d. None of the abov
c. TempC = ((270*V) -5500)/175
In Lab 6, considering precision and integer math the best way to convert TempC to TempF is a. TempF=(TempC/100)*180 + 32; b. TempF=1.8*TempC + 32; c. TempF=((160+9*TempC))/5; d. None of the above
c. TempF=((160+9*TempC))/5;
In part 1 of Lab 6, what did we use for our analog voltage source and the means to vary that voltage? a. A car battery and a battery tester b. The AC voltage coming from the wall and thus we didn't need to vary it c. The 3.3v source on the Launchpad and a 10K potentiometer d. None of the above
c. The 3.3v source on the Launchpad and a 10K potentiometer
If we also wanted to erase the word viral in your new filter then a. The FSM transition model couldn't share any states except the initial state b. The FSM transition model could only share the V state and the initial state c. The FSM transition model could share the V, I, and R states and the initial state d. None of the above
c. The FSM transition model could share the V, I, and R states and the initial state
One method to synchronize our serial communications is Blind Cycle. The concept is a. To efficiently interrupt every time a message is received b. To constantly check if a message is received c. To wait a worse-case fixed time to insure that a message has been received d. None of the above
c. To wait a worse-case fixed time to insure that a message has been received
UART stands for a. Universal Asynchronous Rapid Transit b. Universal Asynchronous Rapid Transmission c. Universal Asynchronous Receiver-Transmitter d. None of the above
c. Universal Asynchronous Receiver-Transmitter
If you completed part 4, you discovered that Paul likes to play a. Minecrafft b. Pacman c. Wordle d. None of the above
c. Wordle
Now that we know that we should use the midpoint of the quantizing region to represent the quantized signal, we should use the following equation in Convert_Raw_To_V(); function in Lab 6: a. result = (3300*raw)/4095; b. result = (raw/4095)*3300; c. result = (3300*raw)/4096 + 3300/8192; = (6600*raw +3300)/8192; (integer math) d. None of the above
c. result = (3300*raw)/4096 + 3300/8192; = (6600*raw +3300)/8192; (integer math)
A good definition for bandwidth as defined in Chapter 12 of your E-Book is a. the time between when new input is available, and the time when the software reads the input data. b. the response time of the external I/O device c. the amount of data/sec being processed d. None of the above
c. the amount of data/sec being processed
Recall that it we want to achieve this minimum MSE, we should use the midpoint of the quantizing band as xquantized (the quantized value of the analog signal).What is xquantized for t=0.2 seconds (note, 10sinπt at t=0.2 seconds is 5.87785) a. xquantized = 5 volts b. xquantized = 7.5 volts c. xquantized = 6.25 volts d. None of the aboveove
c. xquantized = 6.25 volts
We know that analog signals have additive noise which can be removed by taking many samples and averaging them. According to the Central Limit Theorem, to be sure that we measure the true (mean) signal, we should take a minimum of a. 1 sample b. 2 samples c. 10 samples d. 30 samples
d. 30 samples
Your Tiva C Launchpad with the TM4123 Microcontroller has how many UART ports a. 1 b. 2 c. 4 d. 8
d. 8
A FIFO Buffer a. Uses First-In-First-Out input/output technique b. Enables small (up to 5%) differences in UART synchronization rates to occur without errors c. Is used by both UART_InChar() and UART_OutChar() in Lab 5 d. All of the above
d. All of the above
Contrastingly, digital serial communication a. Occurs one bit at a time b. Is slower than parallel communication c. Travels longer distances than parallel communications d. All of the above
d. All of the above
If I typed the string ViRu into your filter and the next character is an S, then a. We would transition to the 5th and final state b. We would send out 4 BS followed by 4 SP followed by 4 BS again c. We would reset the state back to the initial state after doing part b d. All of the above
d. All of the above
If we don't sample above the Nyquist Rate, a. We cannot recover the original analog signal b. We corrupt the spectrum (Fourier Transform) of the original analog signal c. We call this corruption aliasing d. All of the above
d. All of the above
If we have an upper case alphabet letter in ASCII, the way to convert it to a lowercase letter is a. Add decimal 32 to it b. |= 0x20 c. ^= 0x20 d. All of the above
d. All of the above
Parallel digital communication is prevalent in a. Printers b. Microcontrollers (processors) c. Motherboards d. All of the above
d. All of the above
Refer to Chapter 14, Lab6 and Lectures 20-23 for the remaining questions Pulse Width Modulation is a. An inexpensive way to approximate a Digital to Analog Converter b. Works because most physical systems are slow and therefore average a PWM signal c. Approximates an analog signal by varying a duty cycle of a square wave from 0 to 100% d. All of the above
d. All of the above
Refer to the checkpoints in Chapter 11 of your e-book to help with the following questions In Program 11.1, which of the following statements is true about the RXFE flag? a. RXFE flag is set and cleared by hardware b. To reset it to zero we must put data into the FIFO c. Software cannot clear this flag. d. All of the above
d. All of the above
Suppose we have lower case alphabet letter in ASCII, the way to convert it to an uppercase letter is a. Subtract decimal 32 from it b. &= ~0x20 c. ^= 0x20 d. All of the above
d. All of the above
The UART serial port on your Tiva C Launchpad as configured in Lab 5 has a. Idles at 3.3 volts (1) b. Has 8 bit word, 1 start bit, 1 stop bit and no parity c. Was configured to run at 115,200 baud d. All of the above
d. All of the above
In part 4 of Lab 5 the fputc() function, why must we send out both a CR and LF to your puTTY terminal emulator? a. Because we feel like it b. Because a CR would only bring the cursor back to the start of the same line c. Because a LF would bring the cursor directly below where we are not back to the start of the new line d. Both b and c
d. Both b and c
The above busy-wait ADC sampling software is identical to the one you used in Lab 6 with the exception that a. Lab 6 is special b. We had to replace result by v in the Lab 6 ADC sampling routine c. Our function was called ADC0_In() not ADC0_InSeq3() d. Both b and c
d. Both b and c
What happens if the receiving computer's baud rate is twice that of the transmitting computer? a. Operates perfectly b. The receiving computer would get twice the number of frames for every frame transmitted c. There will be errors most likely framing errors d. Both b and c
d. Both b and c
Suppose we set the priority for the SysTick interrupt to level 0. If an interrupt of HIGHER priority occurs while we are servicing (handling) this SysTick interrupt, then a. We suspend the current interrupt and go service the incoming interrupt b. Ordinarily, (a) is the correct answer but 0 is THE HIGHEST interrupt priority c. We complete the current interrupt d. Both b. and c.
d. Both b. and c.
If we encounter state=8 outlined in problem 6 (assuming we haven't UART_OutChar() the E should a. We should UART_OutChar a BS, Space, and another BS b. We should do each part in part a. three times separately c. We should do each part in part a. four times separately d. We should do each part in part a. five times separately
d. We should do each part in part a. five times separately
If we encounter state=4 above, (assuming we haven't UART_OutChar() the A yet) then we should a. We should UART_OutChar a BS, Space, and another BS b. We should do each part in part a. twice separately c. We should do each part in part a. three times separately d. We should do each part in part a. four times separately
d. We should do each part in part a. four times separately