timing and capture function

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

timing and capture function

366件の閲覧回数
lin_karl
Contributor I

the MCU i am using is HCS12X which has 8 ports for capture functions. I understand that they all share the same counter. I was wondering, if two capture functions are activated at two different times and both capture the same edge. will the capture function that was activated in later time receive the same counter value as the other capture that was activated earlier? 

 

Thanks, 

 

Carl 

ラベル(1)
0 件の賞賛
1 返信

231件の閲覧回数
kef
Specialist I

I'm having trouble understanding your request, but operation of input capture is pretty simple. When selected capture edge occurs, 1) contents of free running counter TCNT is transferred to capture register TCx, and 2) specific capture interrupt flag is set.

 

0 件の賞賛