stuff
This commit is contained in:
11
lib/src/interrupts.rs
Normal file
11
lib/src/interrupts.rs
Normal file
@ -0,0 +1,11 @@
|
||||
use embassy_rp::{
|
||||
bind_interrupts,
|
||||
peripherals::{UART0, USB},
|
||||
};
|
||||
|
||||
bind_interrupts! {
|
||||
pub struct Irqs {
|
||||
UART0_IRQ => embassy_rp::uart::BufferedInterruptHandler<UART0>;
|
||||
USBCTRL_IRQ => embassy_rp::usb::InterruptHandler<USB>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user