Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
rng_arch.c File Reference

arch specific Random Number Generator API More...

#include "mcu_periph/rng.h"
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
+ Include dependency graph for rng_arch.c:

Go to the source code of this file.

Functions

void rng_init (void)
 
void rng_deinit (void)
 
bool rng_get (uint32_t *rand_nr)
 
uint32_t rng_wait_and_get (void)
 

Detailed Description

arch specific Random Number Generator API

Definition in file rng_arch.c.

Function Documentation

◆ rng_deinit()

void rng_deinit ( void  )

Definition at line 36 of file rng_arch.c.

◆ rng_get()

bool rng_get ( uint32_t rand_nr)

Definition at line 40 of file rng_arch.c.

References fd.

◆ rng_init()

void rng_init ( void  )

Definition at line 34 of file rng_arch.c.

◆ rng_wait_and_get()

uint32_t rng_wait_and_get ( void  )

Definition at line 62 of file rng_arch.c.

References rng_get().

+ Here is the call graph for this function: