@@ -9,17 +9,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
10
10
### Added
11
11
12
- - Replace custom time based units with types defined in the [ embedded-time] [ ]
13
- crate ([ #192 ] )
14
12
- Make ` Clocks ` ` ppre1() ` and ` ppre2() ` methods public, to get the current
15
13
Prescaler value. ([ #210 ] )
16
14
- Implement ` into_xxx ` methods for partially erased pins ([ #189 ] )
17
15
- Enable better GPIO internal resistor configuration ([ #189 ] )
18
16
- Support for GPIO output slew rate configuration ([ #189 ] )
19
17
- Support for GPIO interrupts ([ #189 ] )
20
18
21
- [ embedded-time ] : https://github.com/FluenTech/embedded-time/
22
-
23
19
### Changed
24
20
25
21
- Added support for more CAN bit rates and modes. ([ #186 ] )
@@ -33,10 +29,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
33
29
34
30
### Breaking Changes
35
31
32
+ - Replace custom time based units with types defined in the [ embedded-time] [ ]
33
+ crate ([ #192 ] )
36
34
- The ` rcc ` public API now expects time based units in ` Megahertz ` .
37
35
If the supplied frequency cannot be converted to ` Hertz ` the code
38
36
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 ] )
40
38
41
39
``` rust
42
40
// The supplied frequencies must be in `MHz`.
@@ -55,9 +53,10 @@ let clocks = rcc
55
53
- ` cortex-m ` to 0.7
56
54
- ` stm32-usbd ` to 0.6
57
55
- ` defmt ` to 0.2
58
-
59
56
- ` into_afx ` methods are splitted into ` into_afx_push_pull ` and
60
57
` into_afx_open_drain ` ([ #189 ] )
58
+ - GPIO output mode (` PushPull ` or ` OpenDrain ` ) is encoded into pin typestate
59
+ in alternate function mode ([ #189 ] )
61
60
- GPIO internal resistor configuration is no longer encoded into pin typestate
62
61
in input mode ([ #189 ] )
63
62
@@ -95,9 +94,6 @@ let clocks = rcc
95
94
The support of this feature is subject to change as the development
96
95
of [ defmt] [ ] is advancing.
97
96
98
- [ defmt ] : https://github.com/knurling-rs/defmt
99
- [ filter ] : https://defmt.ferrous-systems.com/filtering.html
100
-
101
97
### Changed
102
98
103
99
- Introduced auto-generated GPIO mappings based on the STM32CubeMX database
@@ -109,8 +105,6 @@ let clocks = rcc
109
105
([ #152 ] )
110
106
- Wrong I2C clock source ([ #164 ] )
111
107
112
- [ #151 ] : https://github.com/stm32-rs/stm32f3xx-hal/issues/151
113
-
114
108
### Breaking Changes
115
109
116
110
- Removed impl for ` SckPin<SPI2> ` for ` PB13<AF5> ` from ` stm32f328 ` and
@@ -315,6 +309,10 @@ let clocks = rcc
315
309
316
310
- Support ` stm32f303 ` device
317
311
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
+
318
316
[ #211 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/211
319
317
[ #210 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/210
320
318
[ #208 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/208
0 commit comments