aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/usart/ringbuffered.rs
Commit message (Collapse)AuthorAgeFilesLines
* stm32: allow granular stop for uartxoviat2025-11-251-0/+3
|
* remove csxoviat2025-10-301-13/+10
|
* stm32/uart: fix rb uart racexoviat2025-10-291-9/+4
| | | | closes #4682
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-4/+4
|
* STM32: USART: Change eager_reads from bool to Option<usize>Adam Greig2025-10-011-8/+22
|
* STM32: USART: Add `eager_reads` config optionAdam Greig2025-10-011-44/+60
|
* fix: buildelagil2025-09-051-2/+2
|
* feat: add new_with_table() initializer for ring-buffers and removal of ↵etiennecollin2025-09-051-3/+2
| | | | | | | | | | | | | | | | RegisterUpdaters - It is now possible to pass a linked-list table to the ring-buffer with the `new_with_table()` function or use the `new()` function for a basic ring-buffer setup. - A `simple_ring_buffer_table()` function was added to the read and write ring-buffers to generate the same table as the one created by `new()` in case the user only wants to customize the default table options. - RegisterUpdaters have been removed as the user now has direct access to the table and its items if needed. See: https://github.com/elagil/embassy/pull/1#issuecomment-2891997294
* feat: custom dma configuration using RegisterUpdaters structetiennecollin2025-09-051-1/+2
| | | | | See this PR comment: https://github.com/embassy-rs/embassy/pull/3923#issuecomment-2889283939
* fix: modified dma channel state managementetiennecollin2025-09-051-1/+1
| | | | | See https://github.com/embassy-rs/embassy/pull/3923#discussion_r2094570176
* feat: wip, write buffer in halveselagil2025-09-051-1/+1
|
* Move new documentation to RingBufferedUartRx struct.Kevin P. Fleming2025-05-241-56/+62
|
* stm32: Expand documentation of RingBufferedUartRx.Kevin P. Fleming2025-05-241-8/+65
| | | | | | | | 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'.
* fix(stm32): handle half-duplex in ringbuffered readBadr Bouslikhin2025-04-061-0/+10
|
* Merge branch 'main' into fix/ringbuffered-error-handling to resolve merge ↵Tobias Naumann2025-03-311-3/+3
|\ | | | | | | conflicts
| * Merge pull request #3968 from ↵Ulf Lilleengen2025-03-311-11/+38
| |\ | | | | | | | | | | | | | | | embedded-rust-iml/feature/ringbuffered-embedded-hal-nb Add embedded_hal_nb::serial::Read impl for RingBufferedUartRx
| * | Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-3/+3
| | |
* | | Fix unused importsTobias Naumann2025-03-271-6/+2
| | |
* | | Check and clear idle and error flags togetherTobias Naumann2025-03-211-40/+39
| | |
* | | Use write closure to clear idle flag, only read rdr on usart versions which ↵Tobias Naumann2025-03-211-7/+6
| |/ |/| | | | | need it
* | Add embedded_hal_nb::serial::Read impl for RingBufferedUartRxTobias Naumann2025-03-211-11/+38
|/
* Recover from errors in ringbuffered usartTobias Naumann2025-03-201-5/+10
|
* fixRogan Morrow2025-02-281-3/+1
|
* fixRogan Morrow2025-02-281-2/+3
|
* add missing moduleRogan Morrow2025-02-281-0/+1
|
* feature flagRogan Morrow2025-02-281-3/+6
|
* only clear idle flagRogan Morrow2025-02-281-1/+3
|
* Extend set_baudrate implementation to Buffered and RingBuffered structsEnmanuel Parache2024-12-031-1/+8
|
* stm32/uart remove DmaUnsynced from public apidvdsk2024-10-261-1/+8
| | | | | | Its an internal error which should never be exposed. It should only occur with wrong driver implementations. We log to the user and return an Overrun error since handling DmaUnsynced as an Overrun will resolve it.
* stm32/uart impl ReadReady for RingbufferdUartdvdsk2024-10-231-0/+11
|
* stm32: fix ringbugger overrun errors due to bad dma wrap-around behaviorAlexandros Liarokapis2024-10-151-1/+0
|
* stm32: Start DMA before clearing, avoid panic in updater ringbuffer implPeter Krull2024-09-191-1/+1
|
* stm32: Only check errors on running RingBufferedUartRx, reduce number of ↵Peter Krull2024-09-191-30/+19
| | | | small one-time functions
* stm32: Added request_pause to DMA, and use it for RingBufferedUartRxPeter Krull2024-09-191-1/+1
|
* fix(stm32): reorder dma and idle futuresBadr Bouslikhin2024-09-061-17/+17
|
* stm32/usart: disconnect pins of RingBufferedUartRx on dropJan Špaček2024-06-011-0/+10
|
* stm32/usart: remove instance generic paramsJan Špaček2024-05-231-28/+29
|
* Don't teardown during reconfigureScott Mabin2024-05-221-2/+1
|
* Reduce use of the full `futures` crate.Dario Nieuwenhuis2024-04-261-1/+1
|
* stm32/usart: remove DMA generic params.Dario Nieuwenhuis2024-04-161-8/+12
|
* stm32/dma: add AnyChannel, add support for BDMA on H7.Dario Nieuwenhuis2024-02-241-11/+9
|
* stm32/usart: Add doc links to buffered uartsGrant Miller2024-02-031-0/+2
|
* Documented usart public APIBarnaby Walters2023-12-191-2/+5
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-1/+1
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-23/+15
|
* stm32 uart: use ConfigError instead of () as errorAndres Vahter2023-10-241-3/+3
|
* make set_config concrete methods public againScott Mabin2023-10-121-1/+1
|
* stm32: update set_configxoviat2023-10-011-3/+4
|
* stm32/usart: return error instead of panicking on bad baudrate.Dario Nieuwenhuis2023-09-261-3/+3
|
* stm32: Implement `set_config` for Uart structsScott Mabin2023-09-171-1/+15
|