@@ -7,15 +7,31 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88## [ Unreleased]
99
10- ## [ v0.7.0] - 2021-03-10
11-
1210### Added
1311
14- - Replace custom time based units with types defined in the [ embedded-time] [ ] crate ([ #192 ] )
12+ - Replace custom time based units with types defined in the [ embedded-time] [ ]
13+ crate ([ #192 ] )
1514- Make ` Clocks ` ` ppre1() ` and ` ppre2() ` methods public, to get the current
1615 Prescaler value. ([ #210 ] )
16+ - Implement ` into_xxx ` methods for partially erased pins ([ #189 ] )
17+ - Enable better GPIO internal resistor configuration ([ #189 ] )
18+ - Support for GPIO output slew rate configuration ([ #189 ] )
19+ - Support for GPIO interrupts ([ #189 ] )
1720
18- ### Breaking changes
21+ [ embedded-time ] : https://github.com/FluenTech/embedded-time/
22+
23+ ### Changed
24+
25+ - Added support for more CAN bit rates and modes. ([ #186 ] )
26+ - The structure of ` gpio.rs ` is greatly changed. Generic ` Pin ` struct is used
27+ for every GPIO pin now ([ #189 ] )
28+
29+ ### Fixed
30+
31+ - Delay based on systick no longer panics ([ #203 ] ) for to high values
32+ and support longer delays ([ #208 ] )
33+
34+ ### Breaking Changes
1935
2036- The ` rcc ` public API now expects time based units in ` Megahertz ` .
2137 If the supplied frequency cannot be converted to ` Hertz ` the code
@@ -34,21 +50,16 @@ let clocks = rcc
3450```
3551
3652- Bump dependencies: ([ #211 ] )
37- - ` stm32f3 ` dependency to 0.13.0
38- - ` nb ` to 1.0
53+ - ` stm32f3 ` dependency to 0.13
54+ - ` nb ` to 1
3955 - ` cortex-m ` to 0.7
4056 - ` stm32-usbd ` to 0.6
4157 - ` defmt ` to 0.2
4258
43- [ embedded-time ] : https://github.com/FluenTech/embedded-time/
44- ### Changed
45-
46- - Added support for more CAN bit rates and modes. ([ #186 ] )
47-
48- ### Fixed
49-
50- - Delay based on systick no longer panics ([ #203 ] ) for to high values
51- and support longer delays ([ #208 ] )
59+ - ` into_afx ` methods are splitted into ` into_afx_push_pull ` and
60+ ` into_afx_open_drain ` ([ #189 ] )
61+ - GPIO internal resistor configuration is no longer encoded into pin typestate
62+ in input mode ([ #189 ] )
5263
5364## [ v0.6.1] - 2020-12-10
5465
@@ -69,8 +80,7 @@ let clocks = rcc
6980- Impls for all SPI pins for all ` stm32f302 ` sub-targets, ` stm32f303 `
7081 subtargets, ` stm32f3x8 ` targets, ` stm32f334 ` , and ` stm32f373 `
7182 ([ #99 ] )
72- - SPI4 peripheral for supported
73- devices. ([ #99 ] )
83+ - SPI4 peripheral for supported devices. ([ #99 ] )
7484- Support for I2C transfer of more than 255 bytes, and 0 byte write ([ #154 ] )
7585- Support for HSE bypass and CSS ([ #156 ] )
7686- Impls for missing I2C pin definitions ([ #164 ] )
@@ -310,15 +320,12 @@ let clocks = rcc
310320[ #208 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/208
311321[ #203 ] : https://github.com/stm32-rs/stm32f3xx-hal/issues/203
312322[ #192 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/192
323+ [ #189 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/189
313324[ #186 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/186
314325[ #184 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/184
315326[ #172 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/172
316327[ #170 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/170
317328[ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
318- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
319- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
320- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
321- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
322329[ #156 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/156
323330[ #154 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/154
324331[ #152 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/152
@@ -333,30 +340,24 @@ let clocks = rcc
333340[ #101 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/101
334341[ #100 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/100
335342[ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
336- [ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
337- [ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
338343[ #98 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/98
339344[ #97 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/97
340345[ #91 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/91
341346[ #86 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/86
342- [ #86 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/86
343347[ #82 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/82
344348[ #75 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/75
345349[ #72 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/72
346350[ #70 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/70
347351[ #67 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/67
348- [ #67 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/67
349352[ #60 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/60
350353[ #58 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/58
351354[ #56 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/56
352355[ #52 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/52
353356[ #50 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/50
354- [ #50 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/50
355357[ #47 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/47
356358[ #42 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/42
357359[ #39 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/39
358360[ #35 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/18
359- [ #35 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/35
360361[ #34 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/34
361362[ #33 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/33
362363[ #31 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/33
@@ -369,7 +370,6 @@ let clocks = rcc
369370[ #16 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/16
370371[ #14 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/14
371372[ #12 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/12
372- [ #12 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/12
373373[ #11 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/11
374374[ #6 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/6
375375[ #4 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/4
0 commit comments