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.

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

Timer Modules (TIM1 and TIM2)<br />

Memory Map and Registers<br />

15.7.18 Timer Port Data Register<br />

Address: TIM1 — 0x00ce_001d<br />

TIM2 — 0x00cf_001d<br />

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

Read: 0 0 0 0<br />

Write:<br />

PORTT3 PORTT2 PORTT1 PORTT0<br />

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

nc...<br />

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

Read: Anytime; read pin state when corresponding TIMDDR bit is 0;<br />

read pin driver state when corresponding TIMDDR bit is 1<br />

Write: Anytime<br />

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

Figure 15-23. Timer Port Data Register (TIMPORT)<br />

PORTT[3:0] — Timer Port Input Capture/Output Compare Data Bits<br />

Data written to TIMPORT is buffered and drives the pins only when<br />

they are configured as general-purpose outputs.<br />

Reading an input (DDR bit = 0) reads the pin state; reading an output<br />

(DDR bit = 1) reads the latch.<br />

Writing to a pin configured as a timer output does not change the pin<br />

state.<br />

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

Technical Data<br />

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