a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 timer.device
  --background--
  AbortIO
  AddTime
  CmpTime
  GetSysTime
  ReadEClock
  SubTime
  TR_ADDREQUEST
  TR_GETSYSTIME
  TR_SETSYSTIME
Include
GuruMeditation
Docs » Autodocs » timer.device » ReadEClock

NAME

	ReadEClock -- Get the current value of the E-Clock. (V36)

SYNOPSIS

	E_Freq = ReadEClock( Dest )
D0 A0
ULONG ReadEClock ( struct EClockVal * );

FUNCTION

	This routine calculates the current 64 bit value of the E-Clock
and stores it in the destination EClockVal structure. The count
rate of the E-Clock is also returned.
A0 will be left unchanged
This is a low overhead function designed so that very short
intervals may be timed.

INPUTS

	Dest -- pointer to an EClockVal structure.

RESULT

	Dest -- the EClockVal structure will contain the E-Clock time
E_Freq -- The count rate of the E-Clock (tics/sec).

NOTES

	This function may be called from interrupts.

SEE ALSO

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Crystal

DJ
CSL
HZ
RBS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2020 Tobias Geijersson support at d0 dot se