Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
...
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.
with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.
to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00
jake-taf
be20c708fa
Interrupt Doc Comments
...
Support adding doc comments to interrupts
2025-05-14 09:45:20 -04:00
Michael Medin
74cb84eb4e
Moved functions to rcc module (this is a bit awkward as we now have two init functions in rcc: rcc::initand rcc::init_rcc)
2025-04-28 09:14:56 +02:00
Michael Medin
584066e209
updated cs gates for dual core
2025-04-24 11:07:15 +02:00
Michael Medin
b0519d11fb
Possible fix for unused CS and feature selections
2025-04-24 11:01:46 +02:00
Michael Medin
8661b019e6
Fixed formatting
2025-04-24 10:57:02 +02:00
Michael Medin
b2c32a947e
Updated based on feedback
2025-04-24 10:54:35 +02:00
Michael Medin
6842ced7cb
Fixed for cs not always used
2025-04-24 10:17:04 +02:00
Michael Medin
f67f11534f
Fixed formatting
2025-04-24 07:25:21 +02:00
Michael Medin
8cf8fb324c
Add function to allow re-init rcc config for stm32
2025-04-24 07:15:11 +02:00
Rick Rogers
6d384a1a39
introduce stm32h7rs xspi
2025-04-04 15:36:33 +08:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
William Spinelli
19efea195d
stm32u5: Add support for HSPI peripheral
2025-01-07 21:55:08 +01:00
Gabriel Smith
4c8ee8786f
stm32: Implement reads of DTS peripheral
...
Only PCLK-driven operation is supported.
2025-01-04 13:56:41 -05: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
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
Olof
7cf96e4730
Merge branch 'embassy-rs:main' into u5_adc
2024-12-18 01:48:25 +01:00
Gabriel Smith
bd65906d14
STM32H5xx ADC ( #3557 )
...
* stm32: Update STM32 data source
* stm32h5: Add ADC example
2024-11-21 23:23:46 +01:00
elagil
62dbdcd45a
feat: add SPDIFRX driver
2024-11-18 20:51:22 +01:00
Dario Nieuwenhuis
0de204ccd7
Fix "non-local impl definition" warning from recent nightlies.
2024-11-08 13:20:13 +01:00
Dario Nieuwenhuis
8eb80c6816
Merge pull request #3444 from dnbln/main
...
feat: allow `bind_interrupts!` to accept conditional compilation attrs
2024-10-22 15:18:35 +00:00
Dinu Blanovschi
c797915525
fix: review comments
2024-10-22 16:56:05 +02:00
Dinu Blanovschi
e9f2e63796
fix
2024-10-22 16:50:10 +02:00
Dinu Blanovschi
5c23c789ee
fix
2024-10-22 16:23:17 +02:00
Dinu Blanovschi
82a438a037
fix
2024-10-22 15:51:05 +02:00
Dinu Blanovschi
ccd635f0dc
fix + allow both conditions on the irq and the handlers
2024-10-22 15:43:28 +02:00
Dinu Blanovschi
3279c19eee
feat(stm32): allow bind_interrupts! to accept conditional compilation attrs
2024-10-22 12:30:37 +02:00
Alexandros Liarokapis
d280b23428
fix adc/ringbuffered_v2.rs
2024-10-15 12:29:12 +03:00
klownfish
3ce40f41fb
WIP: add u5 adc4
2024-09-24 19:03:20 +02:00
Romain Goyet
a1c9a2e8bd
First working draft of a lptim driver
...
This driver is able to PWM a pin
2024-09-11 01:18:52 +02:00
Alexandros Liarokapis
2b7e76efe9
Fix dma nvic issues on dual core lines
...
This commit addresses #3256 by disabling dma NVIC interrupt enablement at startup.
Instead, per-channel NVIC interrupt enablement is now done with the rest of the dma channel configuration.
This ensures that each core will only handle the interrupts of the DMA channels that it uses.
2024-08-17 16:54:41 +03:00
Dion Dokter
2a7fe16ceb
Improve shared data placement, require less atomic support and use unsafecell for the clocks
2024-08-05 11:18:16 +02:00
Dion Dokter
e39e93ead4
Improve use of CS
2024-07-09 09:56:15 +02:00
Dion Dokter
f6f312270f
fmt
2024-07-09 09:37:49 +02:00
Dion Dokter
203297b569
Make clocks repr C.
...
Add shared data.
Modify freq functions to use shared data.
Modify examples to use new init/
2024-07-08 16:54:06 +02:00
Dario Nieuwenhuis
694ac3a515
Merge pull request #2992 from liarokapisv/i2s-spi_v3
...
Add spi v3 & Full-duplex support to the I2S driver.
2024-05-30 12:31:59 +00:00
Alexandros Liarokapis
25cc5241b1
Add i2s support for spi_v3.
2024-05-27 18:06:20 +03:00
Jan Špaček
081afca3f0
stm32/rcc: replace generated enable/disable code with runtime info
2024-05-25 18:44:55 +02:00
Dario Nieuwenhuis
ae49e58993
Merge pull request #2777 from taunusflieger/feature/HSEM
...
HSEM support for embassy-stm32
2024-05-21 21:34:50 +00:00
Michael Zill
7d350fb4c8
HSEM support for embassy-stm32
2024-05-21 23:08:44 +02:00
Dario Nieuwenhuis
2d8ec70f71
Merge pull request #2853 from nautd/kkoppul2/tsc
...
TSC implementation
2024-05-21 20:55:41 +00:00
Karun
253f6c42ee
Address versioning and format issues raised by CI
2024-05-02 17:17:39 -04:00
Karun
0febc24de7
Initial fill out of driver without IO considerations
2024-05-02 17:17:38 -04:00
Joël Schulz-Ansres
f468d84a5b
Cargo format
2024-05-02 13:50:07 +02:00
Joël Schulz-Ansres
9fe50a7639
Add stm32 dsihost driver
2024-05-02 13:43:42 +02:00
Dario Nieuwenhuis
fb67fe0a6c
stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.
2024-05-01 02:24:45 +02:00
Dario Nieuwenhuis
09a284e959
stm32: rename mod traits to macros.
2024-04-15 21:52:40 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00