Skip to main content

InterruptValuePin

Trait InterruptValuePin 

Source
pub trait InterruptValuePin<'a>: Pin + InterruptWithValue<'a> { }
Expand description

The InterruptValuePin trait allows a pin to be used as either input or output and also to source interrupts which pass a value.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, T: Pin + InterruptWithValue<'a>> InterruptValuePin<'a> for T