ECET 340 Entire Course
For more course tutorials visit
www.shoptutorial.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 iLab 1
For more course tutorials visit
www.shoptutorial.com
OBJECTIVES:
1. To become familiar with Microcontroller MC9S12 parallel ports and how simple input and output devices are interfaced through them.
2. To learn how to program I/O instructions in C language.
3. To learn how to organize a program to read data from input ports, process the data, and display the result on a simple output device.
********************************************************************
ECET 340 Week 2 HomeWork 2
For more course tutorials visit
www.shoptutorial.com
1. Where does program control transfer to when an interrupt occurs? +2 points
2. Which one of the following Interrupts has highest priority? +2 points
3. RAM Vector table addresses $3E52 belongs to which interrupt? +2 points
4. Before exiting an ISR, the programmer should use which command? +2 points
5. In which one of the following sequences is the stack pulled by rti? +3 points
6. Given the starting address for the TC0 Interrupt is to become $5000. Write the assembly instruction necessary to place this ISR address into the interrupt vector table and then unmask the interrupt (assembly only). +3 points
7. Write the C statements needed to place the address of an interrupt service routine that is to be called PortJ_handler into the vector address for the Port J interrupt and then unmask the interrupt. +3 points
8. Circle the interrupt below that will have highest priority...