[−][src]Function esp32_hal::interrupt::enable
#[link_section = ".rwtext"]pub fn enable(interrupt: Interrupt) -> Result<(), Error>
Enable interrupt
For CPU internal interrupts use the default level, for others use level 1
Note: CPU internal interrupts can only be set on the current core.
Note: take care when mapping multiple peripheral edge triggered interrupts to the same level: this will cause all handlers to be called.