rtic/ui/extern-interrupt-used.rs

19 lines
343 B
Rust
Raw Normal View History

#![no_main]
2020-10-23 10:35:56 +02:00
#[rtic::app(device = lm3s6965, dispatchers = [UART0])]
2020-05-19 20:00:13 +02:00
mod app {
2021-07-07 22:50:59 +02:00
#[shared]
struct Shared {}
#[local]
struct Local {}
#[init]
fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
(Shared {}, Local {}, init::Monotonics())
2021-07-07 22:50:59 +02:00
}
2019-06-20 06:19:59 +02:00
#[task(binds = UART0)]
fn a(_: a::Context) {}
}