[][src]Attribute Macro xtensa_lx106_rt::exception

#[exception]

Marks a function as the exception handler

Example

This example is not tested
use xtensa_lx106_rt::{exception, ExceptionContext};

#[exception]
fn exception_handler(cause: ExceptionCause, save_frame: &ExceptionContext) {
    // ...
}