aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rng.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Added recommended HTCR0 value to WBA6 RNGGerzain Mata2025-12-151-1/+24
|
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* Merge pull request #4476 from rursprung/impl-Debug-for-DelayUlf Lilleengen2025-07-291-7/+13
| | | | `embassy-time`: add missing `Debug` & `defmt::Format` derives
* Add rand-core v0.9 support.Dario Nieuwenhuis2025-05-181-17/+47
| | | | Co-Authored-By: Aurélien Jacobs <[email protected]>
* Impl Drop for stm32 RngTobias Naumann2025-05-161-0/+9
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-6/+5
|
* chore: fix buildelagil2025-01-031-4/+4
|
* Add Clone and Copy to Error typesdvdsk2024-06-061-1/+1
| | | | | None of them are `non-exaustative`, they are all small enough to be copy (I estimate none are larger than 4 bytes).
* stm32/rcc: replace generated enable/disable code with runtime infoJan Špaček2024-05-251-2/+2
|
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-8/+5
|
* stm32: doc everything else.Dario Nieuwenhuis2023-12-191-0/+1
|
* stm32: more docs.Dario Nieuwenhuis2023-12-191-0/+1
|
* stm32: more docs.Dario Nieuwenhuis2023-12-181-1/+14
|
* stm32/rng: add test.Dario Nieuwenhuis2023-10-161-1/+1
|
* enable clock firstpbert2023-10-121-1/+1
|
* STM32: combine RccPeripherals reset() and enable() to reset_and_enable()pbert2023-10-121-2/+1
|
* Add some uncontroversial derives to Error typesJames Munns2023-10-061-0/+1
|
* stm32: avoid useless endian conversion in rngLoïc Damien2023-10-021-2/+2
|
* stm32: fix wait for RNG dataOlle Sandberg2023-08-281-21/+25
| | | | | | | If no data was available to read then the loop would wait for an interrupt and skip to the next chunk without writing the current one. This could cause the given slice to only be partially filled with random data. Fixed by moving the wait to before actually writing data to the chunk.
* fix rng ced toggling sequence on reset.Lucas Granberg2023-08-101-3/+8
|
* stm32/rng: use bind_interrupts!.Dario Nieuwenhuis2023-07-311-52/+34
|
* improve RNG pollingJan Christoph Bernack2023-07-301-39/+66
|
* add RNG conditioningJan Christoph Bernack2023-07-301-0/+33
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-25/+19
|
* Add `rt` feature to HALs, cfg out interrupt handling when not set.Dario Nieuwenhuis2023-06-081-0/+2
|
* rustfmtLucas Granberg2023-02-091-1/+2
|
* Use rng_v2 cfg instead of chip specific for seed error recover hackLucas Granberg2023-02-091-2/+1
|
* hack for STM32WL, rcc reset in case of seed errorLucas Granberg2023-02-081-0/+5
| | | | | The STM32WL series has a more complicated rng device that gets stuck when there is a seed error.
* Reset rng in case of clock or seed errorLucas Granberg2023-02-081-2/+4
|
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-221-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-1/+1
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-5/+5
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-8/+3
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-3/+2
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-1/+1
| | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
* stm32: move macrotables to embassy-stm32 build.rsDario Nieuwenhuis2022-02-261-2/+2
|
* Add missing `+ 'd` on unborrows.Dario Nieuwenhuis2022-02-101-6/+11
|
* traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.Dario Nieuwenhuis2022-01-271-50/+40
|
* Remove unneeded rustfmt::skipUlf Lilleengen2021-12-161-2/+4
|
* embassy: Refactor module structure to remove kitchen-sink `util`.Dario Nieuwenhuis2021-09-111-1/+2
|
* Rename Random impl to Rng.Bob McWhirter2021-09-011-27/+5
| | | | Create Random struct providing next_x(range) for all T:Rng.
* Move random utils to another trait.Bob McWhirter2021-08-301-0/+2
|
* Add a convenience next(range) to Rng.Bob McWhirter2021-08-271-0/+20
|
* Fixes #374: Ensure Rng's error is defmt-able.Bob McWhirter2021-08-261-0/+1
|
* stm32: add missing `+ 'a` bounds on trait GATsDario Nieuwenhuis2021-08-041-1/+1
|
* Rename embassy-extras to embassy-hal-commonDario Nieuwenhuis2021-07-291-1/+1
|
* Enable clock for RNGUlf Lilleengen2021-06-091-1/+3
|
* General clean-up and removal of dead code.Bob McWhirter2021-06-031-28/+0
|