subject
English, 06.04.2021 01:00 hoperodriguez3111

Purpose: The general purpose of this laboratory is to familiarize you with the software development steps using the Keil uVision simulator. In the following labs, we will use uVision for both simulation and debugging on the real board, but for this lab, we will just use the simulator. You will learn how to perform digital input/output on parallel ports of the TM4C123. Software skills you will learn include port initialization, logic operations, and unconditional branching.
Do not use any conditional branches in your solution! We want you to think of the solution in terms of logical and shift operations. Logical operations include AND, ORR and EOR. Shift operations include LSL and LSR.
System Requirements:
The objective of this system is to implement an an even parity system. There are three bits of inputs and one bit of output. The output is in positive logic: outputing a 1 will turn on the LED, outputing a 0 will turn off the LED. Inputs are negative logic: meaning if the switch not pressed is the input is 1, if the switch is pressed the input is 0.
PEO is an input
PE1 is an input
PE2 is an input
PE3 is the output
The specific operation of this system
• Initialize Port E to make PEO, PE1, PE2 inputs and PE3 an output
• Make the output 1 if there is an odd number of switches pressed, otherwise make output o.
• Over and over, read the inputs, calculate the parity bit and set the parity bit at the output
The input data refers to the switch, not the input. The following table illustrates the expected behavior relative to output PE3 as a function of inputs PEO, PE1, PE2 (negative logic with respect to the switches). PE2 0 0 0 0 PE1 0 0 1 1 0 0 PEO 0 1 0 1 0 1 0 1 РЕЗ 1 0 0 1 0 1 1 0 number of O's in 3 input bits odd even even odd even odd odd even 1 1 1 1 1 1
There are 8 valid output values for Port E: 0x01,0x02,0x04,0x07,0x08,0x0B,0xOD, and OxOE. General rule, PEO, PE1, PE2, PE3 always have an odd number of O's.
You could also consider the specification the LED output as a function of the switch input. The following table illustrates the expected behavior relative to LED output as a function of switch presses Sw2 Sw1 Swo press press press press press not press not press press not not not press press not press not not not press not not not LED On Off Off On Off On On Off number switches pressed odd even even odd even odd odd even
where press means the switch is pressed and not means the switch is not pressed.

ansver
Answers: 3

Another question on English

question
English, 21.06.2019 13:30
From 1984 by george orwell: discuss the significance and nature of winston's dreams. deconstruct the dream wherein o'brien claims that they "shall meet in a place where there is no darkness" ( 22), and the dream in which winston's mother and sister disappear (26). what are the underpinnings of these dreams? what deeper meanings do they hold? why might the author devote as much time as he does to winston's dreams?
Answers: 2
question
English, 21.06.2019 17:30
Writing about thing people usually do
Answers: 2
question
English, 22.06.2019 02:10
London includes a quote about john thornton as he is observing hal attempt to motivate the exhausted dogs "it was idle, he knew, to get between a fool and his folly". if the word "idle" is defined as "of no real worth, importance, or significance", what does this statement mean with regard to hal? who is the fool? what is hal's folly? why would john thornton think it of no real worth or useless to intervene?
Answers: 3
question
English, 22.06.2019 11:00
Read this excerpt from we’ve got a job: the 1963 children’s march. though connor was commissioner of public safety, blacks knew that it wasn't their health and safety he intended to protect. and he certainly didn't put out their fires. between the late 1940s and early 1960s, more than fifty black homes and churches in birmingham were bombed. one neighborhood was hit so often, it was called "dynamite hill." no one was ever prosecuted, even when the police could identify the bombers. what is the tone of the excerpt? inquisitive sentimental apologetic scornful
Answers: 3
You know the right answer?
Purpose: The general purpose of this laboratory is to familiarize you with the software development...
Questions
question
Mathematics, 26.02.2021 17:10
Questions on the website: 13722367