lib: update embedded-hal into 1.0.0 #52
Annotations
53 warnings
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
unused borrow that must be used:
src/fpioa.rs#L105
warning: unused borrow that must be used
--> src/fpioa.rs:105:22
|
105 | unsafe { &(*FPIOA::ptr()).io[$id].write(|w|
| ______________________^
106 | | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 | | ) };
| |_____________^ the borrow produces a value
...
120 | / def_io_pin! {
121 | | Io0: (0, io0, JTAG_TCLK);
122 | | Io1: (1, io1, JTAG_TDI);
123 | | Io2: (2, io2, JTAG_TMS);
... |
168 | | Io47: (47, io47, GPIOHS31);
169 | | }
| |_- in this macro invocation
|
= note: `#[warn(unused_must_use)]` on by default
= note: this warning originates in the macro `def_io_pin` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
105 ~ unsafe { let _ = &(*FPIOA::ptr()).io[$id].write(|w|
106 | w.bits(FUNCTION_DEFAULTS[F::INDEX as usize])
107 ~ ); };
|
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|