File tree Expand file tree Collapse file tree 3 files changed +91
-64
lines changed Expand file tree Collapse file tree 3 files changed +91
-64
lines changed Original file line number Diff line number Diff line change 11
11
- TWIS module ([ #196 ] ).
12
12
- PWM module ([ #200 ] ).
13
13
- I2S module ([ #201 ] ).
14
+ - SPIS module ([ #226 ] ).
14
15
15
16
### Fixes
16
17
95
96
[ #168 ] : https://github.com/nrf-rs/nrf-hal/pull/168
96
97
[ #167 ] : https://github.com/nrf-rs/nrf-hal/pull/167
97
98
[ #172 ] : https://github.com/nrf-rs/nrf-hal/pull/172
98
-
99
99
[ 0.11.0 ] : https://github.com/nrf-rs/nrf-hal/releases/tag/v0.11.0
100
100
[ 0.11.1 ] : https://github.com/nrf-rs/nrf-hal/releases/tag/v0.11.1
Original file line number Diff line number Diff line change @@ -38,10 +38,12 @@ const APP: () = {
38
38
39
39
let spis = Spis :: new (
40
40
ctx. device . SPIS0 ,
41
- & sck_pin,
42
- & cs_pin,
43
- Some ( & copi_pin) ,
44
- Some ( & cipo_pin) ,
41
+ Pins {
42
+ sck : sck_pin,
43
+ cs : cs_pin,
44
+ copi : Some ( copi_pin) ,
45
+ cipo : Some ( cipo_pin) ,
46
+ } ,
45
47
) ;
46
48
spis. enable_interrupt ( SpisEvent :: End ) ;
47
49
You can’t perform that action at this time.
0 commit comments