Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rng module

Random Number Generator

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="rng"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • arch dependent: mcu_periph/rng_arch.c

Raw rng.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="rng" dir="mcu_periph" task="mcu">
<doc>
<description>
Random Number Generator
</description>
</doc>
<header>
<file name="rng.h" dir="mcu_periph"/>
</header>
<makefile target="!fbw|sim">
<define name="USE_RNG"/>
<file_arch name="rng_arch.c" dir="mcu_periph"/>
</makefile>
</module>