rtic/ui/extern-interrupt-used.rs

19 lines
305 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]
2023-01-08 21:33:44 +01:00
fn init(cx: init::Context) -> (Shared, Local) {
(Shared {}, Local {})
2021-07-07 22:50:59 +02:00
}
2019-06-20 06:19:59 +02:00
#[task(binds = UART0)]
fn a(_: a::Context) {}
}