Add an nRF RNG driver

Resolves #187

Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
This commit is contained in:
Liam Murphy
2021-06-29 17:26:16 +10:00
parent e6d6e82e54
commit 8a4ab29819
12 changed files with 208 additions and 0 deletions

View File

@ -8,6 +8,9 @@ embassy_extras::peripherals! {
RTC0,
RTC1,
// RNG
RNG,
// UARTE
UARTE0,

View File

@ -8,6 +8,9 @@ embassy_extras::peripherals! {
RTC0,
RTC1,
// RNG
RNG,
// UARTE
UARTE0,

View File

@ -8,6 +8,9 @@ embassy_extras::peripherals! {
RTC0,
RTC1,
// RNG
RNG,
// UARTE
UARTE0,

View File

@ -8,6 +8,9 @@ embassy_extras::peripherals! {
RTC0,
RTC1,
// RNG
RNG,
// UARTE
UARTE0,

View File

@ -9,6 +9,9 @@ embassy_extras::peripherals! {
RTC1,
RTC2,
// RNG
RNG,
// UARTE
UARTE0,

View File

@ -9,6 +9,9 @@ embassy_extras::peripherals! {
RTC1,
RTC2,
// RNG
RNG,
// UARTE
UARTE0,
UARTE1,

View File

@ -9,6 +9,9 @@ embassy_extras::peripherals! {
RTC1,
RTC2,
// RNG
RNG,
// QSPI
QSPI,