- May 24, 2023
-
-
Vadim Kaushan authored
features: adds `rt` feature for gd32vf103-pac/rt
-
rmsyn authored
Adds a `rt` feature to allow users to opt-in to using the `gd32vf103-pac/rt` feature. This exposes the `interrupt` macro, allowing users to define functions for system interrupts. This is preferable to using inline assembly to include the code in `eclic-mode-hack.S` which causes symbol collisions with user-defined interrupt functions, and strange bugs for handler execution.
-
- Oct 24, 2021
-
-
Vadim Kaushan authored
Fix unsatisfied bound
-
- Oct 23, 2021
-
-
Tact Yoshida authored
-
- Sep 04, 2021
-
-
Daniel Hayes authored
Bump version and note changes in CHANGELOG.md
-
dkhayes117 authored
-
Daniel Hayes authored
Add ADC driver
-
- Aug 31, 2021
-
-
Daniel Hayes authored
Restrict pwm to channel
-
- Aug 27, 2021
-
-
Stéphane Clérambault authored
The PWM duty cycle could be changed on-the-fly. It is not necessary to disable and then enable the channel. That avoid some "missing" PWM cycle during the change. Now enabling the channel explicitly is mandatory to get an output. Fix #30
-
Stéphane Clérambault authored
On GD32V103f there is 4 types of remaps for PWM. Not all timers are able to be configured with this 4 remaps types. Also it is not possible to deduce the Remap type with the pins used (e.g TIMER0). The implementation works with an intermediate trait Pins<TIMER, REMAP> which is implemented for all compatibles tuples of gpio::P** for the specified couple TIMER, REMAP. ```rust // ... let mut pwm_t0 = PwmTimer::<TIMER0, NoRemap>::new( timer0, (None, Some(&pa9), Some(&pa10), None), &mut rcu, &mut afio ); // ... pwm_t0.set_duty(Channel::CH1, 100); ```
-
- Aug 21, 2021
-
-
Daniel Hayes authored
Add CHANGELOG.md file
-
- Aug 20, 2021
-
-
dkhayes117 authored
-
dkhayes117 authored
-
- Aug 07, 2021
-
-
Vadim Kaushan authored
Replaced unreachable!() with panic!()
-
jeancf authored
-
Vadim Kaushan authored
Added Spi::change_clock_frequency()
-
jeancf authored
-
jeancf authored
-
- May 21, 2021
- Feb 07, 2021
-
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
Add support for DMA
-
- Dec 27, 2020
-
-
Vadim Kaushan authored
Port I2C fixes from STM32F1xx HAL.
-
Karol Harasim authored
-
- Nov 26, 2020
-
-
Karol Harasim authored
-
- Nov 25, 2020
-
-
Karol Harasim authored
-
- Nov 03, 2020
-
-
Vadim Kaushan authored
Use cchp.oaen bit to enable automatically all TIMER0 PWM channels.
-
Stéphane Clérambault authored
For advanced timers, an additional bit needs to be set to enable all outputs (CCPH.POEN). This bit is used handle the break function. Here we use the CCHPH.OAEN bits which allow automatic modification of POEN.
-
- Nov 02, 2020
-
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
Vadim Kaushan authored
-
- Jun 22, 2020
-
-
Vadim Kaushan authored
Add exti support
-
Xiao Qin authored
Exti for configuring external interrupt from GPIO pins as well as some interrupt sources coming from other peripherals (LVD, RTC, USB)
-
- Jun 20, 2020
-
-
Xiao Qin authored
`extiss()` added in Afio for configuring exti source selction register
-