Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Timer 1 External Match/Capture pins

2004-10-18 by Leland Downs

I am having a problem making the internal Timer 1 match registers toggle the
corresponding package pin.

Am I right in assuming that in order to use the external match registers I
set T1EMR appropriately? 
For instance:
    T1EMR = 0x030;  
     // AND
    P0.12 = 0x10;

This should toggle the MAT1.0 output pin every time T1MR0 = T1TC or am I
missing some other linkage between T1MR0 and MAT1.0?  I am having the same
problem with the CAP1.0 pin.  I have an interrupt for the timer and it works
(toggles GPIO).  BTW All my package pins are set in one function.

Thanks

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.