IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

Miscellaneous Functions

Detailed Description

This sections describes the various miscellaneous functions.


#define max(a, b)   (((a) > (b)) ? (a) : (b))
 Returns the maximum of two values.
#define min(a, b)   (((a) < (b)) ? (a) : (b))
 Returns the minimum of two values.
#define randomize()   srand((unsigned)time(NULL))
 Initializes the random number generator.
#define enable()   EnableInterrupts()
 Enables the interrupts.
#define disable()   MaskInterrupts()
 Disables the interrupts.

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1