Input Capture as timer trigger

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Input Capture as timer trigger

549件の閲覧回数
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 返信

532件の閲覧回数
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 件の賞賛
返信