2848 Commits

Author SHA1 Message Date
Liu Hancheng
a3a8dee579 refactor: exclude stm32l0 for 32bit timer branch
Signed-off-by: Liu Hancheng <liuhancheng.cn@gmail.com>
2025-01-01 17:28:37 +08:00
Liu Hancheng
e2c866119f doc: add doc for timer get_bits fn 2025-01-01 17:24:00 +08:00
Liu Hancheng
99ce285397 refactor: change import style 2025-01-01 17:21:33 +08:00
Liu Hancheng
89a1346d00 docs: Update PWM waveform function documentation for data alignment 2025-01-01 17:17:23 +08:00
Liu Hancheng
cbc7a9fe5b feat: Add 32-bit timer support for waveform function 2025-01-01 17:05:48 +08:00
Dario Nieuwenhuis
667dfa34b5
Merge pull request #3700 from fwolter/usb-delay
STM32: set USB initialization delay to 1µs
2024-12-31 11:34:14 +01:00
Dario Nieuwenhuis
29dce03adc
Merge pull request #3679 from trnila/1wire
stm32/usart: configurable readback for half-duplex to support 1-wire + ds18b20 example
2024-12-31 11:33:54 +01:00
klownfish
41c8bf867b fix formatting 2024-12-31 01:04:18 +01:00
Fabian Wolter
306a781267 STM32: set USB initialization delay to 1µs 2024-12-30 20:46:56 +01:00
klownfish
a5a90156ce cleanup 2024-12-27 02:54:38 +01:00
Olof
0836392219
Merge branch 'embassy-rs:main' into u5_adc 2024-12-27 00:35:49 +01:00
klownfish
4f4740eeb2 add async read for u5 ADC4 2024-12-27 00:24:47 +01:00
Dion Dokter
595ce48eb2 Write the flag sooner with a known value 2024-12-25 22:54:48 +01:00
Dion Dokter
92a489b6a1 Make SharedData repr C 2024-12-25 22:50:19 +01:00
Dániel Buga
ab8ca3f126
Rename ETQD, bump date 2024-12-22 21:00:23 +01:00
Daniel Trnka
a7983668da stm32/usart: half-duplex support for buffered usart 2024-12-22 19:55:16 +01:00
Daniel Trnka
7b7ac1bd3e stm32/usart: disabling receiver before write in half-duplex moved to a new function 2024-12-22 17:53:33 +01:00
Daniel Trnka
2ec81419fa stm32/usart: configurable readback in half-duplex mode 2024-12-22 17:50:46 +01:00
elagil
c08411f32f fix: docstrings 2024-12-22 15:07:58 +01:00
elagil
c9cd46bdf5 fix: h5-only rx filter 2024-12-22 15:07:58 +01:00
elagil
b35b45e151 feat: stm32h5 UCPD example 2024-12-22 15:07:58 +01:00
Anatol Ulrich
7743c8fb9a more cfg gating 2024-12-19 19:16:38 +01:00
Anatol Ulrich
d91b8c6394 consistently cfg-gate set_speed 2024-12-19 18:52:27 +01:00
Anatol Ulrich
26fe834c09 fix imports 2024-12-19 18:48:07 +01:00
Anatol Ulrich
8d98844312 embassy-stm32: make SPI slew rate/speed configurable and change default to Medium 2024-12-19 18:35:42 +01:00
Olof
7cf96e4730
Merge branch 'embassy-rs:main' into u5_adc 2024-12-18 01:48:25 +01:00
klownfish
8678911028 fix adc for u5 2024-12-18 01:46:53 +01:00
Piotr Esden-Tempski
b2e8268470 stm32/(o|q)spi: command naming convention fix
The naming convention is to prefix blocking functions with blocking. As
both command implementations are blocking the async for the ospi
implementation should also be dropped.
2024-12-17 14:45:52 -08:00
Dario Nieuwenhuis
2c3bc75da6
Merge pull request #3593 from bugadani/refactor
Rework time-driver contract.
2024-12-16 12:30:30 +00:00
Fabian Wolter
4b31639dca STM32F0 fix using HSI48 as SYSCLK on devices with CRS
Fixes #3651
2024-12-14 23:32:08 +01:00
Dario Nieuwenhuis
b268b1795f
Merge time-driver and time-queue-driver traits, make HALs own and handle the queue. 2024-12-13 21:20:59 +01:00
Dario Nieuwenhuis
45d9bd5757
Merge pull request #3636 from G-Levine/stm32g4-missing-opamp-output-fix
Add missing opamp external outputs for STM32G4
2024-12-13 11:26:29 +00:00
Dániel Buga
5a5495aac4
Refactor integrated-timers 2024-12-10 21:31:42 +01:00
Gabrael Levine
cfe6bc1724
Add missing opamp external outputs for STM32G4 2024-12-10 11:06:28 -08:00
Marvin Drees
a0e056a629
Update STM32U5 OTG HS clock handling
Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
2024-12-10 13:10:06 +01:00
Dave Marples
501d3942e8
Add support for stm32u595/5a5 OTG_HS in client mode 2024-12-10 10:51:28 +01:00
David Lawrence
0bec981882 STM32: bump to latest stm32-metapac
HRTIM driver is updated per https://github.com/embassy-rs/stm32-data/pull/544
2024-12-06 21:58:18 -05:00
Dario Nieuwenhuis
4acc0f84b0
Merge pull request #3274 from michelrandahl/discriminating-pins-within-tsc-group
STM32-TSC: enable discriminating between pins within same TSC group and improve TSC library in general
2024-12-03 01:11:33 +01:00
Enmanuel Parache
8d2fbf0e14 Extend set_baudrate implementation to Buffered and RingBuffered structs 2024-12-03 00:34:23 +01:00
Enmanuel Parache
32a1b232cb Fixed build error 2024-12-03 00:34:23 +01:00
Enmanuel Parache
63298e2f7c Reduced code duplication 2024-12-03 00:34:23 +01:00
Enmanuel Parache
def2601558 rustfmt 2024-12-03 00:34:23 +01:00
Enmanuel Parache
6494429a20 stm32/usart: Changing baud rate 2024-12-03 00:34:23 +01:00
Dario Nieuwenhuis
db9ad1c30c
Merge pull request #3549 from aurelj/stm32_pwm_32bits_timer
stm32/timer: avoid max_compare_value >= u16::MAX
2024-12-02 22:50:09 +00:00
Dario Nieuwenhuis
bc5e0d60b3
Merge pull request #3566 from IvanLi-CN/feat/adc-read-async-stm32g4
STM32: Implement Asynchronous ADC Reading for G4
2024-12-02 23:38:06 +01:00
Dario Nieuwenhuis
8086fc4dff
Merge pull request #3588 from elagil/fix_sai_write_immediate
Right-align `write_immediate()` in ring buffers
2024-12-02 22:05:44 +00:00
Dario Nieuwenhuis
c73a4d397d
Merge pull request #3595 from Sizurka/stm32-usart-databits
stm32/usart: Implement data bit selection
2024-12-01 21:39:27 +00:00
Derek Hageman
7d15ec921a stm32/usart: Implement data bit selection
Implement data bit size selection and add 7-bit mode.
2024-12-01 11:00:08 -07:00
Dániel Buga
efee03744e
Only recompute allocated alarms 2024-11-30 14:40:12 +01:00
Dániel Buga
fdb8ee2e8a
RTC: Trigger expired alarms 2024-11-30 14:40:12 +01:00