Tom
6b2ffaa650
Merge pull request #38 from HarkonenBade/RCC-fixes
...
Add fixes to RCC code for plain builds
5 years ago
HarkonenBade
626d8960e7
Add fixes to RCC code for plain builds
5 years ago
David Sawatzke
083323b110
Add more spi documentation
5 years ago
Ze'ev Klapow
23be76c14c
RCC: Add ability to use HSE clock source ( #25 )
...
* allow enabling hse
* enable hse pll src correctly
* fix build + warning
* rusfmt
* updated CHANGELOG
5 years ago
Jesse Braham
6f13445bfc
Add support for the STM32f091 ( #35 )
...
* Add GPIO support for the stm32f091
* Implement RCC, Serial and Timers for stm32f091
* Implement ADC, I2C and SPI for stm32f091
* Add STM32F091 to Travis config, CHANGELOG and README
5 years ago
Yatekii
7da190e507
Added definitions for the stm32f072xx chips ( #31 )
...
* Fixed wrong gpio definitions with #[cfg(any(feature = "stm32f030", feature = "stm32f070"))]
* Added definitions for the 072 series
5 years ago
Daniel Egger
bc723e1437
More rubost error handling for I2C
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
david-sawatzke
f729f7e4df
Allow multi delay instances for the systick timer ( #23 )
...
* Fix typo from #21
* Implement shareable systick
* Fix it, so downcounting is expected & add overflow guards
* Add changelog entry for multi-delay
5 years ago
Daniel Egger
f55163cd5c
Ran rustfmt on the code
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
Daniel Egger
4c81088ce5
Added interupt enabling/disabling support to USART ports
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
Mike Panetta
1924bb15cc
Stm32f04x additions for RCC ( #17 )
...
Some new logic to select clock source
5 years ago
Daniel Egger
3691709340
Adressed a few clippy lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
Tom
f6155f99a5
Initial test implementation of ADC helper functions ( #22 )
...
Added ADC helper functions to read more intuitive values
Co-Authored-By: HarkonenBade <github@harkonen.net>
5 years ago
Daniel Egger
ef855a0829
Added "device-selected" meta-feature and simplified feature gates
...
Also reworked some use statements to reduce amount of meta code
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
HarkonenBade
0fa7a2012a
Implementation of ADC interface
...
Base implementation of ADC functionality according to the embedded hal
traits for `Channel` and `OneShot`. Also provides references for
converting the internal temperature sensor and voltage reference values,
also the VBat reference where available.
Closes #11 .
5 years ago
David Sawatzke
2f486c62c6
Add documentation about systick to delay & timers
5 years ago
David Sawatzke
3dd342e536
Implement larger delays
5 years ago
David Sawatzke
0c4a1dbc49
Add Send & Sync impls for Pin
...
With reasons why it's safe to do so
5 years ago
Daniel Egger
97128234d7
Applied a healthy dose of warning cleanup
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
Daniel Egger
108319ff13
Merge pull request #12 from david-sawatzke/iwdg
...
Add a watchdog implementation
5 years ago
David Sawatzke
6a02615074
Read the whole iwdg sr at once
...
It's more efficient
5 years ago
David Sawatzke
02c01cd7e0
Implement watchdog
...
With example and doc comments
5 years ago
Daniel Egger
1ed311cd62
impl Send for serial Rx and Tx abstractions
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
5 years ago
Jesse Braham
a07539737e
Implement I2C for STM32F070 devices
5 years ago
Jesse Braham
4e1e98aa23
Implement SPI for STM32F070 devices
5 years ago
Jesse Braham
982b5039dd
Re-implement Serial for STM32F070 devices following merge
5 years ago
Jesse Braham
8c48095e32
STM32F070X6 devices do not have TIM6, TIM7 and TIM15
5 years ago
Jesse Braham
16bd62ea2b
Merge branch 'master' into stm32f070-support
5 years ago
David Sawatzke
5f7e6a60cd
Rework timers so there are no warnings
5 years ago
David Sawatzke
2aa1d1b944
Generalize i2c and port to i2c2
5 years ago
David Sawatzke
a51bb0eeea
Add pins for SPI2
5 years ago
David Sawatzke
78b252ada4
Fix the rustc crash and other things
5 years ago
David Sawatzke
14aab2a12c
Implement multiple spi instances (BROKEN)
5 years ago
David Sawatzke
ad830af23c
Remove unecessary serial pin restriction
5 years ago
David Sawatzke
527f182154
Implement single pin trait based AF for SPI
5 years ago
David Sawatzke
f1f2b32a5e
Implement single pin trait based AF for I2C
5 years ago
David Sawatzke
928fd640c3
Settle PB10
...
Found a way to confirm binding
5 years ago
David Sawatzke
0e03a324c7
Adjust note for confusing pin
5 years ago
HarkonenBade
e5f7a2c5be
Make USART pins macro more flexible
5 years ago
David Sawatzke
b8ec4e4957
Enable usart6, since stm32f0 crate was updated
5 years ago
David Sawatzke
4d5f926c6d
Add serial single pin traits and implement all af pins
5 years ago
David Sawatzke
f3fe126634
Enable gpiod, since stm32f0 crate was updated
5 years ago
David Sawatzke
1c21cc7cd9
Add some documentation to serial
5 years ago
David Sawatzke
a26e44c6d4
Use macros for initalization code
5 years ago
David Sawatzke
d059c11b3b
Enable macro less implementations of multiple usarts
5 years ago
David Sawatzke
66b869d0d1
Add i2c for stm32f030 (incomplete)
5 years ago
David Sawatzke
b724b526e8
Add spi for stm32f030 (incomplete)
5 years ago
Jesse Braham
12c9bda4a8
Format timers
5 years ago
Jesse Braham
bc4e0d101b
Implement Serial for the STM32F070
5 years ago
Jesse Braham
7ae024ed43
Implement RCC and Timers for STM32F070
5 years ago