rtic/ui/single/extern-interrupt-used.rs

11 lines
169 B
Rust

#![no_main]
#[rtfm::app(device = lm3s6965)]
const APP: () = {
#[interrupt(binds = UART0)]
fn a(_: a::Context) {}
extern "C" {
fn UART0();
}
};