Author | Matthew Schinkel - borntechi.com, copyright (c) 2009, all rights reserved. |
Adapted-by | |
Compiler | >=2.4n |
Creates a stopwatch for timing events
You do not need to define any constants in your program. Stopwatch will choose these default values for you.
No dependency found
var byte*4 stopwatch_high_value at _stopwatch_counter : 16
var byte stopwatch_counter[_stopwatch_count_size] at _stopwatch_counter
var word _stopwatch_step_time
const _stopwatch_count_size = 6
var byte*_stopwatch_count_size _stopwatch_counter
stopwatch_cycles'get() return byte*STOPWATCH_VAR_SIZE
stopwatch_read_cycles() return byte*STOPWATCH_VAR_SIZE
stopwatch_read_time() return byte*STOPWATCH_VAR_SIZE
stopwatch_time_overflow'get() return bit
stopwatch'get() return byte*STOPWATCH_VAR_SIZE
stopwatch_cycle_overflow'get() return bit
var byte*4 stopwatch_high_value at _stopwatch_counter : 16
No documentation found
var byte stopwatch_counter[_stopwatch_count_size] at _stopwatch_counter
No documentation found
var word _stopwatch_step_time
time of one timer step
const _stopwatch_count_size = 6
size of stopwatch counter
var byte*_stopwatch_count_size _stopwatch_counter
define the stopwatch counter
stopwatch_isr()
No documentation found
stopwatch_start()
No documentation found
stopwatch_continue()
No documentation found
stopwatch_init()
No documentation found
stopwatch_stop()
No documentation found
stopwatch_cycles'get() return byte*STOPWATCH_VAR_SIZE
No documentation found
stopwatch_read_cycles() return byte*STOPWATCH_VAR_SIZE
No documentation found
stopwatch_read_time() return byte*STOPWATCH_VAR_SIZE
No documentation found
stopwatch_time_overflow'get() return bit
No documentation found
stopwatch'get() return byte*STOPWATCH_VAR_SIZE
No documentation found
stopwatch_cycle_overflow'get() return bit
No documentation found
16f877 | 16f877_stopwatch.jal |
16f877a | 16f877a_stopwatch.jal |
18f452 | 18f452_stopwatch.jal |
18f4525 | 18f4525_stopwatch.jal |
18f4550 | 18f4550_stopwatch.jal |
18f4620 | 18f4620_stopwatch.jal |
18f67j50 | 18f67j50_stopwatch.jal |