File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 17
17
- Refuse to build nRF52+ HALs for thumbv6m targets ([ #203 ] ).
18
18
- Refuse to build ` nrf52810-hal ` for hard-float targets, and ` nrf51-hal ` for thumbv7+ targets
19
19
([ #206 ] ).
20
+ - GPIOTE Port 1 and 0 differentiation for nRF52833 and nRF52840 ([ #217 ] )
20
21
21
22
### Breaking Changes
22
23
32
33
[ #203 ] : https://github.com/nrf-rs/nrf-hal/pull/203
33
34
[ #190 ] : https://github.com/nrf-rs/nrf-hal/pull/190
34
35
[ #206 ] : https://github.com/nrf-rs/nrf-hal/pull/206
36
+ [ #217 ] : https://github.com/nrf-rs/nrf-hal/pull/217
35
37
36
38
## [ 0.11.1]
37
39
Original file line number Diff line number Diff line change @@ -257,6 +257,15 @@ fn config_channel_event_pin<P: GpioteInputPin>(
257
257
EventPolarity :: None => w. mode ( ) . event ( ) . polarity ( ) . none ( ) ,
258
258
EventPolarity :: Toggle => w. mode ( ) . event ( ) . polarity ( ) . toggle ( ) ,
259
259
} ;
260
+
261
+ #[ cfg( any( feature = "52833" , feature = "52840" ) ) ]
262
+ {
263
+ match pin. port ( ) {
264
+ Port :: Port0 => w. port ( ) . clear_bit ( ) ,
265
+ Port :: Port1 => w. port ( ) . set_bit ( ) ,
266
+ } ;
267
+ }
268
+
260
269
unsafe { w. psel ( ) . bits ( pin. pin ( ) ) }
261
270
} ) ;
262
271
}
You can’t perform that action at this time.
0 commit comments