@@ -9,17 +9,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
1010### Added
1111
12- - Replace custom time based units with types defined in the [ embedded-time] [ ]
13- crate ([ #192 ] )
1412- Make ` Clocks ` ` ppre1() ` and ` ppre2() ` methods public, to get the current
1513 Prescaler value. ([ #210 ] )
1614- Implement ` into_xxx ` methods for partially erased pins ([ #189 ] )
1715- Enable better GPIO internal resistor configuration ([ #189 ] )
1816- Support for GPIO output slew rate configuration ([ #189 ] )
1917- Support for GPIO interrupts ([ #189 ] )
2018
21- [ embedded-time ] : https://github.com/FluenTech/embedded-time/
22-
2319### Changed
2420
2521- Added support for more CAN bit rates and modes. ([ #186 ] )
@@ -33,10 +29,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3329
3430### Breaking Changes
3531
32+ - Replace custom time based units with types defined in the [ embedded-time] [ ]
33+ crate ([ #192 ] )
3634- The ` rcc ` public API now expects time based units in ` Megahertz ` .
3735 If the supplied frequency cannot be converted to ` Hertz ` the code
3836 will ` panic ` . This will occur if the supplied ` Megahertz ` frequency
39- cannot fit into ` u32::MAX ` when converting to ` Hertz `
37+ cannot fit into ` u32::MAX ` when converting to ` Hertz ` ( [ # 192 ] )
4038
4139``` rust
4240// The supplied frequencies must be in `MHz`.
@@ -55,9 +53,10 @@ let clocks = rcc
5553 - ` cortex-m ` to 0.7
5654 - ` stm32-usbd ` to 0.6
5755 - ` defmt ` to 0.2
58-
5956- ` into_afx ` methods are splitted into ` into_afx_push_pull ` and
6057 ` into_afx_open_drain ` ([ #189 ] )
58+ - GPIO output mode (` PushPull ` or ` OpenDrain ` ) is encoded into pin typestate
59+ in alternate function mode ([ #189 ] )
6160- GPIO internal resistor configuration is no longer encoded into pin typestate
6261 in input mode ([ #189 ] )
6362
@@ -95,9 +94,6 @@ let clocks = rcc
9594 The support of this feature is subject to change as the development
9695 of [ defmt] [ ] is advancing.
9796
98- [ defmt ] : https://github.com/knurling-rs/defmt
99- [ filter ] : https://defmt.ferrous-systems.com/filtering.html
100-
10197### Changed
10298
10399- Introduced auto-generated GPIO mappings based on the STM32CubeMX database
@@ -109,8 +105,6 @@ let clocks = rcc
109105 ([ #152 ] )
110106- Wrong I2C clock source ([ #164 ] )
111107
112- [ #151 ] : https://github.com/stm32-rs/stm32f3xx-hal/issues/151
113-
114108### Breaking Changes
115109
116110- Removed impl for ` SckPin<SPI2> ` for ` PB13<AF5> ` from ` stm32f328 ` and
@@ -315,6 +309,10 @@ let clocks = rcc
315309
316310- Support ` stm32f303 ` device
317311
312+ [ embedded-time ] : https://github.com/FluenTech/embedded-time/
313+ [ defmt ] : https://github.com/knurling-rs/defmt
314+ [ filter ] : https://defmt.ferrous-systems.com/filtering.html
315+
318316[ #211 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/211
319317[ #210 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/210
320318[ #208 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/208
0 commit comments