Timer 3 advanced functions

28 Dec 2010

I understand that Timer 3 is used by the mbed libraries such as timer and ticker.

Since the counter/timer block is so powerful, it seems possible that some functions on Timer 3 may still be available for user programs to exploit  -- understanding, of course, that the core parameters such as prescale value, input clock selection, interrupt mode, etc. must not be altered from their mbed library-assigned values.

It would be helpful to know if any of the following functions are free:

1. Match registers MR0 or MR1. If they are free, I can generate output pulses on  p28 and p27.

2. Capture registersCR0 and CR1. If free, I can capture input signal timings on p15 and p16.

BTW, I am planning on using Timer 2 as the primary resource for match and capture functions, but in some applications it would helpful to have a second set of such functions.

That means using Timer 3 if possible, as these are the only two timers that bring out MAT and CAP signals to mbed DIP pins.