muellerr
cbc7c88112
Added SPI implementation
...
- First SPI HAL implementation for blocking mode
- Added example for SPI as well which uses loopback mode
and regular mode
2021-11-20 23:57:08 +01:00
muellerr
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
muellerr
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
muellerr
04830087da
GPIO optimization and tweaks
...
- Some functions marked inline
- Doc updated
2021-11-11 20:01:40 +01:00
muellerr
6c9d9f7dfa
smaller tweaks and updates
2021-11-11 18:18:40 +01:00
muellerr
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
muellerr
47e64c2606
Merge branch 'main' of https://github.com/robamu-org/va108xx-hal-rs
2021-11-09 19:32:12 +01:00
muellerr
93bbfaae8b
updated cross-link to BSP
2021-11-09 19:32:00 +01:00
muellerr
b18e32e0cc
Rust edition bumped & UART implementation
...
- Also adds UART example
2021-11-09 18:37:52 +01:00
muellerr
c51bc6cb2f
Merge remote-tracking branch 'origin/main' into mueller/test-examples-ci
2021-11-08 11:30:58 +01:00
muellerr
811cc4d022
Testing examples in CI
2021-11-08 11:30:27 +01:00
muellerr
ed4ba39207
Added proper README
...
- Also contains new simple blinky example
- Small CI update
2021-11-08 11:06:25 +01:00
muellerr
cf1d8ff113
Merge remote-tracking branch 'origin/main' into mueller/rtt-example
2021-11-08 10:08:10 +01:00
muellerr
e2df601d66
added RTT example app
2021-11-08 10:05:39 +01:00
muellerr
40a073d6c4
Added tests example
2021-11-08 10:04:08 +01:00
muellerr
41a3682a4e
update changelog
2021-11-08 01:44:44 +01:00
muellerr
0d935dae50
added timer example code
2021-11-08 01:43:02 +01:00
muellerr
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
muellerr
8f56468a1e
update toml file
2021-11-08 01:34:09 +01:00
muellerr
c9052285bb
ignoring Cargo.lock now
2021-11-08 01:32:39 +01:00
muellerr
ee9c8c607b
use x-compile in ci now
2021-11-08 01:26:58 +01:00
muellerr
710ca71ba3
added utility files
2021-11-08 01:14:25 +01:00
muellerr
f153732fcc
applied cargo fmt
2021-11-08 01:04:00 +01:00
muellerr
2750dbffd3
added license files
2021-11-08 01:03:06 +01:00
muellerr
021efc5a5a
Update GPIO code
2021-11-08 01:01:44 +01:00
muellerr
a463332d58
optimize for size by default
2021-11-06 17:10:06 +01:00
muellerr
1e1b7f3c9f
fix prelude naming
2021-11-06 16:19:38 +01:00
muellerr
9020fc92d0
Refactored parts of the GPIO implementation
2021-11-06 16:16:53 +01:00
muellerr
9181e61e70
Added first GPIO implementation
...
- First GPIO implementation based on the stm32f0xx amd stm32f1xx
HAL implementations for the HAL module
2021-11-06 01:27:04 +01:00
muellerr
b58458d448
added CI and changelog
2021-11-06 01:13:48 +01:00
muellerr
b0686ee943
Merge branch 'main' of https://github.com/robamu/va108xx-hal-rs
2021-11-03 23:12:47 +01:00
muellerr
3ae5b0e27d
init commit
2021-11-03 23:11:59 +01:00