Function r3_port_std::pend_interrupt_line
source · pub fn pend_interrupt_line<Traits: PortInstance>(
num: InterruptNum
) -> Result<(), PendInterruptLineError>
Expand description
Pend an interrupt line from an external thread.
It’s illegal to call this method from a thread managed by the port (i.e.,
you can’t call it from a task or an interrupt handler). Use
r3_core::kernel::InterruptLine::pend
instead in such cases.