add interrupt channels, waker

This commit is contained in:
xoviat
2020-12-28 13:31:18 -06:00
parent 56db0e1c61
commit b5e0116f76
2 changed files with 51 additions and 3 deletions

View File

@ -554,13 +554,12 @@ pub trait Instance: Deref<Target = uarte0::RegisterBlock> + Sized + private::Sea
}
#[interrupt]
unsafe fn UARTE0_UART0() {
unsafe fn DMA2_CHANNEL2() {
interrupt::free(|cs| UARTE0::get_state(cs).as_mut().unwrap().on_interrupt());
}
#[cfg(any(feature = "52833", feature = "52840", feature = "9160"))]
#[interrupt]
unsafe fn UARTE1() {
unsafe fn DMA2_CHANNEL7() {
interrupt::free(|cs| UARTE1::get_state(cs).as_mut().unwrap().on_interrupt());
}