IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Miscellaneous Functions


Detailed Description

This sections describes the various miscellaneous functions.

Defines

#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 © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:14 2018 by Doxygen 1.6.1