First page Back Continue Last page Overview Graphics

November 4, 2003 Lecture


Notes:

In this lecture, we review the concepts and use of the M68HC12B Standard Timer Module (TIM). The primary references for this material are the M68HC12B Family Data Sheet and sections 7.5 through 7.8 (pp. 244-278) of the textbook by Pack and Barrett.

The heart of the timer module is the 16-bit free-running counter. The input and output capture functions capture the value of the couter at the occurrence of an input or output event. Events to be captured are specified using control registers.

After discussing the timer module, we'll go on to discuss mapping of internal (on-chip) resources. Addresses of RAM, EEPROM, and the register block can be changed from the defaults by writing to the appropriate initialization registers.