ECET 340 CART Expect Success Ecet340cartdotcom
ECET 340 CART Expect Success Ecet340cartdotcom
ECET 340 CART Expect Success Ecet340cartdotcom
RTDOTCOM
FOR MORE CLASSES VISIT
www.ecet340cart.com
OBJECTIVES:
To become familiar with Microcontroller MC9S12 parallel por
ts and how simple input and output devices are interfaced th
rough them.
To learn how to program I/O instructions in C language.
To learn how to organize a program to read data from input
ports, process the data, and display the result on a simple ou
tput device.
I. OBJECTIVES:
To learn how to use A-to-D converters to digitize signals from
analog input devices.
To learn how to write a C language program that samples the
data from an analog device, digitizes it and formats it for out
put on an LCD.
To become more proficient in programming displays for realtime operation.
Scenario/Summary
peripheral.
Deliverables
1. What are the four main functions of the HC12 Timer unit?
2. Two input capture events occur at counts 0x1037 and 0xF
F20 of the free-running counter. How many counts (in decim
al) have transpired between these two events?
3. What is the maximum time possible before the free-runni
ng counter overflows when the e MHz?
4. Two input capture events occur at 0x1037 and 0x002A. If t
he prescaler bits PR[2:1:0] are set to 101 and the e clock is 24
MHz, how much time as transpired between the two events?