stm32f1xx-hal
stm32f1xx-hal copied to clipboard
A Rust embedded-hal HAL impl for the STM32F1 family based on japarics stm32f103xx-hal
This PR removes `wfi` from examples. I ran into an issue flashing code onto my board after flashing one of the examples and found [this thread](https://github.com/probe-rs/probe-rs/issues/350) which finally gave me...
I'm trying to use this crate with an STM32F103CBT6 board that uses a 16MHz HSE oscillator. In C-land, I use the HSE predivider to bump that down to 8MHz, and...
I followed untill here  but i got different kind of error 
Allows to set HSE bypass bit in RCC clock config register to use external clock supplied through OSC_IN pin. Implementation is adopted from stm32f4xx-hal. Related to #481
I'm writing a firmware where the ADC should be runtime configured for sampling the selected set of inputs (configured as regular sequence) with the selected frequency. Data should be transferred...
**Describe** The [doc](https://docs.rs/stm32f1xx-hal/0.10.0/stm32f1xx_hal/usb/struct.Peripheral.html) says `usb::Peripheral` has implemented [UsbPeripheral](https://docs.rs/stm32-usbd/0.6.0/x86_64-unknown-linux-gnu/stm32_usbd/trait.UsbPeripheral.html). But I got a compile error says the struct has not implement the trait. **To Reproduce** - main.rs ```rust #![no_std] #![no_main] use...
Similar to [this PR in stm32f4xx-hal](https://github.com/stm32-rs/stm32f4xx-hal/pull/231), I am porting a firmware on existing target that was designed to run faster than the official speed. This PR bypass the assert if...
When interfacing with single wire half-duplex SPI devices such as the [TLE5012 magnetic sensor](https://www.infineon.com/dgdl/Infineon-TLE5012B_Exxxx-DataSheet-v02_01-EN.pdf?fileId=db3a304334fac4c601350f31c43c433f), we should enable bidirection mode as shown in "25.3.4 Configuring the SPI for half-duplex communication" of...
Many peripheral 'constructors' take `Clocks` structure as an argument. Some of them (e.g. timers, serial) take a shared reference, while the others (e.g. SPI, I2C) take the ownership of the...
See https://github.com/stm32-rs/stm32f4xx-hal/pull/791