Skip to main content

InterruptPin

Trait InterruptPin 

Source
pub trait InterruptPin<'a>: Pin + Interrupt<'a> { }
Expand description

The InterruptPin trait allows a pin to be used as either input or output and also to source interrupts.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, T: Pin + Interrupt<'a>> InterruptPin<'a> for T