pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
  • Pebble Firmware
    • Overview
    • Playground
    • Application SDK
  • Development
    • The pbl CLI
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Drivers
      • Device model
      • Simulators
      • Buses and I/O
      • Clocks, power and timing
      • Memory and storage
      • Display and graphics
      • Sensors and input
      • Audio and haptics
      • Power supply
      • System
    • Subsystems
    • Libraries
    • Third-party
  • Hardware
    • Boards
    • Board Add-ons
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

RNG

A random number generator returns random words from a hardware entropy source.

Directory

drivers/rng

Header

pbl/drivers/rng.h

Kconfig

CONFIG_RNG, enabled by the application

Sample

RNG: Random words

API

API reference

Drivers

Driver

Compatible

Kconfig

Nordic nRF5

—

CONFIG_RNG_NRF5

SiFli SF32LB

sifli,sf32lb52-trng

CONFIG_RNG_SF32LB

ST STM32

st,stm32-rng

CONFIG_RNG_STM32

QEMU

—

CONFIG_RNG_QEMU

POSIX

—

CONFIG_RNG_POSIX

Generated from PebbleOS 12b6c531f. This page is maintained in the pebbleos repository: docs/drivers/rng.md.