![background image](http://html.mh-extra.com/html/conrad/c-control-pro-mega-series/c-control-pro-mega-series_manual_2654183230.webp)
221
C-Control Pro Mega Series
© 2008 Conrad Electronic
PS0_8 (2)
542,5 ns
PS0_32 (3)
2,17 µs
PS0_64 (4)
4,34 µs
PS0_128 (5)
8,68 µs
PS0_256 (6)
17,36 µs
PS0_1024 (7)
69,44 µs
6.19.46 Timer_TickCount
Timer Functions
Syntax
word Timer_TickCount(void);
Sub Timer_TickCount() As Word
Description
Measures the number of 10ms ticks between two calls of
Timer_TickCount(). Ignore the return value of
the first call to Timer_TickCount(). If the delay between the two calls is greater than 655.36 seconds,
the result is undefined.
Parameter
None
Return Parameter
time interval expressed in 10ms ticks
Example
void main(void)
{
word time;
Timer_TickCount();
AbsDelay(
500
);
// wait 500 ms
time=Timer_TickCount();
// the value should be 50
}
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......