capture counter for HCS12X

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

capture counter for HCS12X

685件の閲覧回数
lin_karl
Contributor I

currently I am using CodeWarrior to develop HCS12X MCU and I need it to capture a time between two edges. so I am using capture function to accomplish this task.

 

        right now  I have two timers, 1 ms and 1 us and the max counter(max time of event)  for capture is 32768 us.  so when I receive a value from capture, on which does the capture counter base?

 

for exampl, if I receive 100 from capture counter, does it mean 100 ms or 100 us? 

 

thanks, 

 

carl 

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