Input Capture as timer trigger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Input Capture as timer trigger

312 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by aleticia on Sun Aug 28 14:26:01 MST 2011
Hi folks... could anyboady tell me if it is possible to use an input capture pin to trigger a timer without code? I would like to use the capture pin to generate a pulse on a mat output pin (using PWM maybe) onlye configuring timer and without interrupt routine.
Thanks
0 Kudos
Reply
1 Reply

295 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed Jan 18 07:26:34 MST 2012
A timer capture pin can increment the timer counter value, or latch the current timer counter value to the capture register. It cannot start the timer. You would indeed need an piece of interrupt code, handle the capture interrupt and start the timer to generate a single PWM pulse.
0 Kudos
Reply