Skip to content

Commit

Permalink
Add DAC, UART4, UART5 clock in RCC for the f103 high density line (#318)
Browse files Browse the repository at this point in the history
* Add DAC, UART4, UART5 clock in RCC for the f103 high density line
  • Loading branch information
AndreySmirnov81 authored Apr 6, 2021
1 parent 01482ef commit 19af481
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Support for OpenDrain pin configuration on SPI CLK and MOSI pins
- LSB/MSB bit format selection for `SPI`
- Support for CAN peripherals with the `bxcan` crate
- Add DAC, UART4, UART5 clock in RCC for the f103 high density line

### Fixed
- Fix > 2 byte i2c reads
Expand Down
3 changes: 3 additions & 0 deletions src/rcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,9 @@ bus! {
#[cfg(all(feature = "stm32f103", feature = "high",))]
bus! {
ADC3 => (APB2, adc3en, adc3rst),
DAC => (APB1, dacen, dacrst),
UART4 => (APB1, uart4en, uart4rst),
UART5 => (APB1, uart5en, uart5rst),
}
bus! {
ADC1 => (APB2, adc1en, adc1rst),
Expand Down

0 comments on commit 19af481

Please sign in to comment.