iLLD_TC27xD  1.0
Cpu Utility Functions
Collaboration diagram for Cpu Utility Functions:

Functions

IFX_EXTERN uint32 IfxCpu_getRandomValue (uint32 *seed)
 API to get random value. More...
 
IFX_EXTERN uint32 IfxCpu_getRandomValueWithinRange (uint32 *seed, uint32 min, uint32 max)
 API to get random value with in the range. More...
 

Detailed Description

Function Documentation

IFX_EXTERN uint32 IfxCpu_getRandomValue ( uint32 seed)

API to get random value.

Parameters
seedPointer to seed value
Returns
random value

Definition at line 147 of file IfxCpu.c.

Referenced by IfxCpu_getRandomValueWithinRange().

IFX_EXTERN uint32 IfxCpu_getRandomValueWithinRange ( uint32 seed,
uint32  min,
uint32  max 
)

API to get random value with in the range.

Parameters
seedPointer to seed value
minminimum range value
maxmaximum range value
Returns
random value

Definition at line 226 of file IfxCpu.c.