capture counter for HCS12X

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

capture counter for HCS12X

454 Views
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 

Labels (1)
0 Kudos
Reply
0 Replies