Blue | Comments |
Red | Generic Terms |
Yelow | Reserved words and Commands |
Brown | Defines |
Link | Link to other functions |
/****************************************************************************
*
* Auxiliary Function
: AuxMin
*
* Description :
returns the minimum of two values
*
****************************************************************************/
uint32 AuxMin (uint32
val1, uint32 val2)
return(if
(val1 < val2)
return(val1)
else
return(val2));
/****************************************************************************
*
* Auxiliary Function
: AuxMin4
*
* Description :
returns the minimum of four values
*
****************************************************************************/
uint32 AuxMin4 (uint32
val1, uint32 val2, uint32
val3, uint32 val4)
return(AuxMin(AuxMin(val1,val2),AuxMin(val3,val4)));