page 110
9.4. Reading the system time
Function
TIMER_READ
Library CRxxxx.LIB
Function symbol
Purpose
The current system time is read in seconds.
Parameter
Function inputs, none
Function output
Description
When the supply voltage is applied a time cycle is generated in
the unit and is counted up in a register. This register can be
read by means of the function call and can be used e.g. for
measuring time.
The system timer runs to max. 10 m 55 s 350 ms and then
starts again at 0.
Name Data type Description
T TIME Current system time in seconds