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

@ -33,6 +33,7 @@ embedded-hal = { version = "0.2.4" }
embedded-dma = { version = "0.1.2" }
futures = { version = "0.3.5", default-features = false }
critical-section = "0.2.1"
rand_core = "0.6.3"
nrf52805-pac = { version = "0.1.0", optional = true, features = [ "rt" ]}
nrf52810-pac = { version = "0.9.0", optional = true, features = [ "rt" ]}