2021-05-25 04:17:24 +02:00
|
|
|
pub use bare_metal::Mutex;
|
|
|
|
pub use critical_section::CriticalSection;
|
|
|
|
pub use embassy::interrupt::{take, Interrupt};
|
2021-07-29 13:44:51 +02:00
|
|
|
pub use embassy_hal_common::interrupt::Priority4 as Priority;
|
2021-05-25 04:17:24 +02:00
|
|
|
|
|
|
|
use crate::pac::Interrupt as InterruptEnum;
|
|
|
|
use embassy::interrupt::declare;
|
|
|
|
|
|
|
|
crate::pac::interrupts!(
|
|
|
|
($name:ident) => {
|
|
|
|
declare!($name);
|
|
|
|
};
|
|
|
|
);
|