AcQuisition Technology Quad M-module Carrier i4000 User Manual Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
APIS - AcQ Platform Interface Software
Programmer’s Manual Version: 2.1
AcQuisition Technology bv
P.O. Box 627, 5340 AP
Oss, The Netherlands
Page 22 of 77
3.4.13. EXECUTE CRITICAL CODE
Function: apis_criticalcode
Description: A function is executed via the supplied pointer. The function is executed with all
interrupts disabled and if possible in kernel mode of the Operating System. This
function is provided for execution of critical user code.
Note: The user supplied function must be as short as possible and must not
call time consuming routines like printf, getchar etc.
Warning: apis_criticalcode must not be called from within an interrupt service
routine or from within a routine called via apis_criticalcode.
Arguments: void *func
Pointer to the user routine
int narg
Number of argurments following in the argument list
...
Variable argument list, the arguments in this list are passed to the user
routine.
Returns: APIS error code
3.4.14. DELAY
Function: apis_delay
Description: Suspend the current process for a requested delay. The delay must be provided in
milliseconds. The minimum delay time is platform dependent. Although the delay
request is passed in milliseconds the resolution and minimum delay might be greater
then 1 msec (mostly 10msec).
Arguments: UINT32 dtime
Delay time in milliseconds.
Returns: APIS error code
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 78 79

Comments to this Manuals

No comments