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.

Timer Modules (TIM1 and TIM2)<br />

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

15.7.11 Timer System Control Register 2<br />

Address: TIM1 — 0x00ce_000d<br />

TIM2 — 0x00cf_000d<br />

Bit 7 6 5 4 3 2 1 Bit 0<br />

Read:<br />

Write:<br />

TOI<br />

0<br />

PUPT RDPT TCRE PR2 PR1 PR0<br />

Reset: 0 0 0 0 0 0 0 0<br />

nc...<br />

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

Read: Anytime<br />

Write: Anytime<br />

= Writes have no effect and the access terminates without a transfer error exception.<br />

Figure 15-14. Timer System Control Register 2 (TIMSCR2)<br />

TOI — Timer Overflow Interrupt Enable Bit<br />

TOI enables timer overflow interrupt requests.<br />

1 = Overflow interrupt requests enabled<br />

0 = Overflow interrupt requests disabled<br />

PUPT — Timer Pullup Enable Bit<br />

PUPT enables pullup resistors on the timer ports when the ports are<br />

configured as inputs.<br />

1 = Pullup resistors enabled<br />

0 = Pullup resistors disabled<br />

RDPT — Timer Drive Reduction Bit<br />

RDPT reduces the output driver size.<br />

1 = Output drive reduction enabled<br />

0 = Output drive reduction disabled<br />

TCRE — Timer Counter Reset Enable Bit<br />

TCRE enables a counter reset after a channel 3 compare.<br />

1 = Counter reset enabled<br />

0 = Counter reset disabled<br />

NOTE:<br />

When the timer channel 3 registers contain $0000 and TCRE is set, the<br />

timer counter registers remain at $0000 all the time.<br />

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

310 Timer Modules (TIM1 and TIM2) MOTOROLA<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!