28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

Timer Modules (TIM1 and TIM2)<br />

Modes of Operation<br />

15.5 Modes of Operation<br />

This subsection describes the supervisor and user modes, the five<br />

low-power options, and test mode.<br />

15.5.1 Supervisor and User Modes<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

15.5.2 Run Mode<br />

15.5.3 Stop Mode<br />

15.5.4 Wait, Doze, and Debug Modes<br />

The SO bit in the chip-select control register determines whether the<br />

processor is operating in user mode or supervisor mode. Accessing<br />

supervisor address locations while not in supervisor mode causes the<br />

timer to assert a transfer error.<br />

Clearing the TIMEN bit in the timer system control register 1 (TIMSCR1)<br />

or the PAE bit in the pulse accumulator control register (TIMPACTL)<br />

reduces power consumption in run mode. Timer registers are still<br />

accessible, but all timer functions are disabled.<br />

If the central processor unit (CPU) enters stop mode, timer operation<br />

stops. Upon exiting stop mode, the timer resumes operation unless stop<br />

mode was exited by reset.<br />

The timer is unaffected by these low-power modes.<br />

15.5.5 Test Mode<br />

A high signal on the TEST pin puts the processor in test mode or special<br />

mode. The timer behaves as in user mode, except that timer test<br />

registers are accessible.<br />

<strong>MMC2107</strong> – Rev. 2.0<br />

Technical Data<br />

MOTOROLA Timer Modules (TIM1 and TIM2) 297<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!