28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Timer Modules (TIM1 and TIM2)<br />

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

15.7.14 Timer Channel Registers<br />

Address: TIMC0H — 0x00ce_0010/0x00cf_0010<br />

TIMC1H — 0x00ce_0012/0x00cf_0012<br />

TIMC2H — 0x00ce_0014/0x00cf_0014<br />

TIMC3H — 0x00ce_0016/0x00cf_0016<br />

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

Read:<br />

Write:<br />

Bit 15 14 13 12 11 10 9 Bit 8<br />

nc...<br />

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

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

Figure 15-17. Timer Channel [0:3] Register High (TIMCxH)<br />

Address: TIMC0L — 0x00ce_0011/0x00cf_0011<br />

TIMC1L — 0x00ce_0013/0x00cf_0013<br />

TIMC2L — 0x00ce_0015/0x00cf_0015<br />

TIMC3L — 0x00ce_0017/0x00cf_0017<br />

Read:<br />

Write:<br />

Read: Anytime<br />

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

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

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

Figure 15-18. Timer Channel [0:3] Register Low (TIMCxL)<br />

Write: Output compare channel, anytime; input capture channel, no<br />

effect<br />

When a channel is configured for input capture (IOSx = 0), the timer<br />

channel registers latch the value of the free-running counter when a<br />

defined transition occurs on the corresponding input capture pin.<br />

When a channel is configured for output compare (IOSx = 1), the timer<br />

channel registers contain the output compare value.<br />

To ensure coherent reading of the timer counter, such that a timer<br />

rollover does not occur between back-to-back 8-bit reads, it is<br />

recommended that only half-word (16-bit) accesses be used.<br />

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

314 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!