aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g0/src
Commit message (Collapse)AuthorAgeFilesLines
* Reverted adding AnyBinding, removed AnyChannel, removed ability for ↵WillaWillNot2025-11-221-6/+1
| | | | ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information
* Fixed broken examples/formatting reported by CIWillaWillNot2025-11-211-2/+1
|
* Updated documentation, fixed EXTI definition issues with chips that have ↵WillaWillNot2025-11-211-2/+14
| | | | touch sensing, updated examples, added generation of convenience method to bind_interrupts for easier type erasure
* stm32/adc: extract into commonxoviat2025-11-121-6/+8
| | | | add common low-level interface for adc
* adc: remove sample_time from structxoviat2025-11-102-5/+3
|
* rtc: use consistent api between stop and non-stopxoviat2025-11-041-2/+2
|
* Correct the temperature reading to preserve the sign bitsMichael Turner2025-11-021-1/+1
|
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-066-9/+9
|
* CleanupPer Rosengren2025-09-161-11/+0
|
* Re-export API enums and update examplesPer Rosengren2025-09-161-3/+3
|
* Add Adc::new_with_clock() to configure analog clockPer Rosengren2025-08-303-6/+6
| | | | | | | Required on STM32WL with default HAL initialization. The function is only available for adc_g0, but all that have clock config should add implementations.
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-292-2/+2
|
* rustfmtSüha Ünüvar2025-08-081-9/+1
|
* i2c examplesSüha Ünüvar2025-08-081-2/+0
|
* fix examplesSüha Ünüvar2025-06-271-1/+1
|
* stm32: adapt examples to timer API changesmelvdl2025-06-274-9/+9
|
* Merge pull request #3965 from toon23/stm32_usart-pin_configDario Nieuwenhuis2025-04-181-5/+8
|\ | | | | | | Stm32 usart: implement pin config for cts, tx, rts and de
| * Stm32 usart: better names for open drain pin modesAnton Pöhl2025-04-161-2/+2
| |
| * Stm32 usart: remove HalfDuplexConfigAnton Pöhl2025-04-111-5/+8
| | | | | | | | The pin parameters of usart::Config are used instead.
* | BufferedUart initializationMichael Gomez2025-04-041-1/+1
|/ | | | | | | This change modifies UART initialization throughout Embassy to take pins before interrupts. Related to #1304.
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-273-5/+5
|
* Merge pull request #3880 from nikvoid/stm32-rtc-subsecondDario Nieuwenhuis2025-02-161-1/+1
|\ | | | | | | STM32: RTC subsecond support
| * stm32: read microsecond from RTCnikvoid2025-02-131-1/+1
| |
* | examples/stm32: fix g0 hftimer example with hsi sys_divMarkus Kasten2025-01-171-1/+3
|/
* examples/stm32g0: added ds18b20 temperature sensor on 1-wire busDaniel Trnka2024-12-221-0/+271
|
* last oops I promiseGrant Miller2024-09-061-1/+0
|
* Update examplesGrant Miller2024-09-062-9/+8
|
* stm32 adc: introduce blocking_readAndres Vahter2024-07-033-4/+4
|
* Merge pull request #3128 from andresv/stm32-adc-dma-v3Ulf Lilleengen2024-07-031-0/+44
|\ | | | | | | STM32 ADC v3 and V4 DMA support
| * stm32g0: add adc_dma exampleAndres Vahter2024-07-031-0/+44
| |
* | Add adc oversampling supportChen Yuheng2024-06-271-0/+43
|/
* Update pwm_complementary.rsChen Yuheng2024-06-191-1/+0
|
* Add PWM examples for stm32g0Chen Yuheng2024-06-193-0/+190
|
* Add stm32g0 examplesChen Yuheng2024-06-185-0/+151
|
* stm32/spi: restrict txonly_nosck to SPIv1, it hangs in other versions.Dario Nieuwenhuis2024-05-311-1/+1
|
* stm32g0: add i2c_async exampleFelipe Balbi2024-05-161-0/+48
| | | | | This example will help those having difficulties understanding how to bind interrupts on stm32g0 devices.
* stm32/spi: remove DMA generic params.Dario Nieuwenhuis2024-04-151-2/+1
|
* usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-231-2/+0
|
* stm32/rcc: port g0 to new api.Dario Nieuwenhuis2024-03-041-7/+8
|
* stm32: autogenerate mux config for all chips.Dario Nieuwenhuis2024-03-012-28/+26
|
* stm32/rcc: unify naming sysclk field to `sys`, enum to `Sysclk`.Dario Nieuwenhuis2024-02-261-2/+2
|
* stm32/gpio: remove generics.Dario Nieuwenhuis2024-01-221-3/+2
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-1/+1
| | | | | | | With the embedded-hal rc3 update I changed them to require `&mut self`, but in retrospect I think `&self` is better, for extra flexibility. This PR reverts the changes from the rc3 update to inherent methods.
* stm32: Add G0 USB exampleDerek Hageman2024-01-051-0/+99
| | | | Add a USB CDC ACM example using STM32G0 USB and CRS.
* weird format ruleAdin Ackerman2024-01-021-15/+9
|
* add hf timer example for g0Adin Ackerman2024-01-021-0/+69
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-215-5/+0
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-1/+1
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-152-6/+6
| | | | convenience methods
* changed ADDR variable to addrdev-guruprasath2023-07-311-5/+5
|