Expand description
Prelude - Include traits for hal
Re-exports§
pub use crate::crc::CrcExt as _stm32l4_hal_CrcExt;pub use crate::datetime::U32Ext as _stm32l4_hal_datetime_U32Ext;pub use crate::dma::DmaExt as _stm32l4_hal_DmaExt;pub use crate::flash::FlashExt as _stm32l4_hal_FlashExt;pub use crate::gpio::ExtiPin as _stm32l4_hal_ExtiPin;pub use crate::gpio::GpioExt as _stm32l4_hal_GpioExt;pub use crate::pwm::PwmExt1 as _stm32l4_hal_PwmExt1;pub use crate::pwm::PwmExt2 as _stm32l4_hal_PwmExt2;pub use crate::pwr::PwrExt as _stm32l4_hal_PwrExt;pub use crate::rcc::RccExt as _stm32l4_hal_RccExt;pub use crate::rng::RngExt as _stm32l4_hal_RngExt;pub use crate::time::U32Ext as _stm32l4_hal_time_U32Ext;pub use fugit::ExtU32 as _;pub use fugit::RateExtU32 as _;
Modules§
- toggleable
- If you can read and write the output state, a pin is toggleable by software.
Enums§
- PinState
- Digital output pin state
Traits§
- Input
Pin - Single digital input pin
- IoPin
- Single pin that can switch from input to output mode, and vice-versa.
- Output
Pin - Single digital push-pull output pin
- Stateful
Output Pin - Push-pull output pin that can read its output state
- Toggleable
Output Pin - Output pin that can be toggled
- _embedded_
hal_ Capture - Input capture
- _embedded_
hal_ Pwm - Pulse Width Modulation
- _embedded_
hal_ PwmPin - A single PWM channel / pin
- _embedded_
hal_ Qei - Quadrature encoder interface
- _embedded_
hal_ adc_ OneShot - ADCs that sample on single channels per request, and do so at the time of the request.
- _embedded_
hal_ blocking_ delay_ Delay Ms - Millisecond delay
- _embedded_
hal_ blocking_ delay_ Delay Us - Microsecond delay
- _embedded_
hal_ blocking_ i2c_ Read - Blocking read
- _embedded_
hal_ blocking_ i2c_ Write - Blocking write
- _embedded_
hal_ blocking_ i2c_ Write Read - Blocking write + read
- _embedded_
hal_ blocking_ rng_ Read - Blocking read
- _embedded_
hal_ blocking_ serial_ Write - Write half of a serial interface (blocking variant)
- _embedded_
hal_ blocking_ spi_ Transfer - Blocking transfer
- _embedded_
hal_ blocking_ spi_ Write - Blocking write
- _embedded_
hal_ digital_ Input Pin Deprecated - Single digital input pin
- _embedded_
hal_ digital_ Output Pin Deprecated - Single digital push-pull output pin
- _embedded_
hal_ digital_ Toggleable Output Pin Deprecated - Output pin that can be toggled
- _embedded_
hal_ serial_ Read - Read half of a serial interface
- _embedded_
hal_ serial_ Write - Write half of a serial interface
- _embedded_
hal_ spi_ Full Duplex - Full duplex (master mode)
- _embedded_
hal_ timer_ Count Down - A count down timer
- _embedded_
hal_ watchdog_ Watchdog - Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
- _embedded_
hal_ watchdog_ Watchdog Disable - Disables a running watchdog timer so the processor won’t be reset.
- _embedded_
hal_ watchdog_ Watchdog Enable - Enables A watchdog timer to reset the processor if software is frozen or stalled.