Title |
Function |
Function Name |
No |
format void MTH_InitialRand (Uint32 initVal) Input initVal: Initial parameter value for random number generation Output None Function value None Function Sets the initial parameter for calculating the random number returned by MTH_GetRand. This initialization routine If you do not call Chin , the initial parameter value for random number calculation is 0.
Title |
Function |
Function Name |
No |
format Uint32 randVal = MTH_GetRand (void) Input None Output None function value randVal: random value from 0x00000000 to 0xffffffff Function Returns a random value for each call.