ECET 340 Entire Course (All ilabs and Homework) (Devry)
For more course tutorials visit
www.ecet340.com
ECET 340 Week 1 HomeWork 1
ECET 340 Week 1 iLab 1
ECET 340 Week 2 HomeWork 2
ECET 340 Week 2 iLab 2
ECET 340 Week 3 HomeWork 3
ECET 340 Week 3 iLab 3
ECET 340 Week 4 HomeWork 4
ECET 340 Week 4 iLab 4
ECET 340 Week 5 HomeWork 5
ECET 340 Week 5 iLab 5
ECET 340 Week 6 HomeWork 6
ECET 340 Week 6 iLab 6
ECET 340 Week 7 HomeWork 7
ECET 340 Week 7 iLab 7
.........................................................................................................................................................................
ECET 340 Week 1 HomeWork 1 (Devry)
For more course tutorials visit
www.ecet340.com
1. Give three examples each of internal and external peripheral devices as referenced to the HCS12 microcontroller and not an entire PC. (2 points)
2. Given “the requirements of each signal’s destination must match the capabilities of the signal’s source,” name some of the electrical signal parameters that must be considered when designing an interface between two different hardware components. (2 points)
3. Write down the instructions needed to program PORT A for pins PA7, PA4-PA0 as inputs and PA6-PA5 as outputs. Answer should be a valid C language statement. (2 points)
4. Write an instruction sequence to output the value $35 to PORT P. Use the C language only when writing your answer; - no assembly language. (2 points)
5. Write an instruction sequence to configure Port H for input, read in the current signal levels on the Port H pins, and store the value to a C variable called data1. Use the C language only when writing your answer, no assembly language. Also make sure to set the data direction register appropriately in your answer. (2 points)
6. Write a short program in C language which reads in the bits on port H, inverts the bits and adds 1 to the result, and then outputs the result onto port P. Be sure...