Commit Graph

15 Commits

Author SHA1 Message Date
Robin Müller e9f1294572
clippy did not find this..
Rust/va108xx-hal/pipeline/head This commit looks good Details
2022-09-14 11:19:19 +02:00
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 fb158caf6e
HAL update
Rust/va108xx-hal/pipeline/head This commit looks good Details
Rust/va108xx-hal/pipeline/pr-main This commit looks good Details
- SPI: Clear TX and RX FIFO for transfers
- Added `port_mux` function to manually select function for pins
2021-12-12 14:21:49 +01:00
Robin Müller 2de11478fb
updated all example links 2021-12-06 16:02:51 +01:00
Robin Müller 9af01f3067 Added PWM implementation and example 2021-12-05 17:44:18 +01:00
Robin Müller 7dae33e7ca Merge remote-tracking branch 'origin/main' into develop 2021-12-02 11:55:40 +01:00
Robin Müller 283d9d5991 Doc fixes and SPI block mode support
- Various smaller fixes for documentation
- Added support for SPI blockmode
2021-11-21 14:04:17 +01:00
Robin Müller c07d937c12
added a few inline always directives 2021-11-13 18:58:24 +01:00
Robin Müller de0e000af3
tiny doc tweak 2021-11-13 15:03:50 +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 04830087da GPIO optimization and tweaks
- Some functions marked inline
- Doc updated
2021-11-11 20:01:40 +01:00
Robin Müller 6c9d9f7dfa
smaller tweaks and updates 2021-11-11 18:18:40 +01:00
Robin Müller 63be6ed5fe Refactored GPIO module
- The GPIO module uses type-level programming now
- Implementation heavily based on the ATSAMD GPIO HAL:
  https://docs.rs/atsamd-hal/0.13.0/atsamd_hal/gpio/v2/index.html
- Changes to API, but no passing of peripheral references necessary
  anymore. All examples and tests updated accordingly
2021-11-11 17:39:26 +01:00