Hi! I have question regarding Timer's CAP register. Hope you can help me:
I'm trying to use CAP registers  but not as a counter, but to use it to detect a rising or falling edge  in one of the CAPn.0 or CAPn.1 so basically what it does is that  whenever an event like this happens, a capture register is loaded with  the value of the Timer Counter so you have the precision time of the  event. However, in page 497 of the user manual, says the following:
21.6.10 Capture Control Register (T[0/1/2/3]CCR - 0x40004028, 0x40008028, 
0x40090028, 0x40094028) 
The Capture Control Register is used to control whether one of the four Capture Registers 
is loaded with the value in the Timer Counter when the capture event occurs, and whether 
an interrupt is generated by the capture event. Setting both the rising and falling bits at the 
same time is a valid configuration, resulting in a capture event for both edges. In the 
description below, "n" represents the Timer number, 0 or 1.
It calls my attention that n in CAPn.0 and CAPn.1 only applies for 0  or 1, (CAP0.[0/1] or CAP1.[0/1]) for the purpose of detecting the exact  time of an event. However, if you take a look at the mbed schematic  CAP0.x and CAP1.x its not connected to any DIP pin that we can use. So  we can't use it, right?
Basically what I want is to capture the exact time when in a certain  pin a rising edge or falling edge happens. Exactly what the description  says, but according to the description it only works for CAP1.x or  CAP0.x. CAP2.x and CAP3.x are indeed available, but not as event  detectors.
Do you have any advice for me?
                 
             
        
Hello:
I want to use some of the other timer resources in the LPC17xx device and need find out which hardware resources the MBED timer calls (Timer/Timeout/Ticker) used? The Repetitive, interrupt timer? The System Tick Timer? Timer0/1/2/3?
I just want to make sure I am not trashing the nice mbed functions when I start writing to the registers....
Thanks,
Eli Hughes