aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g4/src/bin
Commit message (Collapse)AuthorAgeFilesLines
* Reverted adding AnyBinding, removed AnyChannel, removed ability for ↵WillaWillNot2025-11-221-6/+1
| | | | ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information
* Fixed broken examples/formatting reported by CIWillaWillNot2025-11-211-2/+1
|
* Updated documentation, fixed EXTI definition issues with chips that have ↵WillaWillNot2025-11-211-2/+14
| | | | touch sensing, updated examples, added generation of convenience method to bind_interrupts for easier type erasure
* stm32/adc: extract into commonxoviat2025-11-125-10/+13
| | | | add common low-level interface for adc
* adc: seal special channelsxoviat2025-11-111-0/+5
|
* adc: cleanup g4xoviat2025-11-111-3/+3
|
* adc: remove sample_time from structxoviat2025-11-103-6/+3
|
* fmt againJakob2025-11-071-1/+1
|
* cargo fmtJakob2025-11-071-2/+3
|
* Rework how sequences ADC are specified. Update documentation in g4. ↵Jakob2025-11-071-8/+9
| | | | Carefully chose which methods to expose publicly
* consume regular ringbufxoviat2025-11-051-6/+12
|
* Create raii wrapper for injected conversionsJakob2025-11-051-18/+20
|
* Remove unused import from exampleJakob2025-11-041-1/+1
|
* Implement into_ring_buffered for g4. Add methods for configuring injected ↵Jakob2025-11-042-2/+146
| | | | sampling for g4.
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-067-10/+10
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-291-2/+2
|
* revert deleted importSüha Ünüvar2025-08-081-0/+1
|
* rustfmtSüha Ünüvar2025-08-081-2/+2
|
* i2c examplesSüha Ünüvar2025-08-081-5/+4
|
* stm32: adapt examples to timer API changesmelvdl2025-06-271-1/+1
|
* merge new embassy changesjrmoulton2025-06-106-16/+174
|\
| * Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-1/+1
| |
| * Remove manual settings of `composite_with_iads=true`Eekle2024-12-241-5/+0
| |
| * stm32 adc g4: example of async readIvan Li2024-11-231-0/+60
| | | | | | | | Signed-off-by: Ivan Li <[email protected]>
| * Merge pull request #3317 from GrantM11235/simplepwmchannelUlf Lilleengen2024-10-231-10/+9
| |\ | | | | | | | | | embassy-stm32: Add SimplePwmChannel
| | * last oops I promiseGrant Miller2024-09-061-2/+1
| | |
| | * Update examplesGrant Miller2024-09-061-9/+9
| | |
| * | Merge pull request #3169 from Adancurusul/g4_devDario Nieuwenhuis2024-09-102-0/+104
| |\ \ | | | | | | | | | | | | Add adc oversampling and adc differential for g4
| | * | Add oversampling and differential for g4Chen Yuheng2024-07-112-0/+104
| | |/
| * / [UCPD] Add support for non-SOP packetsSjoerd Simons2024-08-181-1/+1
| |/ | | | | | | | | | | | | | | Allow capturing (and distinguishing) non-SOP packets as well. The default configuration will just configure SOP packets. For ease of use the default receive function signature is unchanged as for PD sinks (which is likely the common usage) just SOP is enough so no need to differentiate.
* / add stm32 i2c slave examplejrmoulton2024-08-131-0/+149
|/
* stm32 adc: introduce blocking_readAndres Vahter2024-07-031-1/+1
|
* fixed: example loops crashing after 256 passesPeter Kövesdi2024-04-291-2/+2
|
* Reduce use of the full `futures` crate.Dario Nieuwenhuis2024-04-261-1/+1
|
* examples: stm32: can: fix buildTorin Cooper-Bennun2024-04-221-2/+2
|
* stm32/adc: update g4 for new pac.Dario Nieuwenhuis2024-04-141-1/+1
|
* stm32: update adc examplesAndres Vahter2024-04-101-2/+2
|
* CAN: Unify API's between BXCAN and FDCAN. Use Envelope for all read methods ↵Corey Schuhen2024-03-281-12/+17
| | | | instead of a tuple sometimes.
* usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-231-2/+0
|
* [UCPD] Enable dead-battery support in exampleTimo Kröger2024-03-141-2/+3
|
* [UCPD] Take interrupt in constructor and enable itTimo Kröger2024-03-141-2/+6
|
* [UCPD] Split into CC and PD phyTimo Kröger2024-03-121-8/+9
| | | | | PD3.0 spec requires concurrent control of CC resistors for collision avoidance. Needed to introduce some "ref counting" (its just a bool) for drop code.
* [UCPD] Improve example and defmt Format for enumsTimo Kröger2024-03-121-2/+9
|
* [UCPD] Combine RX and TXTimo Kröger2024-03-121-1/+1
| | | | | | | | `select(rx.receive(), tx.transmit()` had subtle interrupt enable race conditions. Combine receiver and transmitter into one new `PdPhy` struct to disallow the problematic pattern. Scanning through the USB PD 2.0 specification there is no need to have RX and TX running concurrently (after all the USB PD communication is half-duplex).
* [UCPD] Prepare for PD communication implementationTimo Kröger2024-03-121-1/+14
|
* [UCPD] Improve Type-C CC handlingTimo Kröger2024-03-121-7/+5
| | | | | | * Improved interrupt handling: Clear flags in ISR, check state change in future * Disable pull-up/pull-down resistors and voltage monitor on drop * nightly rustfmt
* [UCPD] Configuration Channel (CC) handlingTimo Kröger2024-03-121-0/+62
|
* stm32/rcc: g4: consistent PllSource, add pll pqr limits, simplify a bit.Dario Nieuwenhuis2024-03-044-18/+17
|
* Merge pull request #2646 from cschuhen/feature/wake_tx_on_buffered_pushDario Nieuwenhuis2024-03-011-1/+5
|\ | | | | | | Give CAN a kick when writing into TX buffer via sender.
| * Writing to TX buffer also needs to fire an interrupt to kick off ↵Corey Schuhen2024-03-021-1/+5
| | | | | | | | | | | | transmission if it is idle. Formatting