[][src]Attribute Macro esp8266_hal_proc_macros::interrupt

#[interrupt]

Marks a function as an interrupt handler

Used to handle on of the interrupts.

When specified between braces (#[interrupt(example)]) that interrupt will be used and the function can have an arbitrary name. Otherwise the name of the function must be the name of the interrupt.