ToCoNet_u32GetRand()

Explanation

Obtains a 32bit random number. The method of random number generation is specified by sToCoNet_AppContext.u8RandMode.

Argument

None

Returns

Type
Remark

uint32

32bit random number

Sample code

uint32 u32rand;
u32rand = ToCoNet_u32GetRand();

最終更新