Commit Graph

11 Commits

Author SHA1 Message Date
Robin Müller 0ee53c70d5
add Eq auto-derives
Rust/va108xx-hal/pipeline/head This commit looks good Details
2022-09-13 10:47:11 +02:00
Robin Müller d5b12c8343
some fixes for manifest file
Rust/va108xx-hal/pipeline/head This commit looks good Details
2021-12-19 14:25:15 +01:00
Robin Müller f376a43f41
Major refactoring
Rust/va108xx-hal/pipeline/head There was a failure building this commit Details
- Improved IRQ handling, which makes most unsafe unmask operations
  in user code absolete
- Add first UART RX handlers which use an IRQ
2021-12-19 14:18:10 +01:00
Robin Müller 2de11478fb
updated all example links 2021-12-06 16:02:51 +01:00
Robin Müller 5f712b6ab7 added cascade example
- Slight change to CountDownTimer input parameter format
2021-12-06 12:39:13 +01:00
Robin Müller 779d5a94ec Timer API now macroless
- Separation of TIM reg and TIM pin IF
- Improvements of API
2021-12-05 23:00:28 +01:00
Robin Müller 9af01f3067 Added PWM implementation and example 2021-12-05 17:44:18 +01:00
Robin Müller 2a9225fda5 added blocking delay functions
- DelayUs and DelayMs trait implementations for CountDown timer
  peripherals
- Bugfix for wait function
2021-11-20 15:09:12 +01:00
Robin Müller af5a831579 Added GPIO IRQ interface, refactoring
- Adds the IRQ interface to configure interrupts on output and input pins
- Moved the `FilterClkSel` struct to the `clock` module, reexporting in `gpio`
- Added function to set clock divisor registers
- Clearing output state at initialization of Output pins
- Added utility function to set up millisecond timer
2021-11-13 14:51:24 +01:00
Robin Müller b18e32e0cc Rust edition bumped & UART implementation
- Also adds UART example
2021-11-09 18:37:52 +01:00
Robin Müller f3d71cf0f9
Timer and Clock modules added
- Clock module to set and retrieve system clock which can have
  varying frequencies. Also allows enabling peripheral clocks
- Prelude updated
- Common time types added, based on stm32f1xx HAL implementation
- Basic timer implementation added
2021-11-08 01:40:01 +01:00