UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
Files | Functions

Random Number Driver. More...

Files

file  random.c
 Random Driver - gnulinux platform.
 
file  random.c
 Random Driver - uos3-proto board.
 

Functions

uint32_t Random (uint32_t max)
 

Detailed Description

Random Number Driver.

Function Documentation

uint32_t Random ( uint32_t  max)

Returns an unsigned random integer of less than or equal to the given parameter.

Parameters
maxmaximum output value
Returns
unsigned integer less than or equal to 'max'

Definition at line 21 of file random.c.