Input Capture as timer trigger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Input Capture as timer trigger

758 次查看
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 项奖励
回复
1 回复

741 次查看
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 项奖励
回复