rtfm-syntax 0.4.0

The Real Time for The Masses (RTFM) meta language
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![no_main]

#[mock::app(parse_extern_interrupt, parse_binds)]
const APP: () = {
    #[task(binds = EXTI0)]
    fn foo(_: foo::Context) {}

    extern "C" {
        fn EXTI0();
    }
};