25.08.2015 Views

UM10139

UM10139 Volume 1: LPC214x User Manual - Fab@Home

UM10139 Volume 1: LPC214x User Manual - Fab@Home

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Philips SemiconductorsVolume 1<strong>UM10139</strong>Chapter 15: TIMER0 and TIMER115.5.8 Match Control Register (MCR, TIMER0: T0MCR - 0xE000 4014 andTIMER1: T1MCR - 0xE000 8014)The Match Control Register is used to control what operations are performed when one ofthe Match Registers matches the Timer Counter. The function of each of the bits is shownin Table 241.Table 241: Match Control Register (MCR, TIMER0: T0MCR - address 0xE000 4014 and TIMER1: T1MCR - address0xE000 8014) bit descriptionBit Symbol Value Description Resetvalue0 MR0I 1 Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 00 This interrupt is disabled1 MR0R 1 Reset on MR0: the TC will be reset if MR0 matches it. 00 Feature disabled.2 MR0S 1 Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches 0the TC.0 Feature disabled.3 MR1I 1 Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 00 This interrupt is disabled4 MR1R 1 Reset on MR1: the TC will be reset if MR1 matches it. 00 Feature disabled.5 MR1S 1 Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches 0the TC.0 Feature disabled.6 MR2I 1 Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 00 This interrupt is disabled7 MR2R 1 Reset on MR2: the TC will be reset if MR2 matches it. 00 Feature disabled.8 MR2S 1 Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches 0the TC.0 Feature disabled.9 MR3I 1 Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 00 This interrupt is disabled10 MR3R 1 Reset on MR3: the TC will be reset if MR3 matches it. 00 Feature disabled.11 MR3S 1 Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches 0the TC.0 Feature disabled.15:12 - Reserved, user software should not write ones to reserved bits. The value read from areserved bit is not defined.NA© Koninklijke Philips Electronics N.V. 2005. All rights reserved.User manual Rev. 01 — 15 August 2005 248

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

Saved successfully!

Ooh no, something went wrong!