aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/timer
Commit message (Collapse)AuthorAgeFilesLines
...
* stm32/afio: make af_num() unavailable in afio chips.Dario Nieuwenhuis2025-09-066-32/+16
|
* stm32/afio: make the A generic param only appear in chips with AFIO.Dario Nieuwenhuis2025-09-056-42/+56
|
* stm32/afio: use type inference for timer remaps as well.Dario Nieuwenhuis2025-09-057-154/+72
|
* Add STM32F1 AFIO remapFabian Wolter2025-09-057-32/+103
|
* Merge pull request #4368 from nikvoid/stm32-complementary-pwm-dmaDario Nieuwenhuis2025-09-051-0/+60
|\ | | | | stm32: add `waveform_up` function for complementary PWM too
| * stm32: add `waveform_up` function for complementary PWM toonikvoid2025-07-161-0/+60
| |
* | Added timer set polarity functions for main and complementary outputs ↵r.marple2025-09-031-0/+10
| | | | | | | | individually
* | Remove unrelated cahngesJakob2025-08-101-15/+1
| |
* | Adjust which methods should have mut reference to self. Change ↵Jakob2025-08-101-19/+18
| | | | | | | | set_output_idle_state to accept channel iterator as input
* | Add enum for IdlePolarity to make interface clearer for ↵Jakob2025-08-101-7/+17
| | | | | | | | set_output_idle_state method
* | Change method arugments to be non-mutableJakob2025-08-101-6/+6
| |
* | Add get methods for meo, ossi and ossrJakob2025-08-102-0/+30
| |
* | Add methods for setting ossi, ossr, osi and oisn along with software trigger ↵Jakob2025-08-102-1/+69
| | | | | | | | for break input
* | Merge pull request #4302 from Jacke-debug/get_max_duty_off_by_oneDario Nieuwenhuis2025-07-241-2/+10
|\ \ | | | | | | | | | Get max duty off by one for Center-aligned mode
| * | Also update the AdvancedInstace4Channel versionJakob2025-06-111-1/+5
| | |
| * | Add separate case for center aligned modeJakob2025-06-111-1/+5
| | |
| * | Remove incorrect addition of 1 to get_max_dutyJakob2025-06-111-1/+1
| | |
* | | Merge pull request #4303 from Jacke-debug/autoreload_preloadDario Nieuwenhuis2025-07-241-0/+1
|\ \ \ | |_|/ |/| | | | | Enable autoreload_preload for Complementary PWM
| * | Enable autoreload_preload for complementary PWMJakob2025-06-111-0/+1
| |/
* | fix typodimi2025-07-091-1/+1
| |
* | correct documentationSüha Ünüvar2025-06-271-1/+1
| |
* | rename fns and add documentationSüha Ünüvar2025-06-271-2/+7
| |
* | run cargo fmtmelvdl2025-06-272-2/+2
| |
* | stm32: rename timer channel trait; replace impls via macro with impls ↵melvdl2025-06-278-274/+241
| | | | | | | | generic over timer channels
* | stm32: generify timer::one_pulse and timer::qei pin constructorsmelvdl2025-06-262-44/+86
| |
* | stm32: generify timer channelsmelvdl2025-06-268-219/+279
|/
* doc: update documentation to pass testRaulIQ2025-05-221-2/+0
|
* format simple_pwm.rs with rustfmtRaulIQ2025-05-221-4/+3
|
* improve waveform_up_multi_channel documentationRaulIQ2025-05-211-1/+19
|
* add waveform_up_multichannel using DMAR/DCRRaulIQ2025-05-211-0/+68
|
* derive debug copy clone defmt for pwmpinconfigSüha Ünüvar2025-05-071-0/+2
|
* Test for dead-time computation correctedEkaterina Savelyeva2025-04-251-1/+1
|
* Dead-time computation in complementary PWM fixed (missing DTG msbs added)Ekaterina Savelyeva2025-04-251-3/+3
|
* stm32/timer: update OPM to Peri API.Dario Nieuwenhuis2025-04-061-9/+8
|
* Merge pull request #4044 from yodaldevoid/stm32-opm-timerDario Nieuwenhuis2025-04-065-14/+426
|\ | | | | STM32: One pulse mode timer
| * stm32/timer: Support one pulse modeGabriel Smith2025-04-043-0/+415
| | | | | | | | | | Currently does not support output pins so it really is only useful to create delayed interrupts based on external signals.
| * stm32/timer: Merge channel typestate structsGabriel Smith2025-04-043-14/+11
| |
* | Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-277-81/+40
|/
* Fixed documentationMatt Allen2025-03-061-1/+1
|
* Added gpio version specific codeMatt Allen2025-03-061-6/+16
|
* Added function to channel_impl to allow full configuration of the pinMatt Allen2025-03-051-1/+28
|
* Merge pull request #3704 from CNLHC/pwm_support_gp32Dario Nieuwenhuis2025-01-212-13/+34
|\ | | | | | | feat: Add 32-bit timer support for waveform function
| * refactor: update DMA transfer functions to support separate memory and ↵Liu Hancheng2025-01-041-1/+3
| | | | | | | | peripheral word types
| * refactor: simplify timer bits handlingLiu Hancheng2025-01-041-5/+3
| |
| * refactor: update DMA transfer functions to use separate memory and ↵Liu Hancheng2025-01-041-17/+9
| | | | | | | | peripheral sizes
| * dev: change name to bitsLiu Hancheng2025-01-022-2/+2
| |
| * refactor: exclude stm32l0 for 32bit timer branchLiu Hancheng2025-01-011-0/+1
| | | | | | | | Signed-off-by: Liu Hancheng <[email protected]>
| * doc: add doc for timer get_bits fnLiu Hancheng2025-01-011-0/+1
| |
| * refactor: change import styleLiu Hancheng2025-01-011-2/+1
| |
| * docs: Update PWM waveform function documentation for data alignmentLiu Hancheng2025-01-011-1/+4
| |