03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - 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 Module (TIM16B8CV3)<br />

12.3.2.4 Output Compare 7 <strong>Data</strong> Register (OC7D)<br />

Module Base + 0x0003<br />

R<br />

W<br />

1 This register is available only when channel 7 exists and is reserved if that channel does not exist. Writes to a reserved register<br />

have no functional effect. Reads from a reserved register return zeroes.<br />

Read: Anytime<br />

Write: Anytime<br />

12.3.2.5 Timer Count Register (TCNT)<br />

The 16-bit main timer is an up counter.<br />

A full access for the counter register should take place in one clock cycle. A separate read/write for high<br />

byte and low byte will give a different result than accessing them as a word.<br />

Read: Anytime<br />

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

OC7D7 OC7D6 OC7D5 OC7D4 OC7D3 OC7D2 OC7D1 OC7D0<br />

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

Figure 12-9. Output Compare 7 <strong>Data</strong> Register (OC7D)<br />

Table 12-5. OC7D Field Descriptions<br />

Field Description<br />

7:0<br />

OC7D[7:0]<br />

Module Base + 0x0004<br />

R<br />

W<br />

Output Compare 7 <strong>Data</strong> — A channel 7 event, which can be a counter overflow when TTOV[7] is set or a<br />

successful output compare on channel 7, can cause bits in the output compare 7 data register to transfer to the<br />

timer port data register depending on the output compare 7 mask register.<br />

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

TCNT15 TCNT14 TCNT13 TCNT12 TCNT11 TCNT10 TCNT9 TCNT8<br />

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

Module Base + 0x0005<br />

R<br />

W<br />

Figure 12-10. Timer Count Register High (TCNTH)<br />

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

TCNT7 TCNT6 TCNT5 TCNT4 TCNT3 TCNT2 TCNT1 TCNT0<br />

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

Figure 12-11. Timer Count Register Low (TCNTL)<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

378 <strong>Freescale</strong> <strong>Semiconductor</strong>

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

Saved successfully!

Ooh no, something went wrong!