nrf: add PPI channel group driver.

This commit is contained in:
Dario Nieuwenhuis
2023-03-04 05:24:38 +01:00
parent 78d733fc73
commit 4314b823aa
3 changed files with 98 additions and 10 deletions

View File

@ -14,7 +14,7 @@ impl Event {
}
}
fn regs() -> &'static pac::ppi::RegisterBlock {
pub(crate) fn regs() -> &'static pac::ppi::RegisterBlock {
unsafe { &*pac::PPI::ptr() }
}