Obtains a 32bit random number. The method of random number generation is specified by sToCoNet_AppContext.u8RandMode.
sToCoNet_AppContext.u8RandMode
By default, the value is generated based on a hardware 16-bit random number.
If you use a 32Khz crystal oscillator or oscillator for the WakeTimer, no random numbers will be generated. Always use a software random number module.
None
uint32
32bit random number
uint32 u32rand; u32rand = ToCoNet_u32GetRand();
最終更新 3 年前