nrf: add owned Peripherals struct, migrate gpio and spim

This commit is contained in:
Dario Nieuwenhuis
2021-03-19 04:08:44 +01:00
parent d9aaa0edf8
commit fcf6a63b5c
5 changed files with 516 additions and 43 deletions

View File

@ -94,8 +94,10 @@ pub(crate) fn slice_in_ram_or<T>(slice: &[u8], err: T) -> Result<(), T> {
pub(crate) mod fmt;
pub mod buffered_uarte;
pub mod gpio;
pub mod gpiote;
pub mod interrupt;
pub mod peripherals;
#[cfg(feature = "52840")]
pub mod qspi;
pub mod rtc;