Benjamin
a912a3798d
Fixed variations in register access for different families
2025-06-03 21:04:41 +02:00
Benjamin
94080b38a5
Added Option to enable HW Oversampling in STM32 V3 ADCs. Copied from adc/v4.rs and adjusted to reflect 2 to 256x oversampling + adjusted bit shifting operations
2025-06-03 20:29:06 +02:00
Dario Nieuwenhuis
141c170db4
Merge pull request #4277 from diondokter/fix-usb-race
...
STM32 USB: Read data before register update
2025-06-03 14:14:45 +00:00
Dion Dokter
9b3b6c5421
STM32 USB: Read data before register update
2025-06-03 16:08:55 +02:00
Frank Stevenson
011d7832f8
Use modify() for subsequent changes to RCC.cr()
2025-06-03 15:47:33 +02:00
Dario Nieuwenhuis
c637ee7d79
Merge pull request #4271 from cschuhen/fdcan_critical_section
...
Use a critical section mutex in CAN Fdcan driver.
2025-06-01 12:37:12 +00:00
Dario Nieuwenhuis
f3983328e0
Merge pull request #4231 from ROMemories/feat/stm32-rcc-const-constructors
...
feat(stm32): provide a `const` constructor on `rcc::Config`
2025-06-01 12:19:39 +00:00
Dario Nieuwenhuis
fc4139146f
Merge pull request #4251 from kpfleming/improve-stm32-ringbuffereduart-docs
...
stm32: Expand documentation of RingBufferedUartRx.
2025-06-01 12:15:19 +00:00
Corey Schuhen
010744802f
Remove duplicate calc_timestamp and move to 'Registers' struct.
2025-05-31 09:09:12 +10:00
Corey Schuhen
f5658d6833
Put State inside a critical section mutex of RefCell. This removes the unsound code that was giving out mut&. to State
2025-05-31 08:20:03 +10:00
Corey Schuhen
eba9ddc805
Switch to SendDynamicSender for FDCAN.
2025-05-31 08:20:03 +10:00
Dario Nieuwenhuis
9b8d6d6f22
Merge pull request #4267 from melvdlin/stm32-qspi-from
...
convert embassy-stm32::qspi::enums `Into` impls into equivalant `From` impls
2025-05-30 11:15:54 +00:00
melvdl
86efdc9cc3
convert embassy-stm32::qspi::enums Into
impls into equivalant From
impls
2025-05-30 00:30:27 +02:00
Willdew
3d617007a2
fixed n in set_sq to be indexed correctly
2025-05-29 23:06:01 +02:00
Dario Nieuwenhuis
645883d874
Merge pull request #4223 from embedded-rust-iml/feature/drop-impl-for-stm32-fdcan
...
Cleanup Pins and RCC for FDCAN on STM32
2025-05-27 17:44:11 +00:00
Dario Nieuwenhuis
aab043b0f3
Merge pull request #4252 from kpfleming/assert-empty-buffer-buffereduart
...
stm32: Assert in BufferedUart that the buffers are not empty.
2025-05-27 15:17:29 +00:00
Ulf Lilleengen
5f3204f9c3
Merge pull request #4232 from RaulIQ/main
...
[embassy-stm32] add PWM multi channel waveform generation using DMA burst mode
2025-05-27 06:25:33 +00:00
Kevin P. Fleming
b9f7478ada
stm32: Improvements to CRC HAL.
...
* Corrects spelling and grammar errors in documentation.
* Removes non-v1 code from v1-only source file.
* Adds 'read' operation for v2/v3, to be consistent with v1.
* Removes 'reset' from the v2/v3 'reconfigure' operation to match the
documentation (the only user is the 'new' function which already
issues a reset).
2025-05-26 18:43:09 -04:00
ROMemories
44c53365ad
fixup! feat(stm32-l): provide a const
constructor on rcc::Config
2025-05-26 14:44:48 +02:00
ROMemories
a5a27ef52b
fixup! feat(stm32-wba): provide a const
constructor on rcc::Config
2025-05-26 14:43:46 +02:00
ROMemories
5d6b51d910
fixup! feat(stm32-l): provide a const
constructor on rcc::Config
2025-05-26 14:43:39 +02:00
ROMemories
fce84bd51b
fixup! feat(stm32-g4): provide a const
constructor on rcc::Config
2025-05-26 14:43:29 +02:00
ROMemories
ca17b41d0d
fixup! feat(stm32-g0): provide a const
constructor on rcc::Config
2025-05-26 14:43:21 +02:00
ROMemories
8fa07ac062
fixup! feat(stm32-c0): provide a const
constructor on rcc::Config
2025-05-26 14:43:07 +02:00
Ivan Li
cb1bccfd5c
feat(stm32): Add DAC::new_unbuffered method.
...
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2025-05-25 21:39:23 +08:00
Kevin P. Fleming
a860fea0a5
stm32: Assert in BufferedUart that the buffers are not empty.
2025-05-25 08:51:27 -04:00
Kevin P. Fleming
ca5fe2645d
Move new documentation to RingBufferedUartRx struct.
2025-05-24 19:34:07 -04:00
Kevin P. Fleming
2ed5e04fd0
stm32: Expand documentation of RingBufferedUartRx.
...
Explain to users of this driver how 'waiting for bytes' actually
works, and what that may mean for latency introduced in their
application.
Also correct references to 'start' to be 'start_uart'.
2025-05-24 16:39:25 -04:00
Ulf Lilleengen
94f9b27074
Merge pull request #4228 from okhsunrog/adding_eeprom
...
Adding EEPROM support to embassy-stm32
2025-05-23 14:15:15 +02:00
RaulIQ
967ae161a0
doc: update documentation to pass test
2025-05-22 10:56:48 +03:00
RaulIQ
3c3c7877cd
format simple_pwm.rs with rustfmt
2025-05-22 10:44:38 +03:00
Matt Johnston
5e49985ed6
embassy-sync: bump to 0.7.0
2025-05-22 13:29:55 +08:00
okhsunrog
e4a6d7aedd
fix: lock on early return
2025-05-21 21:30:23 +03:00
okhsunrog
966186064e
fix UB
2025-05-21 20:59:49 +03:00
okhsunrog
be831d0e79
Merge remote-tracking branch 'origin/main' into adding_eeprom
2025-05-21 17:10:49 +03:00
RaulIQ
62ffc995f1
improve waveform_up_multi_channel documentation
2025-05-21 16:39:41 +03:00
ROMemories
576241fe2a
feat(stm32-wba): provide a const
constructor on rcc::Config
2025-05-21 14:19:24 +02:00
ROMemories
da86052586
feat(stm32-u5): provide a const
constructor on rcc::Config
2025-05-21 14:19:21 +02:00
ROMemories
48b36adafd
feat(stm32-h): provide a const
constructor on rcc::Config
2025-05-21 14:19:16 +02:00
ROMemories
ea243761f7
feat(stm32-g4): provide a const
constructor on rcc::Config
2025-05-21 14:19:12 +02:00
ROMemories
26fb6eb9f6
feat(stm32-g0): provide a const
constructor on rcc::Config
2025-05-21 14:19:09 +02:00
ROMemories
3fcfec7b94
feat(stm32-f247): provide a const
constructor on rcc::Config
2025-05-21 14:19:04 +02:00
ROMemories
4e6df17047
feat(stm32-f013): provide a const
constructor on rcc::Config
2025-05-21 14:18:52 +02:00
ROMemories
79b24bd35d
feat(stm32-c0): provide a const
constructor on rcc::Config
2025-05-21 14:18:48 +02:00
ROMemories
65a22439d5
feat(stm32-l): provide a const
constructor on rcc::Config
2025-05-21 14:18:43 +02:00
Adam Morgan
3c025ff377
Update stm32-metapac tag
2025-05-21 12:40:10 +02:00
Adam Morgan
0bbde1f659
Add support for rtc_v3h7rs
2025-05-21 12:40:10 +02:00
RaulIQ
05c5113556
add waveform_up_multichannel using DMAR/DCR
2025-05-21 12:27:25 +03:00
okhsunrog
437e45df2b
make API more consistent
2025-05-21 09:44:28 +03:00
okhsunrog
bc265b98b7
adding docs
2025-05-21 08:46:52 +03:00