Module stm32_hal2::prelude [−][src]
In the prelude, we export the embedded-hal
traits we implement, and
some custom ones.
Re-exports
pub use crate::traits::*; |
pub use access_global; |
pub use make_globals; |
pub use make_simple_globals; |
Traits
DelayMs | Millisecond delay |
DelayUs | Microsecond delay |
InputPin | Single digital input pin |
OneShot | ADCs that sample on single channels per request, and do so at the time of the request. |
OutputPin | Single digital push-pull output pin |
Read | Read half of a serial interface |
ToggleableOutputPin | Output pin that can be toggled |
Write | Write half of a serial interface (blocking variant) |