15.11.2012 Views

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

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.

Philips Semiconductors Preliminary <strong>User</strong> <strong>Manual</strong><br />

ARM-based Microcontroller<br />

3 External Match 3<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong><br />

Table 133: External Match Register (EMR: TIMER0 - T0EMR: 0xE000403C; TIMER1 - T1EMR: 0xE000803C)<br />

EMR Function Description<br />

5:4<br />

7:6<br />

9:8<br />

11:10<br />

External Match<br />

Control 0<br />

External Match<br />

Control 1<br />

External Match<br />

Control 2<br />

External Match<br />

Control 3<br />

Table 134: External Match Control<br />

This bit reflects the state of output MAT0.3/MAT1.3, whether or not this output is<br />

connected to its pin. When a match occurs for MR3, this output of the timer can either<br />

toggle, go low, go high, or do nothing. Bits EMR[10:11] control the functionality of this<br />

output.<br />

Determines the functionality of External Match 0. Table 134 shows the encoding of<br />

these bits.<br />

Determines the functionality of External Match 1. Table 134 shows the encoding of<br />

these bits.<br />

Determines the functionality of External Match 2. Table 134 shows the encoding of<br />

these bits.<br />

Determines the functionality of External Match 3. Table 134 shows the encoding of<br />

these bits.<br />

EMR[11:10], EMR[9:8],<br />

EMR[7:6], or EMR[5:4]<br />

Function<br />

0 0 Do Nothing<br />

0 1 Clear corresponding External Match output to 0 (LOW if pinned out)<br />

1 0 Set corresponding External Match output to 1(HIGH if pinned out)<br />

1 1 Toggle corresponding External Match output<br />

Reset<br />

Value<br />

Timer/Counter0 and Timer/Counter1 182 November 22, 2004<br />

0<br />

0<br />

0<br />

0<br />

0

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

Saved successfully!

Ooh no, something went wrong!