Skip to content

clippy

clippy #22

Triggered via push April 8, 2024 15:45
Status Failure
Total duration 1m 4s
Artifacts

clippy.yml

on: push
Matrix: clippy_check
Fit to window
Zoom out
Zoom in

Annotations

990 errors and 10 warnings
field `cr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private: src/watchdog.rs#L122
error[E0616]: field `cr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private --> src/watchdog.rs:122:19 | 122 | self.wwdg.cr.write(|w| w.wdga().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 122 | self.wwdg.cr().write(|w| w.wdga().set_bit()); | ++
field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private: src/watchdog.rs#L112
error[E0616]: field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private --> src/watchdog.rs:112:19 | 112 | self.wwdg.cfr.write(|w| w.ewi().clear_bit()); | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 112 | self.wwdg.cfr().write(|w| w.ewi().clear_bit()); | ++
field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private: src/watchdog.rs#L108
error[E0616]: field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private --> src/watchdog.rs:108:19 | 108 | self.wwdg.cfr.write(|w| w.ewi().set_bit()); | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 108 | self.wwdg.cfr().write(|w| w.ewi().set_bit()); | ++
field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private: src/watchdog.rs#L103
error[E0616]: field `cfr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private --> src/watchdog.rs:103:14 | 103 | .cfr | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 103 | .cfr() | ++
field `cr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private: src/watchdog.rs#L86
error[E0616]: field `cr` of struct `stm32c0::stm32c011::wwdg::RegisterBlock` is private --> src/watchdog.rs:86:19 | 86 | self.wwdg.cr.write(|w| unsafe { w.t().bits(0xff) }); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 86 | self.wwdg.cr().write(|w| unsafe { w.t().bits(0xff) }); | ++
field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L42
error[E0616]: field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:42:19 | 42 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xaaaa) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 42 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xaaaa) }); | ++
field `sr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L40
error[E0616]: field `sr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:40:25 | 40 | while self.iwdg.sr.read().bits() > 0 {} | ^^ private field | help: a method `sr` also exists, call it with parentheses | 40 | while self.iwdg.sr().read().bits() > 0 {} | ++
field `rlr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L37
error[E0616]: field `rlr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:37:14 | 37 | .rlr | ^^^ private field | help: a method `rlr` also exists, call it with parentheses | 37 | .rlr() | ++
field `pr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L35
error[E0616]: field `pr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:35:19 | 35 | self.iwdg.pr.write(|w| unsafe { w.pr().bits(psc) }); | ^^ private field | help: a method `pr` also exists, call it with parentheses | 35 | self.iwdg.pr().write(|w| unsafe { w.pr().bits(psc) }); | ++
field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L33
error[E0616]: field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:33:19 | 33 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0x5555) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 33 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0x5555) }); | ++
field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L30
error[E0616]: field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:30:19 | 30 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xcccc) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 30 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xcccc) }); | ++
field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private: src/watchdog.rs#L13
error[E0616]: field `kr` of struct `stm32c0::stm32c011::iwdg::RegisterBlock` is private --> src/watchdog.rs:13:19 | 13 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xaaaa) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 13 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xaaaa) }); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `egr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `egr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `egr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `cr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private: src/watchdog.rs#L122
error[E0616]: field `cr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private --> src/watchdog.rs:122:19 | 122 | self.wwdg.cr.write(|w| w.wdga().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 122 | self.wwdg.cr().write(|w| w.wdga().set_bit()); | ++
field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private: src/watchdog.rs#L112
error[E0616]: field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private --> src/watchdog.rs:112:19 | 112 | self.wwdg.cfr.write(|w| w.ewi().clear_bit()); | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 112 | self.wwdg.cfr().write(|w| w.ewi().clear_bit()); | ++
field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private: src/watchdog.rs#L108
error[E0616]: field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private --> src/watchdog.rs:108:19 | 108 | self.wwdg.cfr.write(|w| w.ewi().set_bit()); | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 108 | self.wwdg.cfr().write(|w| w.ewi().set_bit()); | ++
field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private: src/watchdog.rs#L103
error[E0616]: field `cfr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private --> src/watchdog.rs:103:14 | 103 | .cfr | ^^^ private field | help: a method `cfr` also exists, call it with parentheses | 103 | .cfr() | ++
field `cr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private: src/watchdog.rs#L86
error[E0616]: field `cr` of struct `stm32c0::stm32c031::wwdg::RegisterBlock` is private --> src/watchdog.rs:86:19 | 86 | self.wwdg.cr.write(|w| unsafe { w.t().bits(0xff) }); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 86 | self.wwdg.cr().write(|w| unsafe { w.t().bits(0xff) }); | ++
field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L42
error[E0616]: field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:42:19 | 42 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xaaaa) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 42 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xaaaa) }); | ++
field `sr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L40
error[E0616]: field `sr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:40:25 | 40 | while self.iwdg.sr.read().bits() > 0 {} | ^^ private field | help: a method `sr` also exists, call it with parentheses | 40 | while self.iwdg.sr().read().bits() > 0 {} | ++
field `rlr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L37
error[E0616]: field `rlr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:37:14 | 37 | .rlr | ^^^ private field | help: a method `rlr` also exists, call it with parentheses | 37 | .rlr() | ++
field `pr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L35
error[E0616]: field `pr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:35:19 | 35 | self.iwdg.pr.write(|w| unsafe { w.pr().bits(psc) }); | ^^ private field | help: a method `pr` also exists, call it with parentheses | 35 | self.iwdg.pr().write(|w| unsafe { w.pr().bits(psc) }); | ++
field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L33
error[E0616]: field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:33:19 | 33 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0x5555) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 33 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0x5555) }); | ++
field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L30
error[E0616]: field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:30:19 | 30 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xcccc) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 30 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xcccc) }); | ++
field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private: src/watchdog.rs#L13
error[E0616]: field `kr` of struct `stm32c0::stm32c031::iwdg::RegisterBlock` is private --> src/watchdog.rs:13:19 | 13 | self.iwdg.kr.write(|w| unsafe { w.key().bits(0xaaaa) }); | ^^ private field | help: a method `kr` also exists, call it with parentheses | 13 | self.iwdg.kr().write(|w| unsafe { w.key().bits(0xaaaa) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `egr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `egr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `egr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `egr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `egr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L249
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:249:42 | 249 | self.tim.smcr.modify(|_, w| w.$ece().set_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 249 | self.tim.smcr().modify(|_, w| w.$ece().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L247
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:247:38 | 247 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 247 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L243
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:243:42 | 243 | self.tim.smcr.modify(|_, w| w.$ece().clear_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 243 | self.tim.smcr().modify(|_, w| w.$ece().clear_bit()); | ++
field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/mod.rs#L241
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/mod.rs:241:38 | 241 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 241 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L249
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:249:42 | 249 | self.tim.smcr.modify(|_, w| w.$ece().set_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 249 | self.tim.smcr().modify(|_, w| w.$ece().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L247
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:247:38 | 247 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 247 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L243
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:243:42 | 243 | self.tim.smcr.modify(|_, w| w.$ece().clear_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 243 | self.tim.smcr().modify(|_, w| w.$ece().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/mod.rs#L241
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/mod.rs:241:38 | 241 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 241 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ++
field `egr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L187
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:187:34 | 187 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 187 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L184
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:184:33 | 184 | if self.tim.sr.read().uif().bit_is_clear() { | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 184 | if self.tim.sr().read().uif().bit_is_clear() { | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L180
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:180:30 | 180 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 180 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `egr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L178
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:178:30 | 178 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 178 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `arr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L174
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:174:30 | 174 | self.tim.arr.write(|w| unsafe { w.bits(arr as _) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 174 | self.tim.arr().write(|w| unsafe { w.bits(arr as _) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L173
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:173:30 | 173 | self.tim.psc.write(|w| unsafe { w.psc().bits(psc as u16) }); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 173 | self.tim.psc().write(|w| unsafe { w.psc().bits(psc as u16) }); | ++
field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L166
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:166:30 | 166 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 166 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L164
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:164:30 | 164 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 164 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L162
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:162:30 | 162 | self.tim.cr1.modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 162 | self.tim.cr1().modify(|_, w| w.cen().clear_bit().urs().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L155
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:155:40 | 155 | let low = self.tim.cnt.read().$cnt().bits() as u32; | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 155 | let low = self.tim.cnt().read().$cnt().bits() as u32; | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L146
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:146:30 | 146 | self.tim.cnt.reset(); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 146 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L141
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:141:30 | 141 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 141 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `dier` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L136
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:136:30 | 136 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 136 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L131
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:131:30 | 131 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 131 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L126
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:126:30 | 126 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 126 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L121
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:121:30 | 121 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 121 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L116
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:116:30 | 116 | self.tim.cr1.read().cen().bit() | ^^^ private field ... 264 | / timers! { 265 | | TIM1: (tim1, cnt), 266 | | TIM3: (tim3, cnt), 267 | | TIM14: (tim14, cnt), 268 | | TIM16: (tim16, cnt), 269 | | TIM17: (tim17, cnt), 270 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 116 | self.tim.cr1().read().cen().bit() | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L249
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:249:42 | 249 | self.tim.smcr.modify(|_, w| w.$ece().set_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 249 | self.tim.smcr().modify(|_, w| w.$ece().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L247
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:247:38 | 247 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 247 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L243
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:243:42 | 243 | self.tim.smcr.modify(|_, w| w.$ece().clear_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 243 | self.tim.smcr().modify(|_, w| w.$ece().clear_bit()); | ++
field `egr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/mod.rs#L241
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/mod.rs:241:38 | 241 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 241 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ++
field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L249
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:249:42 | 249 | self.tim.smcr.modify(|_, w| w.$ece().set_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 249 | self.tim.smcr().modify(|_, w| w.$ece().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L247
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:247:38 | 247 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 247 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b0) }); | ++
field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L243
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:243:42 | 243 | self.tim.smcr.modify(|_, w| w.$ece().clear_bit()); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 243 | self.tim.smcr().modify(|_, w| w.$ece().clear_bit()); | ++
field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/mod.rs#L241
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/mod.rs:241:38 | 241 | self.tim.smcr.modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ^^^^ private field ... 259 | / timers_external_clocks! { 260 | | TIM1: (tim1, sms1, ece), 261 | | TIM3: (tim3, sms1, ece), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `timers_external_clocks` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 241 | self.tim.smcr().modify(|_, w| unsafe { w.$sms().bits(0b111) }); | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/qei.rs#L90
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/qei.rs:90:33 | 90 | if self.tim.cr1.read().dir().bit_is_clear() { | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 90 | if self.tim.cr1().read().dir().bit_is_clear() { | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/qei.rs#L86
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/qei.rs:86:30 | 86 | self.tim.cnt.read().$cnt().bits() | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 86 | self.tim.cnt().read().$cnt().bits() | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/qei.rs#L73
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/qei.rs:73:25 | 73 | tim.cr1.write(|w| w.cen().set_bit()); | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 73 | tim.cr1().write(|w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/qei.rs#L56
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/qei.rs:56:25 | 56 | tim.ccer.write(|w| { | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 56 | tim.ccer().write(|w| { | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/qei.rs#L53
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/qei.rs:53:25 | 53 | tim.smcr.write(|w| unsafe { w.sms1().bits(0b010) }); | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 53 | tim.smcr().write(|w| unsafe { w.sms1().bits(0b010) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/qei.rs#L90
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/qei.rs:90:33 | 90 | if self.tim.cr1.read().dir().bit_is_clear() { | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 90 | if self.tim.cr1().read().dir().bit_is_clear() { | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/qei.rs#L86
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/qei.rs:86:30 | 86 | self.tim.cnt.read().$cnt().bits() | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 86 | self.tim.cnt().read().$cnt().bits() | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/qei.rs#L73
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/qei.rs:73:25 | 73 | tim.cr1.write(|w| w.cen().set_bit()); | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 73 | tim.cr1().write(|w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/qei.rs#L56
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/qei.rs:56:25 | 56 | tim.ccer.write(|w| { | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 56 | tim.ccer().write(|w| { | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/qei.rs#L53
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/qei.rs:53:25 | 53 | tim.smcr.write(|w| unsafe { w.sms1().bits(0b010) }); | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 53 | tim.smcr().write(|w| unsafe { w.sms1().bits(0b010) }); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `egr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `egr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `egr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L80
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:80:82 | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 80 | duration(self.clk, now.wrapping_sub(started) * (1 + self.tim.psc().read().bits() as u32)) | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L70
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:70:63 | 70 | duration(self.clk, cycles * (1 + self.tim.psc.read().bits() as u32)) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 70 | duration(self.clk, cycles * (1 + self.tim.psc().read().bits() as u32)) | ++
field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L64
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:64:50 | 64 | Instant::from_ticks(self.tim.cnt.read().bits()) | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 64 | Instant::from_ticks(self.tim.cnt().read().bits()) | ++
field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L56
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:56:30 | 56 | self.tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 56 | self.tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L52
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:52:30 | 52 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 52 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L48
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:48:30 | 48 | self.tim.cnt.reset(); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 48 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `egr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L44
error[E0616]: field `egr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:44:30 | 44 | self.tim.egr.write(|w| w.ug().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `egr` also exists, call it with parentheses | 44 | self.tim.egr().write(|w| w.ug().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L43
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:43:30 | 43 | self.tim.psc.write(|w| unsafe { w.psc().bits(prescaler) }); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 43 | self.tim.psc().write(|w| unsafe { w.psc().bits(prescaler) }); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/stopwatch.rs#L23
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/stopwatch.rs:23:25 | 23 | tim.cr1.modify(|_, w| w.cen().set_bit()); | ^^^ private field ... 93 | / stopwatches! { 94 | | TIM1: tim1, u16, 95 | | TIM3: tim3, u16, 96 | | TIM14: tim14, u16, 97 | | TIM16: tim16, u16, 98 | | TIM17: tim17, u16, 99 | | } | |_- in this macro invocation | = note: this error originates in the macro `stopwatches` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 23 | tim.cr1().modify(|_, w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/qei.rs#L90
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/qei.rs:90:33 | 90 | if self.tim.cr1.read().dir().bit_is_clear() { | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 90 | if self.tim.cr1().read().dir().bit_is_clear() { | ++
field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/qei.rs#L86
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/qei.rs:86:30 | 86 | self.tim.cnt.read().$cnt().bits() | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 86 | self.tim.cnt().read().$cnt().bits() | ++
field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/qei.rs#L73
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/qei.rs:73:25 | 73 | tim.cr1.write(|w| w.cen().set_bit()); | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 73 | tim.cr1().write(|w| w.cen().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `ccer` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/qei.rs#L56
error[E0616]: field `ccer` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/qei.rs:56:25 | 56 | tim.ccer.write(|w| { | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 56 | tim.ccer().write(|w| { | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/qei.rs#L53
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/qei.rs:53:25 | 53 | tim.smcr.write(|w| unsafe { w.sms1().bits(0b010) }); | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 53 | tim.smcr().write(|w| unsafe { w.sms1().bits(0b010) }); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/qei.rs#L90
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/qei.rs:90:33 | 90 | if self.tim.cr1.read().dir().bit_is_clear() { | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 90 | if self.tim.cr1().read().dir().bit_is_clear() { | ++
field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L253
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:253:56 | 253 | TIM3: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, ccr4_l, ccr4_h), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 172 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.bits(duty)) } | ++
field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/qei.rs#L86
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/qei.rs:86:30 | 86 | self.tim.cnt.read().$cnt().bits() | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 86 | self.tim.cnt().read().$cnt().bits() | ++
field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/qei.rs#L73
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/qei.rs:73:25 | 73 | tim.cr1.write(|w| w.cen().set_bit()); | ^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 73 | tim.cr1().write(|w| w.cen().set_bit()); | ++
field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L253
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:253:56 | 253 | TIM3: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, ccr4_l, ccr4_h), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 164 | unsafe { (*$TIMX::ptr()).$ccrx().read().bits() } | ++
field `ccer` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/qei.rs#L56
error[E0616]: field `ccer` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/qei.rs:56:25 | 56 | tim.ccer.write(|w| { | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 56 | tim.ccer().write(|w| { | ++
field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L252
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:252:56 | 252 | TIM3: (Channel3, cc3e, ccmr2_output, oc3pe, oc3m1, ccr3, ccr3_l, ccr3_h), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 172 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.bits(duty)) } | ++
field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private: src/timer/qei.rs#L53
error[E0616]: field `smcr` of struct `stm32c0::stm32c031::tim1::RegisterBlock` is private --> src/timer/qei.rs:53:25 | 53 | tim.smcr.write(|w| unsafe { w.sms1().bits(0b010) }); | ^^^^ private field ... 107 | / qei! { 108 | | TIM1: (tim1, arr, cnt), 109 | | TIM3: (tim3, arr, cnt), 110 | | } | |_- in this macro invocation | = note: this error originates in the macro `qei` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 53 | tim.smcr().write(|w| unsafe { w.sms1().bits(0b010) }); | ++
field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L252
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:252:56 | 252 | TIM3: (Channel3, cc3e, ccmr2_output, oc3pe, oc3m1, ccr3, ccr3_l, ccr3_h), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 164 | unsafe { (*$TIMX::ptr()).$ccrx().read().bits() } | ++
field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L251
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:251:56 | 251 | TIM3: (Channel2, cc2e, ccmr1_output, oc2pe, oc2m1, ccr2, ccr2_l, ccr2_h), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 172 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.bits(duty)) } | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L251
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:251:56 | 251 | TIM3: (Channel2, cc2e, ccmr1_output, oc2pe, oc2m1, ccr2, ccr2_l, ccr2_h), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 164 | unsafe { (*$TIMX::ptr()).$ccrx().read().bits() } | ++
field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L250
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:250:56 | 250 | TIM3: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1, ccr1_l, ccr1_h), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 172 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.bits(duty)) } | ++
field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L168
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:168:46 | 168 | unsafe { (*$TIMX::ptr()).arr.read().bits() } | ^^^ private field ... 249 | / pwm_hal! { 250 | | TIM3: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1, ccr1_l, ccr1_h), 251 | | TIM3: (Channel2, cc2e, ccmr1_output, oc2pe, oc2m1, ccr2, ccr2_l, ccr2_h), 252 | | TIM3: (Channel3, cc3e, ccmr2_output, oc3pe, oc3m1, ccr3, ccr3_l, ccr3_h), 253 | | TIM3: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, ccr4_l, ccr4_h), 254 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 168 | unsafe { (*$TIMX::ptr()).arr().read().bits() } | ++
field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L250
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:250:56 | 250 | TIM3: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1, ccr1_l, ccr1_h), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 164 | unsafe { (*$TIMX::ptr()).$ccrx().read().bits() } | ++
field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L159
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:159:29 | 159 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 249 | / pwm_hal! { 250 | | TIM3: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1, ccr1_l, ccr1_h), 251 | | TIM3: (Channel2, cc2e, ccmr1_output, oc2pe, oc2m1, ccr2, ccr2_l, ccr2_h), 252 | | TIM3: (Channel3, cc3e, ccmr2_output, oc3pe, oc3m1, ccr3, ccr3_l, ccr3_h), 253 | | TIM3: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, ccr4_l, ccr4_h), 254 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 159 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pwm.rs#L151
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pwm.rs:151:41 | 151 | (*$TIMX::ptr()).ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 249 | / pwm_hal! { 250 | | TIM3: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1, ccr1_l, ccr1_h), 251 | | TIM3: (Channel2, cc2e, ccmr1_output, oc2pe, oc2m1, ccr2, ccr2_l, ccr2_h), 252 | | TIM3: (Channel3, cc3e, ccmr2_output, oc3pe, oc3m1, ccr3, ccr3_l, ccr3_h), 253 | | TIM3: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, ccr4_l, ccr4_h), 254 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 151 | (*$TIMX::ptr()).ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim17::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L246
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:246:64 | 246 | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L219
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:219:46 | 219 | unsafe { (*$TIMX::ptr()).arr.read().arr().bits() } | ^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 219 | unsafe { (*$TIMX::ptr()).arr().read().arr().bits() } | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L246
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:246:64 | 246 | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `bdtr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L209
error[E0616]: field `bdtr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:209:33 | 209 | tim.bdtr.modify(|_, w| w.$moe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bdtr` also exists, call it with parentheses | 209 | tim.bdtr().modify(|_, w| w.$moe().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L206
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:206:33 | 206 | tim.ccer.modify(|_, w| w.$ccxne().bit(true)); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 206 | tim.ccer().modify(|_, w| w.$ccxne().bit(true)); | ++
field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L204
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:204:29 | 204 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 204 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/pwm.rs#L196
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/pwm.rs:196:41 | 196 | (*$TIMX::ptr()).ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 196 | (*$TIMX::ptr()).ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L245
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:245:64 | 245 | TIM16: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim16::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L219
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:219:46 | 219 | unsafe { (*$TIMX::ptr()).arr.read().arr().bits() } | ^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 219 | unsafe { (*$TIMX::ptr()).arr().read().arr().bits() } | ++
field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L245
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:245:64 | 245 | TIM16: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `bdtr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L209
error[E0616]: field `bdtr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:209:33 | 209 | tim.bdtr.modify(|_, w| w.$moe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bdtr` also exists, call it with parentheses | 209 | tim.bdtr().modify(|_, w| w.$moe().set_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L206
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:206:33 | 206 | tim.ccer.modify(|_, w| w.$ccxne().bit(true)); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 206 | tim.ccer().modify(|_, w| w.$ccxne().bit(true)); | ++
field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L204
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:204:29 | 204 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 204 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/pwm.rs#L196
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/pwm.rs:196:41 | 196 | (*$TIMX::ptr()).ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 196 | (*$TIMX::ptr()).ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L244
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:244:57 | 244 | TIM14: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L95
error[E0616]: field `cr1` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:95:34 | 95 | self.tim.cr1.write(|w| w.cen().set_bit()) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 95 | self.tim.cr1().write(|w| w.cen().set_bit()) | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L219
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:219:46 | 219 | unsafe { (*$TIMX::ptr()).arr.read().arr().bits() } | ^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 219 | unsafe { (*$TIMX::ptr()).arr().read().arr().bits() } | ++
field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L91
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:91:34 | 91 | self.tim.arr.write(|w| w.$arr().bits(arr as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 91 | self.tim.arr().write(|w| w.$arr().bits(arr as u16)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L244
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:244:57 | 244 | TIM14: (Channel1, cc1e, ccmr1_output, oc1pe, oc1m1, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private: src/timer/pwm.rs#L90
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim14::RegisterBlock` is private --> src/timer/pwm.rs:90:34 | 90 | self.tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 90 | self.tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L204
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:204:29 | 204 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 204 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L121
error[E0616]: field `arr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:121:37 | 121 | / (self.tim.arr.read().bits() as u32 + 1)) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 121 | / (self.tim.arr().read().bits() as u32 + 1)) | ++
field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/pwm.rs#L196
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/pwm.rs:196:41 | 196 | (*$TIMX::ptr()).ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 196 | (*$TIMX::ptr()).ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L120
error[E0616]: field `psc` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:120:37 | 120 | / (self.tim.psc.read().bits() as u32 + 1) | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 120 | / (self.tim.psc().read().bits() as u32 + 1) | ++
field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L243
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:243:57 | 243 | TIM1: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, moe), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L114
error[E0616]: field `cnt` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:114:30 | 114 | self.tim.cnt.reset(); | ^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 114 | self.tim.cnt().reset(); | ++
field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L243
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:243:57 | 243 | TIM1: (Channel4, cc4e, ccmr2_output, oc4pe, oc4m1, ccr4, moe), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L109
error[E0616]: field `sr` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:109:30 | 109 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 109 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L242
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:242:64 | 242 | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L105
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:105:30 | 105 | self.tim.dier.write(|w| w.uie().clear_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 105 | self.tim.dier().write(|w| w.uie().clear_bit()); | ++
field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L242
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:242:64 | 242 | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private: src/timer/pwm.rs#L100
error[E0616]: field `dier` of struct `stm32c0::stm32c031::tim3::RegisterBlock` is private --> src/timer/pwm.rs:100:30 | 100 | self.tim.dier.write(|w| w.uie().set_bit()); | ^^^^ private field ... 256 | / pwm! { 257 | | TIM1: (tim1, arr), 258 | | TIM3: (tim3, arr), 259 | | TIM14: (tim14, arr), 260 | | TIM16: (tim16, arr), 261 | | TIM17: (tim17, arr), 262 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dier` also exists, call it with parentheses | 100 | self.tim.dier().write(|w| w.uie().set_bit()); | ++
field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L241
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:241:64 | 241 | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L241
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:241:64 | 241 | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L240
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:240:64 | 240 | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 223 | unsafe { (*$TIMX::ptr()).$ccrx().write(|w| w.$ccrx().bits(duty)) } | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L219
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:219:46 | 219 | unsafe { (*$TIMX::ptr()).arr.read().arr().bits() } | ^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 219 | unsafe { (*$TIMX::ptr()).arr().read().arr().bits() } | ++
field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L240
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:240:64 | 240 | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 215 | unsafe { (*$TIMX::ptr()).$ccrx().read().$ccrx().bits() } | ++
field `bdtr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L209
error[E0616]: field `bdtr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:209:33 | 209 | tim.bdtr.modify(|_, w| w.$moe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bdtr` also exists, call it with parentheses | 209 | tim.bdtr().modify(|_, w| w.$moe().set_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L206
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:206:33 | 206 | tim.ccer.modify(|_, w| w.$ccxne().bit(true)); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 206 | tim.ccer().modify(|_, w| w.$ccxne().bit(true)); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L204
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:204:29 | 204 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 204 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pwm.rs#L196
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pwm.rs:196:41 | 196 | (*$TIMX::ptr()).ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 239 | / pwm_advanced_hal! { 240 | | TIM1: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 241 | | TIM1: (Channel2, cc2e: cc2ne, ccmr1_output, oc2pe, oc2m1, ccr2, moe), 242 | | TIM1: (Channel3, cc3e: cc3ne, ccmr2_output, oc3pe, oc3m1, ccr3, moe), ... | 246 | | TIM17: (Channel1, cc1e: cc1ne, ccmr1_output, oc1pe, oc1m1, ccr1, moe), 247 | | } | |_- in this macro invocation | = note: this error originates in the macro `pwm_advanced_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 196 | (*$TIMX::ptr()).ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pins.rs#L67
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pins.rs:67:25 | 67 | tim.smcr.modify(|_, w| unsafe { w.ts1().bits(ts) }); | ^^^^ private field ... 98 | / trigger_pins!(TIM3, [ 99 | | (PA6<DefaultMode>, cc1p, ic1f), 100 | | (PB4<DefaultMode>, cc1p, ic1f), 101 | | (PC6<DefaultMode>, cc1p, ic1f), ... | 104 | | (PC7<DefaultMode>, cc2p, ic2f), 105 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 67 | tim.smcr().modify(|_, w| unsafe { w.ts1().bits(ts) }); | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pins.rs#L62
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pins.rs:62:33 | 62 | tim.ccer.modify(|_, w| w.$ccp().clear_bit()); | ^^^^ private field ... 98 | / trigger_pins!(TIM3, [ 99 | | (PA6<DefaultMode>, cc1p, ic1f), 100 | | (PB4<DefaultMode>, cc1p, ic1f), 101 | | (PC6<DefaultMode>, cc1p, ic1f), ... | 104 | | (PC7<DefaultMode>, cc2p, ic2f), 105 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 62 | tim.ccer().modify(|_, w| w.$ccp().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/pins.rs#L58
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/pins.rs:58:33 | 58 | tim.ccer.modify(|_, w| w.$ccp().set_bit()); | ^^^^ private field ... 98 | / trigger_pins!(TIM3, [ 99 | | (PA6<DefaultMode>, cc1p, ic1f), 100 | | (PB4<DefaultMode>, cc1p, ic1f), 101 | | (PC6<DefaultMode>, cc1p, ic1f), ... | 104 | | (PC7<DefaultMode>, cc2p, ic2f), 105 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 58 | tim.ccer().modify(|_, w| w.$ccp().set_bit()); | ++
field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pins.rs#L67
error[E0616]: field `smcr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pins.rs:67:25 | 67 | tim.smcr.modify(|_, w| unsafe { w.ts1().bits(ts) }); | ^^^^ private field ... 90 | / trigger_pins!(TIM1, [ 91 | | (PA8<DefaultMode>, cc1p), 92 | | (PC8<DefaultMode>, cc1p), 93 | | (PA9<DefaultMode>, cc2p), 94 | | (PB3<DefaultMode>, cc2p), 95 | | (PC9<DefaultMode>, cc2p), 96 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `smcr` also exists, call it with parentheses | 67 | tim.smcr().modify(|_, w| unsafe { w.ts1().bits(ts) }); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pins.rs#L62
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pins.rs:62:33 | 62 | tim.ccer.modify(|_, w| w.$ccp().clear_bit()); | ^^^^ private field ... 90 | / trigger_pins!(TIM1, [ 91 | | (PA8<DefaultMode>, cc1p), 92 | | (PC8<DefaultMode>, cc1p), 93 | | (PA9<DefaultMode>, cc2p), 94 | | (PB3<DefaultMode>, cc2p), 95 | | (PC9<DefaultMode>, cc2p), 96 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 62 | tim.ccer().modify(|_, w| w.$ccp().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/pins.rs#L58
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/pins.rs:58:33 | 58 | tim.ccer.modify(|_, w| w.$ccp().set_bit()); | ^^^^ private field ... 90 | / trigger_pins!(TIM1, [ 91 | | (PA8<DefaultMode>, cc1p), 92 | | (PC8<DefaultMode>, cc1p), 93 | | (PA9<DefaultMode>, cc2p), 94 | | (PB3<DefaultMode>, cc2p), 95 | | (PC9<DefaultMode>, cc2p), 96 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `trigger_pins` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 58 | tim.ccer().modify(|_, w| w.$ccp().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L79
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:79:25 | 79 | tim.cr1.write(|w| w.opm().set_bit().cen().set_bit()); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 79 | tim.cr1().write(|w| w.opm().set_bit().cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L70
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:70:29 | 70 | tim.arr.write(|w| w.$arr().bits(reload as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 70 | tim.arr().write(|w| w.$arr().bits(reload as u16)); | ++
field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L69
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:69:29 | 69 | tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 69 | tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L79
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:79:25 | 79 | tim.cr1.write(|w| w.opm().set_bit().cen().set_bit()); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 79 | tim.cr1().write(|w| w.opm().set_bit().cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L70
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:70:29 | 70 | tim.arr.write(|w| w.$arr().bits(reload as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 70 | tim.arr().write(|w| w.$arr().bits(reload as u16)); | ++
field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L69
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:69:29 | 69 | tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 69 | tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L79
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:79:25 | 79 | tim.cr1.write(|w| w.opm().set_bit().cen().set_bit()); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 79 | tim.cr1().write(|w| w.opm().set_bit().cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L70
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:70:29 | 70 | tim.arr.write(|w| w.$arr().bits(reload as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 70 | tim.arr().write(|w| w.$arr().bits(reload as u16)); | ++
field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L69
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:69:29 | 69 | tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 69 | tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L79
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:79:25 | 79 | tim.cr1.write(|w| w.opm().set_bit().cen().set_bit()); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 79 | tim.cr1().write(|w| w.opm().set_bit().cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L70
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:70:29 | 70 | tim.arr.write(|w| w.$arr().bits(reload as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 70 | tim.arr().write(|w| w.$arr().bits(reload as u16)); | ++
field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L69
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:69:29 | 69 | tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 69 | tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L79
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:79:25 | 79 | tim.cr1.write(|w| w.opm().set_bit().cen().set_bit()); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 79 | tim.cr1().write(|w| w.opm().set_bit().cen().set_bit()); | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L70
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:70:29 | 70 | tim.arr.write(|w| w.$arr().bits(reload as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 70 | tim.arr().write(|w| w.$arr().bits(reload as u16)); | ++
field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L69
error[E0616]: field `psc` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:69:29 | 69 | tim.psc.write(|w| w.psc().bits(psc as u16)); | ^^^ private field ... 138 | / opm! { 139 | | TIM1: (tim1, arr), 140 | | TIM3: (tim3, arr), 141 | | TIM14: (tim14, arr), 142 | | TIM16: (tim16, arr), 143 | | TIM17: (tim17, arr), 144 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `psc` also exists, call it with parentheses | 69 | tim.psc().write(|w| w.psc().bits(psc as u16)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L135
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:135:57 | 135 | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L104
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:104:46 | 104 | unsafe { (*$TIMX::ptr()).arr.read().bits() as _ } | ^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 104 | unsafe { (*$TIMX::ptr()).arr().read().bits() as _ } | ++
field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L100
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:100:25 | 100 | tim.ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 100 | tim.ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/opm.rs#L94
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/opm.rs:94:25 | 94 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 94 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L134
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:134:57 | 134 | TIM16: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L104
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:104:46 | 104 | unsafe { (*$TIMX::ptr()).arr.read().bits() as _ } | ^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 104 | unsafe { (*$TIMX::ptr()).arr().read().bits() as _ } | ++
field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L100
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:100:25 | 100 | tim.ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 100 | tim.ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/opm.rs#L94
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/opm.rs:94:25 | 94 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 94 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L133
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:133:57 | 133 | TIM14: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L104
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:104:46 | 104 | unsafe { (*$TIMX::ptr()).arr.read().bits() as _ } | ^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 104 | unsafe { (*$TIMX::ptr()).arr().read().bits() as _ } | ++
field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L100
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:100:25 | 100 | tim.ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 100 | tim.ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/opm.rs#L94
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/opm.rs:94:25 | 94 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 94 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L132
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:132:56 | 132 | TIM3: (Channel4, cc4e, ccmr2_output, oc4m1, oc4fe, ccr4), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L131
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:131:56 | 131 | TIM3: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L130
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:130:56 | 130 | TIM3: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L129
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:129:56 | 129 | TIM3: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L104
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:104:46 | 104 | unsafe { (*$TIMX::ptr()).arr.read().bits() as _ } | ^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 104 | unsafe { (*$TIMX::ptr()).arr().read().bits() as _ } | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L100
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:100:25 | 100 | tim.ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 100 | tim.ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/opm.rs#L94
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/opm.rs:94:25 | 94 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 94 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L128
error[E0616]: field `ccr4` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:128:56 | 128 | TIM1: (Channel4, cc4e, ccmr2_output, oc4m1, oc4fe, ccr4), | ^^^^ private field | help: a method `ccr4` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L127
error[E0616]: field `ccr3` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:127:56 | 127 | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), | ^^^^ private field | help: a method `ccr3` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L126
error[E0616]: field `ccr2` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:126:56 | 126 | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), | ^^^^ private field | help: a method `ccr2` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L125
error[E0616]: field `ccr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:125:56 | 125 | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), | ^^^^ private field | help: a method `ccr1` also exists, call it with parentheses | 115 | tim.$ccrx().write(|w| w.bits(self.delay as _)); | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L104
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:104:46 | 104 | unsafe { (*$TIMX::ptr()).arr.read().bits() as _ } | ^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 104 | unsafe { (*$TIMX::ptr()).arr().read().bits() as _ } | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L100
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:100:25 | 100 | tim.ccer.modify(|_, w| w.$ccxe().clear_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 100 | tim.ccer().modify(|_, w| w.$ccxe().clear_bit()); | ++
field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/opm.rs#L94
error[E0616]: field `ccer` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/opm.rs:94:25 | 94 | tim.ccer.modify(|_, w| w.$ccxe().set_bit()); | ^^^^ private field ... 124 | / opm_hal! { 125 | | TIM1: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 126 | | TIM1: (Channel2, cc2e, ccmr1_output, oc2m1, oc2fe, ccr2), 127 | | TIM1: (Channel3, cc3e, ccmr2_output, oc3m1, oc3fe, ccr3), ... | 135 | | TIM17: (Channel1, cc1e, ccmr1_output, oc1m1, oc1fe, ccr1), 136 | | } | |_- in this macro invocation | = note: this error originates in the macro `opm_hal` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccer` also exists, call it with parentheses | 94 | tim.ccer().modify(|_, w| w.$ccxe().set_bit()); | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L117
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:117:34 | 117 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 117 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L116
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:116:34 | 116 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 116 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L115
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:115:40 | 115 | while self.tim.sr.read().uif().bit_is_clear() {} | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 115 | while self.tim.sr().read().uif().bit_is_clear() {} | ++
field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L114
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:114:34 | 114 | self.tim.cr1.modify(|_, w| w.cen().set_bit().urs().set_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 114 | self.tim.cr1().modify(|_, w| w.cen().set_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L113
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:113:34 | 113 | self.tim.cnt.reset(); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 113 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private: src/timer/delay.rs#L112
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim17::RegisterBlock` is private --> src/timer/delay.rs:112:34 | 112 | self.tim.arr.write(|w| unsafe { w.bits(reload as _) }); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 112 | self.tim.arr().write(|w| unsafe { w.bits(reload as _) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L117
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:117:34 | 117 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 117 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L116
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:116:34 | 116 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 116 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L115
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:115:40 | 115 | while self.tim.sr.read().uif().bit_is_clear() {} | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 115 | while self.tim.sr().read().uif().bit_is_clear() {} | ++
field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L114
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:114:34 | 114 | self.tim.cr1.modify(|_, w| w.cen().set_bit().urs().set_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 114 | self.tim.cr1().modify(|_, w| w.cen().set_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L113
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:113:34 | 113 | self.tim.cnt.reset(); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 113 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private: src/timer/delay.rs#L112
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim16::RegisterBlock` is private --> src/timer/delay.rs:112:34 | 112 | self.tim.arr.write(|w| unsafe { w.bits(reload as _) }); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 112 | self.tim.arr().write(|w| unsafe { w.bits(reload as _) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L117
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:117:34 | 117 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 117 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L116
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:116:34 | 116 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 116 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L115
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:115:40 | 115 | while self.tim.sr.read().uif().bit_is_clear() {} | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 115 | while self.tim.sr().read().uif().bit_is_clear() {} | ++
field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L114
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:114:34 | 114 | self.tim.cr1.modify(|_, w| w.cen().set_bit().urs().set_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 114 | self.tim.cr1().modify(|_, w| w.cen().set_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L113
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:113:34 | 113 | self.tim.cnt.reset(); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 113 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private: src/timer/delay.rs#L112
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim14::RegisterBlock` is private --> src/timer/delay.rs:112:34 | 112 | self.tim.arr.write(|w| unsafe { w.bits(reload as _) }); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 112 | self.tim.arr().write(|w| unsafe { w.bits(reload as _) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L117
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:117:34 | 117 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 117 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L116
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:116:34 | 116 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 116 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L115
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:115:40 | 115 | while self.tim.sr.read().uif().bit_is_clear() {} | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 115 | while self.tim.sr().read().uif().bit_is_clear() {} | ++
field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L114
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:114:34 | 114 | self.tim.cr1.modify(|_, w| w.cen().set_bit().urs().set_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 114 | self.tim.cr1().modify(|_, w| w.cen().set_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L113
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:113:34 | 113 | self.tim.cnt.reset(); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 113 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private: src/timer/delay.rs#L112
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim3::RegisterBlock` is private --> src/timer/delay.rs:112:34 | 112 | self.tim.arr.write(|w| unsafe { w.bits(reload as _) }); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 112 | self.tim.arr().write(|w| unsafe { w.bits(reload as _) }); | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L117
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:117:34 | 117 | self.tim.cr1.modify(|_, w| w.cen().clear_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 117 | self.tim.cr1().modify(|_, w| w.cen().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L116
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:116:34 | 116 | self.tim.sr.modify(|_, w| w.uif().clear_bit()); | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 116 | self.tim.sr().modify(|_, w| w.uif().clear_bit()); | ++
field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L115
error[E0616]: field `sr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:115:40 | 115 | while self.tim.sr.read().uif().bit_is_clear() {} | ^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 115 | while self.tim.sr().read().uif().bit_is_clear() {} | ++
field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L114
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:114:34 | 114 | self.tim.cr1.modify(|_, w| w.cen().set_bit().urs().set_bit()); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 114 | self.tim.cr1().modify(|_, w| w.cen().set_bit().urs().set_bit()); | ++
field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L113
error[E0616]: field `cnt` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:113:34 | 113 | self.tim.cnt.reset(); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cnt` also exists, call it with parentheses | 113 | self.tim.cnt().reset(); | ++
field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private: src/timer/delay.rs#L112
error[E0616]: field `arr` of struct `stm32c0::stm32c011::tim1::RegisterBlock` is private --> src/timer/delay.rs:112:34 | 112 | self.tim.arr.write(|w| unsafe { w.bits(reload as _) }); | ^^^ private field ... 171 | / delays! { 172 | | TIM1: tim1, 173 | | TIM3: tim3, 174 | | TIM14: tim14, 175 | | TIM16: tim16, 176 | | TIM17: tim17, 177 | | } | |_- in this macro invocation | = note: this error originates in the macro `delays` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `arr` also exists, call it with parentheses | 112 | self.tim.arr().write(|w| unsafe { w.bits(reload as _) }); | ++
field `dr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L266
error[E0616]: field `dr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:266:87 | 266 | ptr::write_volatile(core::cell::UnsafeCell::raw_get(&self.spi.dr as *const _ as _), byte) | ^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dr` also exists, call it with parentheses | 266 | ptr::write_volatile(core::cell::UnsafeCell::raw_get(&self.spi.dr() as *const _ as _), byte) | ++
field `sr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L256
error[E0616]: field `sr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:256:35 | 256 | let sr = self.spi.sr.read(); | ^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 256 | let sr = self.spi.sr().read(); | ++
field `dr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L248
error[E0616]: field `dr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:248:54 | 248 | ptr::read_volatile(&self.spi.dr as *const _ as *const u8) | ^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `dr` also exists, call it with parentheses | 248 | ptr::read_volatile(&self.spi.dr() as *const _ as *const u8) | ++
field `sr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L236
error[E0616]: field `sr` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:236:35 | 236 | let sr = self.spi.sr.read(); | ^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `sr` also exists, call it with parentheses | 236 | let sr = self.spi.sr().read(); | ++
field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L213
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:213:26 | 213 | self.spi.cr1.modify(|_, w| | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 213 | self.spi.cr1().modify(|_, w| | ++
field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L207
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:207:26 | 207 | self.spi.cr1.modify(|_, w| | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 207 | self.spi.cr1().modify(|_, w| | ++
field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L201
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:201:26 | 201 | self.spi.cr2.modify(|_, w| unsafe { | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 201 | self.spi.cr2().modify(|_, w| unsafe { | ++
field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L172
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:172:21 | 172 | spi.cr1.write(|w| unsafe { | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 172 | spi.cr1().write(|w| unsafe { | ++
field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L165
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:165:21 | 165 | spi.cr2.write(|w| unsafe { | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 165 | spi.cr2().write(|w| unsafe { | ++
field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private: src/spi.rs#L151
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::spi::RegisterBlock` is private --> src/spi.rs:151:21 | 151 | spi.cr2.write(|w| w.ssoe().clear_bit()); | ^^^ private field ... 281 | / spi!( 282 | | SPI, 283 | | spi1, 284 | | sck: [ ... | 302 | | ], 303 | | ); | |_- in this macro invocation | = note: this error originates in the macro `spi` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 151 | spi.cr2().write(|w| w.ssoe().clear_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L530
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:530:23 | 530 | usart.icr.write(|w| w.rtocf().set_bit()); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 530 | usart.icr().write(|w| w.rtocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L506
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:506:22 | 506 | .icr | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 506 | .icr() | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L445
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:445:23 | 445 | usart.cr3.write(|w| w.dem().bit(PINS::DRIVER_ENABLE)); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 445 | usart.cr3().write(|w| w.dem().bit(PINS::DRIVER_ENABLE)); | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L415
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:415:23 | 415 | usart.cr3.write(|w| unsafe { | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 415 | usart.cr3().write(|w| unsafe { | ++
field `rtor` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L412
error[E0616]: field `rtor` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:412:27 | 412 | usart.rtor.write(|w| unsafe { w.rto().bits(timeout) }); | ^^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rtor` also exists, call it with parentheses | 412 | usart.rtor().write(|w| unsafe { w.rto().bits(timeout) }); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L411
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:411:27 | 411 | usart.cr2.modify(|_, w| w.rtoen().set_bit()); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 411 | usart.cr2().modify(|_, w| w.rtoen().set_bit()); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L402
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:402:23 | 402 | usart.cr2.write(|w| unsafe { | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 402 | usart.cr2().write(|w| unsafe { | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L400
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:400:23 | 400 | usart.cr3.reset(); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 400 | usart.cr3().reset(); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L399
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:399:23 | 399 | usart.cr2.reset(); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 399 | usart.cr2().reset(); | ++
field `brr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L396
error[E0616]: field `brr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:396:23 | 396 | usart.brr.write(|w| unsafe { w.bits(div as u32) }); | ^^^ private field ... 587 | uart!(USART2, usart2, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `brr` also exists, call it with parentheses | 396 | usart.brr().write(|w| unsafe { w.bits(div as u32) }); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L530
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:530:23 | 530 | usart.icr.write(|w| w.rtocf().set_bit()); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 530 | usart.icr().write(|w| w.rtocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L506
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:506:22 | 506 | .icr | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 506 | .icr() | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L445
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:445:23 | 445 | usart.cr3.write(|w| w.dem().bit(PINS::DRIVER_ENABLE)); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 445 | usart.cr3().write(|w| w.dem().bit(PINS::DRIVER_ENABLE)); | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L415
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:415:23 | 415 | usart.cr3.write(|w| unsafe { | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 415 | usart.cr3().write(|w| unsafe { | ++
field `rtor` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L412
error[E0616]: field `rtor` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:412:27 | 412 | usart.rtor.write(|w| unsafe { w.rto().bits(timeout) }); | ^^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rtor` also exists, call it with parentheses | 412 | usart.rtor().write(|w| unsafe { w.rto().bits(timeout) }); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L411
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:411:27 | 411 | usart.cr2.modify(|_, w| w.rtoen().set_bit()); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 411 | usart.cr2().modify(|_, w| w.rtoen().set_bit()); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L402
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:402:23 | 402 | usart.cr2.write(|w| unsafe { | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 402 | usart.cr2().write(|w| unsafe { | ++
field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L400
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:400:23 | 400 | usart.cr3.reset(); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr3` also exists, call it with parentheses | 400 | usart.cr3().reset(); | ++
field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L399
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:399:23 | 399 | usart.cr2.reset(); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 399 | usart.cr2().reset(); | ++
field `brr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L396
error[E0616]: field `brr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:396:23 | 396 | usart.brr.write(|w| unsafe { w.bits(div as u32) }); | ^^^ private field ... 586 | uart!(USART1, usart1, 1); | ------------------------ in this macro invocation | = note: this error originates in the macro `uart` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `brr` also exists, call it with parentheses | 396 | usart.brr().write(|w| unsafe { w.bits(div as u32) }); | ++
field `tdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L335
error[E0616]: field `tdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:335:27 | 335 | usart.tdr.write(|w| unsafe { w.bits(byte as u32) }); | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `tdr` also exists, call it with parentheses | 335 | usart.tdr().write(|w| unsafe { w.bits(byte as u32) }); | ++
field `rdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L284
error[E0616]: field `rdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:284:41 | 284 | return Ok(usart.rdr.read().bits() as u8) | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rdr` also exists, call it with parentheses | 284 | return Ok(usart.rdr().read().bits() as u8) | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L281
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:281:31 | 281 | usart.icr.write(|w| w.orecf().set_bit()); | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 281 | usart.icr().write(|w| w.orecf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L278
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:278:31 | 278 | usart.icr.write(|w| w.necf().set_bit()); | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 278 | usart.icr().write(|w| w.necf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L275
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:275:31 | 275 | usart.icr.write(|w| w.fecf().set_bit()); | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 275 | usart.icr().write(|w| w.fecf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L272
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:272:31 | 272 | usart.icr.write(|w| w.pecf().set_bit()); | ^^^ private field ... 565 | / uart_shared!(USART2, USART2_RX, USART2_TX, 566 | | tx: [ 567 | | (PA2, AltFunction::AF1), 568 | | (PA4, AltFunction::AF1), ... | 583 | | ] 584 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 272 | usart.icr().write(|w| w.pecf().set_bit()); | ++
field `tdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L335
error[E0616]: field `tdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:335:27 | 335 | usart.tdr.write(|w| unsafe { w.bits(byte as u32) }); | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `tdr` also exists, call it with parentheses | 335 | usart.tdr().write(|w| unsafe { w.bits(byte as u32) }); | ++
field `rdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L284
error[E0616]: field `rdr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:284:41 | 284 | return Ok(usart.rdr.read().bits() as u8) | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rdr` also exists, call it with parentheses | 284 | return Ok(usart.rdr().read().bits() as u8) | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L281
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:281:31 | 281 | usart.icr.write(|w| w.orecf().set_bit()); | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 281 | usart.icr().write(|w| w.orecf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L278
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:278:31 | 278 | usart.icr.write(|w| w.necf().set_bit()); | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 278 | usart.icr().write(|w| w.necf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L275
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:275:31 | 275 | usart.icr.write(|w| w.fecf().set_bit()); | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 275 | usart.icr().write(|w| w.fecf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private: src/serial/usart.rs#L272
error[E0616]: field `icr` of struct `stm32c0::stm32c011::usart1::RegisterBlock` is private --> src/serial/usart.rs:272:31 | 272 | usart.icr.write(|w| w.pecf().set_bit()); | ^^^ private field ... 542 | / uart_shared!(USART1, USART1_RX, USART1_TX, 543 | | tx: [ 544 | | (PA0, AltFunction::AF4), 545 | | (PA9, AltFunction::AF1), ... | 562 | | ] 563 | | ); | |_- in this macro invocation | = note: this error originates in the macro `uart_shared` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 272 | usart.icr().write(|w| w.pecf().set_bit()); | ++
field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L342
error[E0616]: field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:342:17 | 342 | self.rb.wpr.write(|w| unsafe { w.bits(0xFF) }); | ^^^ private field | help: a method `wpr` also exists, call it with parentheses | 342 | self.rb.wpr().write(|w| unsafe { w.bits(0xFF) }); | ++
field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L340
error[E0616]: field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:340:17 | 340 | self.rb.icsr.write(|w| w.init().clear_bit()); | ^^^^ private field | help: a method `icsr` also exists, call it with parentheses | 340 | self.rb.icsr().write(|w| w.init().clear_bit()); | ++
field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L335
error[E0616]: field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:335:27 | 335 | while self.rb.icsr.read().initf().bit_is_clear() {} | ^^^^ private field | help: a method `icsr` also exists, call it with parentheses | 335 | while self.rb.icsr().read().initf().bit_is_clear() {} | ++
field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L334
error[E0616]: field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:334:21 | 334 | self.rb.icsr.write(|w| unsafe { w.bits(0xFFFF_FFFF) }); | ^^^^ private field | help: a method `icsr` also exists, call it with parentheses | 334 | self.rb.icsr().write(|w| unsafe { w.bits(0xFFFF_FFFF) }); | ++
field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L333
error[E0616]: field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:333:21 | 333 | self.rb.icsr.write(|w| w.init().set_bit()); | ^^^^ private field | help: a method `icsr` also exists, call it with parentheses | 333 | self.rb.icsr().write(|w| w.init().set_bit()); | ++
field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L331
error[E0616]: field `icsr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:331:27 | 331 | let isr = self.rb.icsr.read(); | ^^^^ private field | help: a method `icsr` also exists, call it with parentheses | 331 | let isr = self.rb.icsr().read(); | ++
field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L329
error[E0616]: field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:329:17 | 329 | self.rb.wpr.write(|w| unsafe { w.bits(0x53) }); | ^^^ private field | help: a method `wpr` also exists, call it with parentheses | 329 | self.rb.wpr().write(|w| unsafe { w.bits(0x53) }); | ++
field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L328
error[E0616]: field `wpr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:328:17 | 328 | self.rb.wpr.write(|w| unsafe { w.bits(0xCA) }); | ^^^ private field | help: a method `wpr` also exists, call it with parentheses | 328 | self.rb.wpr().write(|w| unsafe { w.bits(0xCA) }); | ++
field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L309
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:309:16 | 309 | rb.cr.modify(|_, w| unsafe { | ^^ private field | help: a method `cr` also exists, call it with parentheses | 309 | rb.cr().modify(|_, w| unsafe { | ++
field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L224
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:224:16 | 224 | rb.cr.modify(|_, w| w.alrae().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 224 | rb.cr().modify(|_, w| w.alrae().set_bit()); | ++
field `alrmar` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L208
error[E0616]: field `alrmar` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:208:16 | 208 | rb.alrmar.write(|w| unsafe { | ^^^^^^ private field | help: a method `alrmar` also exists, call it with parentheses | 208 | rb.alrmar().write(|w| unsafe { | ++
field `alrmassr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L202
error[E0616]: field `alrmassr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:202:16 | 202 | rb.alrmassr.write(|w| unsafe { | ^^^^^^^^ private field | help: a method `alrmassr` also exists, call it with parentheses | 202 | rb.alrmassr().write(|w| unsafe { | ++
field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L191
error[E0616]: field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:191:17 | 191 | self.rb.dr.read().wdu().bits() | ^^ private field | help: a method `dr` also exists, call it with parentheses | 191 | self.rb.dr().read().wdu().bits() | ++
field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L182
error[E0616]: field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:182:28 | 182 | let date = self.rb.dr.read(); | ^^ private field | help: a method `dr` also exists, call it with parentheses | 182 | let date = self.rb.dr().read(); | ++
field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L177
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:177:21 | 177 | self.rb.cr.read().fmt().bit(), | ^^ private field | help: a method `cr` also exists, call it with parentheses | 177 | self.rb.cr().read().fmt().bit(), | ++
field `tr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L172
error[E0616]: field `tr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:172:29 | 172 | let timer = self.rb.tr.read(); | ^^ private field | help: a method `tr` also exists, call it with parentheses | 172 | let timer = self.rb.tr().read(); | ++
field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L167
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:167:16 | 167 | rb.cr.modify(|_, w| w.fmt().bit(time.daylight_savings)); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 167 | rb.cr().modify(|_, w| w.fmt().bit(time.daylight_savings)); | ++
field `tr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L151
error[E0616]: field `tr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:151:16 | 151 | rb.tr.write(|w| unsafe { | ^^ private field | help: a method `tr` also exists, call it with parentheses | 151 | rb.tr().write(|w| unsafe { | ++
field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L127
error[E0616]: field `dr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:127:16 | 127 | rb.dr.write(|w| unsafe { | ^^ private field | help: a method `dr` also exists, call it with parentheses | 127 | rb.dr().write(|w| unsafe { | ++
field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private: src/rtc.rs#L117
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rtc::RegisterBlock` is private --> src/rtc.rs:117:16 | 117 | rb.cr.modify(|_, w| w.fmt().bit(fmt == RtcHourFormat::H12)); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 117 | rb.cr().modify(|_, w| w.fmt().bit(fmt == RtcHourFormat::H12)); | ++
field `ioprstr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L321
error[E0616]: field `ioprstr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:321:58 | 321 | IOP => (IOPENR, iopenr, IOPSMENR, iopsmenr, IOPRSTR, ioprstr, "Input-Output Peripheral Bus (IOP) registers"), | ^^^^^^^ private field
field `iopsmenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L321
error[E0616]: field `iopsmenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:321:39 | 321 | IOP => (IOPENR, iopenr, IOPSMENR, iopsmenr, IOPRSTR, ioprstr, "Input-Output Peripheral Bus (IOP) registers"), | ^^^^^^^^ private field
field `iopenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L321
error[E0616]: field `iopenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:321:21 | 321 | IOP => (IOPENR, iopenr, IOPSMENR, iopsmenr, IOPRSTR, ioprstr, "Input-Output Peripheral Bus (IOP) registers"), | ^^^^^^ private field
field `apbrstr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L320
error[E0616]: field `apbrstr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:320:64 | 320 | APB2 => (APBENR2, apbenr2, APBSMENR2, apbsmenr2, APBRSTR2, apbrstr2, "Advanced Peripheral Bus 2 (APB2) registers"), | ^^^^^^^^ private field
field `apbsmenr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L320
error[E0616]: field `apbsmenr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:320:43 | 320 | APB2 => (APBENR2, apbenr2, APBSMENR2, apbsmenr2, APBRSTR2, apbrstr2, "Advanced Peripheral Bus 2 (APB2) registers"), | ^^^^^^^^^ private field
field `apbenr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L320
error[E0616]: field `apbenr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:320:23 | 320 | APB2 => (APBENR2, apbenr2, APBSMENR2, apbsmenr2, APBRSTR2, apbrstr2, "Advanced Peripheral Bus 2 (APB2) registers"), | ^^^^^^^ private field
field `apbrstr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L319
error[E0616]: field `apbrstr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:319:64 | 319 | APB1 => (APBENR1, apbenr1, APBSMENR1, apbsmenr1, APBRSTR1, apbrstr1, "Advanced Peripheral Bus 1 (APB1) registers"), | ^^^^^^^^ private field
field `apbsmenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L319
error[E0616]: field `apbsmenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:319:43 | 319 | APB1 => (APBENR1, apbenr1, APBSMENR1, apbsmenr1, APBRSTR1, apbrstr1, "Advanced Peripheral Bus 1 (APB1) registers"), | ^^^^^^^^^ private field
field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L319
error[E0616]: field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:319:23 | 319 | APB1 => (APBENR1, apbenr1, APBSMENR1, apbsmenr1, APBRSTR1, apbrstr1, "Advanced Peripheral Bus 1 (APB1) registers"), | ^^^^^^^ private field
field `ahbrstr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L318
error[E0616]: field `ahbrstr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:318:58 | 318 | AHB => (AHBENR, ahbenr, AHBSMENR, ahbsmenr, AHBRSTR, ahbrstr, "AMBA High-performance Bus (AHB) registers"), | ^^^^^^^ private field
field `ahbsmenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L318
error[E0616]: field `ahbsmenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:318:39 | 318 | AHB => (AHBENR, ahbenr, AHBSMENR, ahbsmenr, AHBRSTR, ahbrstr, "AMBA High-performance Bus (AHB) registers"), | ^^^^^^^^ private field
field `ahbenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L318
error[E0616]: field `ahbenr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:318:21 | 318 | AHB => (AHBENR, ahbenr, AHBSMENR, ahbsmenr, AHBRSTR, ahbrstr, "AMBA High-performance Bus (AHB) registers"), | ^^^^^^ private field
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L180
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:180:14 | 180 | self.csr1.modify(|_, w| unsafe { | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 180 | self.csr1().modify(|_, w| unsafe { | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L173
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:173:14 | 173 | self.csr1.modify(|_, w| w.rtcrst().set_bit()); | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 173 | self.csr1().modify(|_, w| w.rtcrst().set_bit()); | ++
field `apbsmenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L172
error[E0616]: field `apbsmenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:172:14 | 172 | self.apbsmenr1.modify(|_, w| w.rtcapbsmen().set_bit()); | ^^^^^^^^^ private field | help: a method `apbsmenr1` also exists, call it with parentheses | 172 | self.apbsmenr1().modify(|_, w| w.rtcapbsmen().set_bit()); | ++
field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L170
error[E0616]: field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:170:14 | 170 | self.apbenr1 | ^^^^^^^ private field | help: a method `apbenr1` also exists, call it with parentheses | 170 | self.apbenr1() | ++
field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L165
error[E0616]: field `apbenr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:165:14 | 165 | self.apbenr1.modify(|_, w| w.pwren().set_bit()); | ^^^^^^^ private field | help: a method `apbenr1` also exists, call it with parentheses | 165 | self.apbenr1().modify(|_, w| w.pwren().set_bit()); | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L161
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:161:20 | 161 | while self.csr1.read().lserdy().bit_is_clear() {} | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 161 | while self.csr1().read().lserdy().bit_is_clear() {} | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L159
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:159:14 | 159 | self.csr1 | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 159 | self.csr1() | ++
field `csr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L155
error[E0616]: field `csr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:155:20 | 155 | while self.csr2.read().lsirdy().bit_is_clear() {} | ^^^^ private field | help: a method `csr2` also exists, call it with parentheses | 155 | while self.csr2().read().lsirdy().bit_is_clear() {} | ++
field `csr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L154
error[E0616]: field `csr2` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:154:14 | 154 | self.csr2.modify(|_, w| w.lsion().set_bit()); | ^^^^ private field | help: a method `csr2` also exists, call it with parentheses | 154 | self.csr2().modify(|_, w| w.lsion().set_bit()); | ++
field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L150
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:150:20 | 150 | while self.cr.read().hserdy().bit_is_clear() {} | ^^ private field | help: a method `cr` also exists, call it with parentheses | 150 | while self.cr().read().hserdy().bit_is_clear() {} | ++
field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L148
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:148:14 | 148 | self.cr | ^^ private field | help: a method `cr` also exists, call it with parentheses | 148 | self.cr() | ++
field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L144
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:144:20 | 144 | while self.cr.read().hsirdy().bit_is_clear() {} | ^^ private field | help: a method `cr` also exists, call it with parentheses | 144 | while self.cr().read().hsirdy().bit_is_clear() {} | ++
field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L143
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:143:14 | 143 | self.cr.modify(|_, w| w.hsion().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 143 | self.cr().modify(|_, w| w.hsion().set_bit()); | ++
field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L128
error[E0616]: field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:128:20 | 128 | while self.cfgr.read().sws().bits() != sw_bits {} | ^^^^ private field | help: a method `cfgr` also exists, call it with parentheses | 128 | while self.cfgr().read().sws().bits() != sw_bits {} | ++
field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L119
error[E0616]: field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:119:14 | 119 | self.cfgr.modify(|_, w| unsafe { | ^^^^ private field | help: a method `cfgr` also exists, call it with parentheses | 119 | self.cfgr().modify(|_, w| unsafe { | ++
field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/mod.rs#L94
error[E0616]: field `cr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/mod.rs:94:22 | 94 | self.cr.write(|w| unsafe { w.hsidiv().bits(div_bits) }); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 94 | self.cr().write(|w| unsafe { w.hsidiv().bits(div_bits) }); | ++
field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L95
error[E0616]: field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:95:25 | 95 | rcc.cfgr.modify(|_, w| unsafe { | ^^^^ private field ... 131 | mco!(PA8<DefaultMode>, PA9<DefaultMode>, PF2<DefaultMode>); | ---------------------------------------------------------- in this macro invocation | = note: this error originates in the macro `mco` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cfgr` also exists, call it with parentheses | 95 | rcc.cfgr().modify(|_, w| unsafe { | ++
field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L66
error[E0616]: field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:66:13 | 66 | rcc.cfgr.modify(|_, w| unsafe { w.mcosel().bits(0) }); | ^^^^ private field | help: a method `cfgr` also exists, call it with parentheses | 66 | rcc.cfgr().modify(|_, w| unsafe { w.mcosel().bits(0) }); | ++
field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L60
error[E0616]: field `cfgr` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:60:13 | 60 | rcc.cfgr | ^^^^ private field | help: a method `cfgr` also exists, call it with parentheses | 60 | rcc.cfgr() | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L44
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:44:13 | 44 | rcc.csr1.modify(|_, w| w.lscosel().bit(src_select_bit)); | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 44 | rcc.csr1().modify(|_, w| w.lscosel().bit(src_select_bit)); | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L19
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:19:13 | 19 | rcc.csr1.modify(|_, w| w.lscoen().clear_bit()); | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 19 | rcc.csr1().modify(|_, w| w.lscoen().clear_bit()); | ++
field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private: src/rcc/clockout.rs#L14
error[E0616]: field `csr1` of struct `stm32c0::stm32c011::rcc::RegisterBlock` is private --> src/rcc/clockout.rs:14:13 | 14 | rcc.csr1.modify(|_, w| w.lscoen().set_bit()); | ^^^^ private field | help: a method `csr1` also exists, call it with parentheses | 14 | rcc.csr1().modify(|_, w| w.lscoen().set_bit()); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L107
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:107:45 | 107 | WakeUp::InternalLine => self.rb.cr3.modify(|_, w| w.eiwul().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 107 | WakeUp::InternalLine => self.rb.cr3().modify(|_, w| w.eiwul().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L106
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:106:38 | 106 | WakeUp::Line6 => self.rb.cr3.modify(|_, w| w.ewup6().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 106 | WakeUp::Line6 => self.rb.cr3().modify(|_, w| w.ewup6().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L105
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:105:38 | 105 | WakeUp::Line4 => self.rb.cr3.modify(|_, w| w.ewup4().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 105 | WakeUp::Line4 => self.rb.cr3().modify(|_, w| w.ewup4().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L104
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:104:38 | 104 | WakeUp::Line3 => self.rb.cr3.modify(|_, w| w.ewup3().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 104 | WakeUp::Line3 => self.rb.cr3().modify(|_, w| w.ewup3().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L103
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:103:38 | 103 | WakeUp::Line2 => self.rb.cr3.modify(|_, w| w.ewup2().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 103 | WakeUp::Line2 => self.rb.cr3().modify(|_, w| w.ewup2().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L102
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:102:38 | 102 | WakeUp::Line1 => self.rb.cr3.modify(|_, w| w.ewup1().clear_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 102 | WakeUp::Line1 => self.rb.cr3().modify(|_, w| w.ewup1().clear_bit()), | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L96
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:96:45 | 96 | WakeUp::InternalLine => self.rb.cr3.modify(|_, w| w.eiwul().set_bit()), | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 96 | WakeUp::InternalLine => self.rb.cr3().modify(|_, w| w.eiwul().set_bit()), | ++
field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L94
error[E0616]: field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:94:25 | 94 | self.rb.cr4.modify(|_, w| w.wp6().bit(edge)); | ^^^ private field | help: a method `cr4` also exists, call it with parentheses | 94 | self.rb.cr4().modify(|_, w| w.wp6().bit(edge)); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L93
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:93:25 | 93 | self.rb.cr3.modify(|_, w| w.ewup6().set_bit()); | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 93 | self.rb.cr3().modify(|_, w| w.ewup6().set_bit()); | ++
field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L90
error[E0616]: field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:90:25 | 90 | self.rb.cr4.modify(|_, w| w.wp4().bit(edge)); | ^^^ private field | help: a method `cr4` also exists, call it with parentheses | 90 | self.rb.cr4().modify(|_, w| w.wp4().bit(edge)); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L89
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:89:25 | 89 | self.rb.cr3.modify(|_, w| w.ewup4().set_bit()); | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 89 | self.rb.cr3().modify(|_, w| w.ewup4().set_bit()); | ++
field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L86
error[E0616]: field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:86:25 | 86 | self.rb.cr4.modify(|_, w| w.wp3().bit(edge)); | ^^^ private field | help: a method `cr4` also exists, call it with parentheses | 86 | self.rb.cr4().modify(|_, w| w.wp3().bit(edge)); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L85
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:85:25 | 85 | self.rb.cr3.modify(|_, w| w.ewup3().set_bit()); | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 85 | self.rb.cr3().modify(|_, w| w.ewup3().set_bit()); | ++
field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L82
error[E0616]: field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:82:25 | 82 | self.rb.cr4.modify(|_, w| w.wp2().bit(edge)); | ^^^ private field | help: a method `cr4` also exists, call it with parentheses | 82 | self.rb.cr4().modify(|_, w| w.wp2().bit(edge)); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L81
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:81:25 | 81 | self.rb.cr3.modify(|_, w| w.ewup2().set_bit()); | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 81 | self.rb.cr3().modify(|_, w| w.ewup2().set_bit()); | ++
field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L78
error[E0616]: field `cr4` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:78:25 | 78 | self.rb.cr4.modify(|_, w| w.wp1().bit(edge)); | ^^^ private field | help: a method `cr4` also exists, call it with parentheses | 78 | self.rb.cr4().modify(|_, w| w.wp1().bit(edge)); | ++
field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L77
error[E0616]: field `cr3` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:77:25 | 77 | self.rb.cr3.modify(|_, w| w.ewup1().set_bit()); | ^^^ private field | help: a method `cr3` also exists, call it with parentheses | 77 | self.rb.cr3().modify(|_, w| w.ewup1().set_bit()); | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L68
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:68:17 | 68 | self.rb.scr.write(|w| w.csbf().set_bit()); | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 68 | self.rb.scr().write(|w| w.csbf().set_bit()); | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L62
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:62:38 | 62 | WakeUp::Line6 => self.rb.scr.write(|w| w.cwuf6().set_bit()), | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 62 | WakeUp::Line6 => self.rb.scr().write(|w| w.cwuf6().set_bit()), | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L61
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:61:38 | 61 | WakeUp::Line4 => self.rb.scr.write(|w| w.cwuf4().set_bit()), | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 61 | WakeUp::Line4 => self.rb.scr().write(|w| w.cwuf4().set_bit()), | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L60
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:60:38 | 60 | WakeUp::Line3 => self.rb.scr.write(|w| w.cwuf3().set_bit()), | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 60 | WakeUp::Line3 => self.rb.scr().write(|w| w.cwuf3().set_bit()), | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L59
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:59:38 | 59 | WakeUp::Line2 => self.rb.scr.write(|w| w.cwuf2().set_bit()), | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 59 | WakeUp::Line2 => self.rb.scr().write(|w| w.cwuf2().set_bit()), | ++
field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L58
error[E0616]: field `scr` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:58:38 | 58 | WakeUp::Line1 => self.rb.scr.write(|w| w.cwuf1().set_bit()), | ^^^ private field | help: a method `scr` also exists, call it with parentheses | 58 | WakeUp::Line1 => self.rb.scr().write(|w| w.cwuf1().set_bit()), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L51
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:51:38 | 51 | WakeUp::Line6 => self.rb.sr1.read().wuf6().bit_is_set(), | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 51 | WakeUp::Line6 => self.rb.sr1().read().wuf6().bit_is_set(), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L50
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:50:38 | 50 | WakeUp::Line4 => self.rb.sr1.read().wuf4().bit_is_set(), | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 50 | WakeUp::Line4 => self.rb.sr1().read().wuf4().bit_is_set(), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L49
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:49:38 | 49 | WakeUp::Line3 => self.rb.sr1.read().wuf3().bit_is_set(), | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 49 | WakeUp::Line3 => self.rb.sr1().read().wuf3().bit_is_set(), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L48
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:48:38 | 48 | WakeUp::Line2 => self.rb.sr1.read().wuf2().bit_is_set(), | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 48 | WakeUp::Line2 => self.rb.sr1().read().wuf2().bit_is_set(), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L47
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:47:38 | 47 | WakeUp::Line1 => self.rb.sr1.read().wuf1().bit_is_set(), | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 47 | WakeUp::Line1 => self.rb.sr1().read().wuf1().bit_is_set(), | ++
field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private: src/power.rs#L42
error[E0616]: field `sr1` of struct `stm32c0::stm32c011::pwr::RegisterBlock` is private --> src/power.rs:42:17 | 42 | self.rb.sr1.read().sbf().bit_is_set() | ^^^ private field | help: a method `sr1` also exists, call it with parentheses | 42 | self.rb.sr1().read().sbf().bit_is_set() | ++
field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L499
error[E0616]: field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:499:47 | 499 | bytes[idx] = self.i2c.rxdr.read().rxdata().bits(); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rxdr` also exists, call it with parentheses | 499 | bytes[idx] = self.i2c.rxdr().read().rxdata().bits(); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L54
error[E0616]: field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:54:26 | 54 | let _ = $i2c.rxdr.read().rxdata().bits(); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_rxdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rxdr` also exists, call it with parentheses | 54 | let _ = $i2c.rxdr().read().rxdata().bits(); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L52
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:52:17 | 52 | if $i2c.isr.read().rxne().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_rxdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 52 | if $i2c.isr().read().rxne().bit_is_set() { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L487
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:487:26 | 487 | self.i2c.icr.write(|w| | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 487 | self.i2c.icr().write(|w| | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L479
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:479:26 | 479 | self.i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 479 | self.i2c.cr2().modify(|_, w| unsafe { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L469
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:469:34 | 469 | self.i2c.txdr.write(|w| unsafe { w.txdata().bits(0x21) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 469 | self.i2c.txdr().write(|w| unsafe { w.txdata().bits(0x21) }); | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L463
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:463:34 | 463 | self.i2c.txdr.write(|w| unsafe { w.txdata().bits(bytes[idx]) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 463 | self.i2c.txdr().write(|w| unsafe { w.txdata().bits(bytes[idx]) }); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L454
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:454:26 | 454 | self.i2c.icr.write(|w| w.addrcf().set_bit() ); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 454 | self.i2c.icr().write(|w| w.addrcf().set_bit() ); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L452
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:452:26 | 452 | self.i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 452 | self.i2c.isr().write(|w| w.txe().set_bit()); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L447
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:447:26 | 447 | self.i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 447 | self.i2c.cr2().modify(|_, w| unsafe { | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L416
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:416:40 | 416 | let isr = self.i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 416 | let isr = self.i2c.isr().read(); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L415
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:415:29 | 415 | if self.i2c.isr.read().addr().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 415 | if self.i2c.isr().read().addr().bit_is_set() { | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L411
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:411:26 | 411 | self.i2c.cr1.modify(|_, w| w.sbc().bit(sbc_enabled) ); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 411 | self.i2c.cr1().modify(|_, w| w.sbc().bit(sbc_enabled) ); | ++
field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L400
error[E0616]: field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:400:47 | 400 | bytes[idx] = self.i2c.rxdr.read().rxdata().bits(); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rxdr` also exists, call it with parentheses | 400 | bytes[idx] = self.i2c.rxdr().read().rxdata().bits(); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L381
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:381:26 | 381 | self.i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 381 | self.i2c.cr2().modify(|_, w| unsafe { | ++
field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L376
error[E0616]: field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:376:34 | 376 | let _ = self.i2c.rxdr.read().rxdata().bits(); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rxdr` also exists, call it with parentheses | 376 | let _ = self.i2c.rxdr().read().rxdata().bits(); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L374
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:374:32 | 374 | while self.i2c.cr2.read().start().bit_is_set() {}; | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 374 | while self.i2c.cr2().read().start().bit_is_set() {}; | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L358
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:358:34 | 358 | self.i2c.txdr.write(|w| unsafe { w.txdata().bits(bytes[idx]) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 358 | self.i2c.txdr().write(|w| unsafe { w.txdata().bits(bytes[idx]) }); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L336
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:336:26 | 336 | self.i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 336 | self.i2c.cr2().modify(|_, w| unsafe { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L334
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:334:32 | 334 | while self.i2c.cr2.read().start().bit_is_set() {}; | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 334 | while self.i2c.cr2().read().start().bit_is_set() {}; | ++
field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L318
error[E0616]: field `rxdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:318:52 | 318 | rcv_buffer[idx] = self.i2c.rxdr.read().rxdata().bits(); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `rxdr` also exists, call it with parentheses | 318 | rcv_buffer[idx] = self.i2c.rxdr().read().rxdata().bits(); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L296
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:296:26 | 296 | self.i2c.cr2.write(|w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 296 | self.i2c.cr2().write(|w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L288
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:288:30 | 288 | self.i2c.txdr.write(|w| unsafe { w.txdata().bits(*byte) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 288 | self.i2c.txdr().write(|w| unsafe { w.txdata().bits(*byte) }); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L96
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:96:22 | 96 | $i2c.icr.write(|w| w.stopcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 96 | $i2c.icr().write(|w| w.stopcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L45
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:45:18 | 45 | $i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 45 | $i2c.isr().write(|w| w.txe().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L44
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:44:17 | 44 | if $i2c.isr.read().txe().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 44 | if $i2c.isr().read().txe().bit_is_set() { | ++
field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L40
error[E0616]: field `txdr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:40:18 | 40 | $i2c.txdr.write(|w| unsafe { w.txdata().bits(0) }); | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `txdr` also exists, call it with parentheses | 40 | $i2c.txdr().write(|w| unsafe { w.txdata().bits(0) }); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L39
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:39:17 | 39 | if $i2c.isr.read().txis().bit_is_set() { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `flush_txdr` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 39 | if $i2c.isr().read().txis().bit_is_set() { | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L81
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:81:22 | 81 | $i2c.cr2.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 81 | $i2c.cr2().modify(|_, w| unsafe { | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L76
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:76:22 | 76 | $i2c.icr.write(|w| w.nackcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 76 | $i2c.icr().write(|w| w.nackcf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L73
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:73:22 | 73 | $i2c.icr.write(|w| w.arlocf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 73 | $i2c.icr().write(|w| w.arlocf().set_bit()); | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L70
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:70:22 | 70 | $i2c.icr.write(|w| w.berrcf().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 70 | $i2c.icr().write(|w| w.berrcf().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L65
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:65:28 | 65 | let isr = $i2c.isr.read(); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `busy_wait` which comes from the expansion of the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 65 | let isr = $i2c.isr().read(); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L265
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:265:26 | 265 | self.i2c.cr2.write(|w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 265 | self.i2c.cr2().write(|w| unsafe { | ++
field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L260
error[E0616]: field `isr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:260:26 | 260 | self.i2c.isr.write(|w| w.txe().set_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `isr` also exists, call it with parentheses | 260 | self.i2c.isr().write(|w| w.txe().set_bit()); | ++
field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L257
error[E0616]: field `cr2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:257:32 | 257 | while self.i2c.cr2.read().start().bit_is_set() {}; | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr2` also exists, call it with parentheses | 257 | while self.i2c.cr2().read().start().bit_is_set() {}; | ++
field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L231
error[E0616]: field `icr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:231:58 | 231 | i2c::Event::AddressMatch => self.i2c.icr.write(|w| w.addrcf().set_bit()), | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `icr` also exists, call it with parentheses | 231 | i2c::Event::AddressMatch => self.i2c.icr().write(|w| w.addrcf().set_bit()), | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L225
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:225:50 | 225 | i2c::Event::Rxne => self.i2c.cr1.modify(|_, w| w.rxie().clear_bit()), | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 225 | i2c::Event::Rxne => self.i2c.cr1().modify(|_, w| w.rxie().clear_bit()), | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L224
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:224:58 | 224 | i2c::Event::AddressMatch => self.i2c.cr1.modify(|_, w| w.addrie().clear_bit()), | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 224 | i2c::Event::AddressMatch => self.i2c.cr1().modify(|_, w| w.addrie().clear_bit()), | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L218
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:218:50 | 218 | i2c::Event::Rxne => self.i2c.cr1.modify(|_, w| w.rxie().set_bit()), | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 218 | i2c::Event::Rxne => self.i2c.cr1().modify(|_, w| w.rxie().set_bit()), | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L217
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:217:58 | 217 | i2c::Event::AddressMatch => self.i2c.cr1.modify(|_, w| w.addrie().set_bit()), | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 217 | i2c::Event::AddressMatch => self.i2c.cr1().modify(|_, w| w.addrie().set_bit()), | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L205
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:205:25 | 205 | i2c.cr1.modify(|_, w| w.sbc().set_bit() ); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 205 | i2c.cr1().modify(|_, w| w.sbc().set_bit() ); | ++
field `oar2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L199
error[E0616]: field `oar2` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:199:25 | 199 | i2c.oar2.write( |w| unsafe { | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `oar2` also exists, call it with parentheses | 199 | i2c.oar2().write( |w| unsafe { | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L195
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:195:25 | 195 | i2c.cr1.modify(|_, w| w.sbc().set_bit() ); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 195 | i2c.cr1().modify(|_, w| w.sbc().set_bit() ); | ++
field `oar1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L189
error[E0616]: field `oar1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:189:25 | 189 | i2c.oar1.write(|w| unsafe { | ^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `oar1` also exists, call it with parentheses | 189 | i2c.oar1().write(|w| unsafe { | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L179
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:179:21 | 179 | i2c.cr1.modify(|_, w| unsafe { | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 179 | i2c.cr1().modify(|_, w| unsafe { | ++
field `timingr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L176
error[E0616]: field `timingr` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:176:21 | 176 | i2c.timingr.write(|w| unsafe { w.bits(timing_bits) }); | ^^^^^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `timingr` also exists, call it with parentheses | 176 | i2c.timingr().write(|w| unsafe { w.bits(timing_bits) }); | ++
field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private: src/i2c/blocking.rs#L172
error[E0616]: field `cr1` of struct `stm32c0::stm32c011::i2c::RegisterBlock` is private --> src/i2c/blocking.rs:172:21 | 172 | i2c.cr1.modify(|_, w| w.pe().clear_bit()); | ^^^ private field ... 508 | / i2c!( 509 | | I2C, 510 | | i2c1, 511 | | sda: [ ... | 522 | | ], 523 | | ); | |_- in this macro invocation | = note: this error originates in the macro `i2c` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `cr1` also exists, call it with parentheses | 172 | i2c.cr1().modify(|_, w| w.pe().clear_bit()); | ++
field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L605
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:605:64 | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L580
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:580:64 | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L562
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:562:68 | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << $i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L524
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:524:59 | 524 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << ($i + 16))) }; | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 524 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << ($i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L520
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:520:59 | 520 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << $i)) }; | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 520 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << $i)) }; | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L510
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:510:34 | 510 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 510 | gpio.moder().modify(|r, w| { | ++
field `afrh` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L506
error[E0616]: field `afrh` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:506:38 | 506 | gpio.afrh.modify(|r, w| { | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrh` also exists, call it with parentheses | 506 | gpio.afrh().modify(|r, w| { | ++
field `afrl` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L501
error[E0616]: field `afrl` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:501:38 | 501 | gpio.afrl.modify(|r, w| { | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrl` also exists, call it with parentheses | 501 | gpio.afrl().modify(|r, w| { | ++
field `ospeedr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L486
error[E0616]: field `ospeedr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:486:55 | 486 | let _ = &(*$GPIOX::ptr()).ospeedr.modify(|r, w| { | ^^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ospeedr` also exists, call it with parentheses | 486 | let _ = &(*$GPIOX::ptr()).ospeedr().modify(|r, w| { | ++
field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L473
error[E0616]: field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:473:45 | 473 | 12..=16 => exti.exticr4.modify(|r, w| unsafe { | ^^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr4` also exists, call it with parentheses | 473 | 12..=16 => exti.exticr4().modify(|r, w| unsafe { | ++
field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L470
error[E0616]: field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:470:44 | 470 | 8..=11 => exti.exticr3.modify(|r, w| unsafe { | ^^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr3` also exists, call it with parentheses | 470 | 8..=11 => exti.exticr3().modify(|r, w| unsafe { | ++
field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L467
error[E0616]: field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:467:44 | 467 | 4..=7 => exti.exticr2.modify(|r, w| unsafe { | ^^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr2` also exists, call it with parentheses | 467 | 4..=7 => exti.exticr2().modify(|r, w| unsafe { | ++
field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L464
error[E0616]: field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:464:45 | 464 | 0..=3 => exti.exticr1.modify(|r, w| unsafe { | ^^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr1` also exists, call it with parentheses | 464 | 0..=3 => exti.exticr1().modify(|r, w| unsafe { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L456
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:456:55 | 456 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 456 | let _ = &(*$GPIOX::ptr()).moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L453
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:453:55 | 453 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 453 | let _ = &(*$GPIOX::ptr()).pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L442
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:442:34 | 442 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 442 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L439
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:439:34 | 439 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 439 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L436
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:436:34 | 436 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 436 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L416
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:416:34 | 416 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 416 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L413
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:413:34 | 413 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 413 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L410
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:410:34 | 410 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 410 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L390
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:390:34 | 390 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 390 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L387
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:387:34 | 387 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 387 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L375
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:375:34 | 375 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 375 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L372
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:372:34 | 372 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 372 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L360
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:360:34 | 360 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 360 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L357
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:357:34 | 357 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 357 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L345
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:345:34 | 345 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 345 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L342
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:342:34 | 342 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 342 | gpio.pupdr().modify(|r, w| { | ++
field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L291
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:291:60 | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L276
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:276:60 | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L258
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:258:64 | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << self.i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L245
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:245:47 | 245 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << (self.i + 16))) }; | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 245 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << (self.i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private: src/gpio.rs#L239
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiof::RegisterBlock` is private --> src/gpio.rs:239:47 | 239 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << self.i)) }; | ^^^^ private field ... 726 | / gpio!(GPIOF, gpiof, PF, 5, [ 727 | | PF0: (pf0, 0), 728 | | PF1: (pf1, 1), 729 | | PF2: (pf2, 2), ... | 742 | | PF15: (pf15, 15), 743 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 239 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << self.i)) }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L605
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:605:64 | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L580
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:580:64 | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L562
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:562:68 | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << $i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L524
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:524:59 | 524 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << ($i + 16))) }; | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 524 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << ($i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L520
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:520:59 | 520 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << $i)) }; | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 520 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << $i)) }; | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L510
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:510:34 | 510 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 510 | gpio.moder().modify(|r, w| { | ++
field `afrh` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L506
error[E0616]: field `afrh` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:506:38 | 506 | gpio.afrh.modify(|r, w| { | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrh` also exists, call it with parentheses | 506 | gpio.afrh().modify(|r, w| { | ++
field `afrl` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L501
error[E0616]: field `afrl` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:501:38 | 501 | gpio.afrl.modify(|r, w| { | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrl` also exists, call it with parentheses | 501 | gpio.afrl().modify(|r, w| { | ++
field `ospeedr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L486
error[E0616]: field `ospeedr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:486:55 | 486 | let _ = &(*$GPIOX::ptr()).ospeedr.modify(|r, w| { | ^^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ospeedr` also exists, call it with parentheses | 486 | let _ = &(*$GPIOX::ptr()).ospeedr().modify(|r, w| { | ++
field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L473
error[E0616]: field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:473:45 | 473 | 12..=16 => exti.exticr4.modify(|r, w| unsafe { | ^^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr4` also exists, call it with parentheses | 473 | 12..=16 => exti.exticr4().modify(|r, w| unsafe { | ++
field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L470
error[E0616]: field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:470:44 | 470 | 8..=11 => exti.exticr3.modify(|r, w| unsafe { | ^^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr3` also exists, call it with parentheses | 470 | 8..=11 => exti.exticr3().modify(|r, w| unsafe { | ++
field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L467
error[E0616]: field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:467:44 | 467 | 4..=7 => exti.exticr2.modify(|r, w| unsafe { | ^^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr2` also exists, call it with parentheses | 467 | 4..=7 => exti.exticr2().modify(|r, w| unsafe { | ++
field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L464
error[E0616]: field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:464:45 | 464 | 0..=3 => exti.exticr1.modify(|r, w| unsafe { | ^^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr1` also exists, call it with parentheses | 464 | 0..=3 => exti.exticr1().modify(|r, w| unsafe { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L456
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:456:55 | 456 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 456 | let _ = &(*$GPIOX::ptr()).moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L453
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:453:55 | 453 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 453 | let _ = &(*$GPIOX::ptr()).pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L442
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:442:34 | 442 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 442 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L439
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:439:34 | 439 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 439 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L436
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:436:34 | 436 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 436 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L416
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:416:34 | 416 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 416 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L413
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:413:34 | 413 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 413 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L410
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:410:34 | 410 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 410 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L390
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:390:34 | 390 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 390 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L387
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:387:34 | 387 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 387 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L375
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:375:34 | 375 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 375 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L372
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:372:34 | 372 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 372 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L360
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:360:34 | 360 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 360 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L357
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:357:34 | 357 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 357 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L345
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:345:34 | 345 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 345 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L342
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:342:34 | 342 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 342 | gpio.pupdr().modify(|r, w| { | ++
field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L291
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:291:60 | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L276
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:276:60 | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L258
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:258:64 | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << self.i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L245
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:245:47 | 245 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << (self.i + 16))) }; | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 245 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << (self.i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private: src/gpio.rs#L239
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiod::RegisterBlock` is private --> src/gpio.rs:239:47 | 239 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << self.i)) }; | ^^^^ private field ... 707 | / gpio!(GPIOD, gpiod, PD, 3, [ 708 | | PD0: (pd0, 0), 709 | | PD1: (pd1, 1), 710 | | PD2: (pd2, 2), ... | 723 | | PD15: (pd15, 15), 724 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 239 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << self.i)) }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L605
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:605:64 | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L580
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:580:64 | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L562
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:562:68 | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << $i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L524
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:524:59 | 524 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << ($i + 16))) }; | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 524 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << ($i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L520
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:520:59 | 520 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << $i)) }; | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 520 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << $i)) }; | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L510
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:510:34 | 510 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 510 | gpio.moder().modify(|r, w| { | ++
field `afrh` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L506
error[E0616]: field `afrh` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:506:38 | 506 | gpio.afrh.modify(|r, w| { | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrh` also exists, call it with parentheses | 506 | gpio.afrh().modify(|r, w| { | ++
field `afrl` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L501
error[E0616]: field `afrl` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:501:38 | 501 | gpio.afrl.modify(|r, w| { | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrl` also exists, call it with parentheses | 501 | gpio.afrl().modify(|r, w| { | ++
field `ospeedr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L486
error[E0616]: field `ospeedr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:486:55 | 486 | let _ = &(*$GPIOX::ptr()).ospeedr.modify(|r, w| { | ^^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ospeedr` also exists, call it with parentheses | 486 | let _ = &(*$GPIOX::ptr()).ospeedr().modify(|r, w| { | ++
field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L473
error[E0616]: field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:473:45 | 473 | 12..=16 => exti.exticr4.modify(|r, w| unsafe { | ^^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr4` also exists, call it with parentheses | 473 | 12..=16 => exti.exticr4().modify(|r, w| unsafe { | ++
field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L470
error[E0616]: field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:470:44 | 470 | 8..=11 => exti.exticr3.modify(|r, w| unsafe { | ^^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr3` also exists, call it with parentheses | 470 | 8..=11 => exti.exticr3().modify(|r, w| unsafe { | ++
field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L467
error[E0616]: field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:467:44 | 467 | 4..=7 => exti.exticr2.modify(|r, w| unsafe { | ^^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr2` also exists, call it with parentheses | 467 | 4..=7 => exti.exticr2().modify(|r, w| unsafe { | ++
field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L464
error[E0616]: field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:464:45 | 464 | 0..=3 => exti.exticr1.modify(|r, w| unsafe { | ^^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr1` also exists, call it with parentheses | 464 | 0..=3 => exti.exticr1().modify(|r, w| unsafe { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L456
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:456:55 | 456 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 456 | let _ = &(*$GPIOX::ptr()).moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L453
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:453:55 | 453 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 453 | let _ = &(*$GPIOX::ptr()).pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L442
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:442:34 | 442 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 442 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L439
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:439:34 | 439 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 439 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L436
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:436:34 | 436 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 436 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L416
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:416:34 | 416 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 416 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L413
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:413:34 | 413 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 413 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L410
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:410:34 | 410 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 410 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L390
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:390:34 | 390 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 390 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L387
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:387:34 | 387 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 387 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L375
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:375:34 | 375 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 375 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L372
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:372:34 | 372 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 372 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L360
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:360:34 | 360 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 360 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L357
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:357:34 | 357 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 357 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L345
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:345:34 | 345 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 345 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L342
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:342:34 | 342 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 342 | gpio.pupdr().modify(|r, w| { | ++
field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L291
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:291:60 | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L276
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:276:60 | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L258
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:258:64 | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << self.i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L245
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:245:47 | 245 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << (self.i + 16))) }; | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 245 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << (self.i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private: src/gpio.rs#L239
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioc::RegisterBlock` is private --> src/gpio.rs:239:47 | 239 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << self.i)) }; | ^^^^ private field ... 688 | / gpio!(GPIOC, gpioc, PC, 2, [ 689 | | PC0: (pc0, 0), 690 | | PC1: (pc1, 1), 691 | | PC2: (pc2, 2), ... | 704 | | PC15: (pc15, 15), 705 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 239 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << self.i)) }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L605
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:605:64 | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L580
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:580:64 | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L562
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:562:68 | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << $i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L524
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:524:59 | 524 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << ($i + 16))) }; | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 524 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << ($i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L520
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:520:59 | 520 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << $i)) }; | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 520 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << $i)) }; | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L510
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:510:34 | 510 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 510 | gpio.moder().modify(|r, w| { | ++
field `afrh` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L506
error[E0616]: field `afrh` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:506:38 | 506 | gpio.afrh.modify(|r, w| { | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrh` also exists, call it with parentheses | 506 | gpio.afrh().modify(|r, w| { | ++
field `afrl` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L501
error[E0616]: field `afrl` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:501:38 | 501 | gpio.afrl.modify(|r, w| { | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrl` also exists, call it with parentheses | 501 | gpio.afrl().modify(|r, w| { | ++
field `ospeedr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L486
error[E0616]: field `ospeedr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:486:55 | 486 | let _ = &(*$GPIOX::ptr()).ospeedr.modify(|r, w| { | ^^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ospeedr` also exists, call it with parentheses | 486 | let _ = &(*$GPIOX::ptr()).ospeedr().modify(|r, w| { | ++
field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L473
error[E0616]: field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:473:45 | 473 | 12..=16 => exti.exticr4.modify(|r, w| unsafe { | ^^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr4` also exists, call it with parentheses | 473 | 12..=16 => exti.exticr4().modify(|r, w| unsafe { | ++
field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L470
error[E0616]: field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:470:44 | 470 | 8..=11 => exti.exticr3.modify(|r, w| unsafe { | ^^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr3` also exists, call it with parentheses | 470 | 8..=11 => exti.exticr3().modify(|r, w| unsafe { | ++
field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L467
error[E0616]: field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:467:44 | 467 | 4..=7 => exti.exticr2.modify(|r, w| unsafe { | ^^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr2` also exists, call it with parentheses | 467 | 4..=7 => exti.exticr2().modify(|r, w| unsafe { | ++
field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L464
error[E0616]: field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:464:45 | 464 | 0..=3 => exti.exticr1.modify(|r, w| unsafe { | ^^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr1` also exists, call it with parentheses | 464 | 0..=3 => exti.exticr1().modify(|r, w| unsafe { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L456
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:456:55 | 456 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 456 | let _ = &(*$GPIOX::ptr()).moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L453
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:453:55 | 453 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 453 | let _ = &(*$GPIOX::ptr()).pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L442
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:442:34 | 442 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 442 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L439
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:439:34 | 439 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 439 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L436
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:436:34 | 436 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 436 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L416
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:416:34 | 416 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 416 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L413
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:413:34 | 413 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 413 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L410
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:410:34 | 410 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 410 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L390
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:390:34 | 390 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 390 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L387
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:387:34 | 387 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 387 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L375
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:375:34 | 375 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 375 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L372
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:372:34 | 372 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 372 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L360
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:360:34 | 360 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 360 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L357
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:357:34 | 357 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 357 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L345
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:345:34 | 345 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 345 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L342
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:342:34 | 342 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 342 | gpio.pupdr().modify(|r, w| { | ++
field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L291
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:291:60 | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L276
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:276:60 | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L258
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:258:64 | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << self.i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L245
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:245:47 | 245 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << (self.i + 16))) }; | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 245 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << (self.i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L239
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:239:47 | 239 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << self.i)) }; | ^^^^ private field ... 669 | / gpio!(GPIOB, gpiob, PB, 1, [ 670 | | PB0: (pb0, 0), 671 | | PB1: (pb1, 1), 672 | | PB2: (pb2, 2), ... | 685 | | PB15: (pb15, 15), 686 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 239 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << self.i)) }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L605
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:605:64 | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 605 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L580
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:580:64 | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 580 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << $i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L562
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:562:68 | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << $i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 562 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << $i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L524
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:524:59 | 524 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << ($i + 16))) }; | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 524 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << ($i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L520
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:520:59 | 520 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << $i)) }; | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 520 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << $i)) }; | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L510
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:510:34 | 510 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 510 | gpio.moder().modify(|r, w| { | ++
field `afrh` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L506
error[E0616]: field `afrh` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:506:38 | 506 | gpio.afrh.modify(|r, w| { | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrh` also exists, call it with parentheses | 506 | gpio.afrh().modify(|r, w| { | ++
field `afrl` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L501
error[E0616]: field `afrl` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:501:38 | 501 | gpio.afrl.modify(|r, w| { | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `afrl` also exists, call it with parentheses | 501 | gpio.afrl().modify(|r, w| { | ++
field `ospeedr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L486
error[E0616]: field `ospeedr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:486:55 | 486 | let _ = &(*$GPIOX::ptr()).ospeedr.modify(|r, w| { | ^^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ospeedr` also exists, call it with parentheses | 486 | let _ = &(*$GPIOX::ptr()).ospeedr().modify(|r, w| { | ++
field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L473
error[E0616]: field `exticr4` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:473:45 | 473 | 12..=16 => exti.exticr4.modify(|r, w| unsafe { | ^^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr4` also exists, call it with parentheses | 473 | 12..=16 => exti.exticr4().modify(|r, w| unsafe { | ++
field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L470
error[E0616]: field `exticr3` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:470:44 | 470 | 8..=11 => exti.exticr3.modify(|r, w| unsafe { | ^^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr3` also exists, call it with parentheses | 470 | 8..=11 => exti.exticr3().modify(|r, w| unsafe { | ++
field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L467
error[E0616]: field `exticr2` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:467:44 | 467 | 4..=7 => exti.exticr2.modify(|r, w| unsafe { | ^^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr2` also exists, call it with parentheses | 467 | 4..=7 => exti.exticr2().modify(|r, w| unsafe { | ++
field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/gpio.rs#L464
error[E0616]: field `exticr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/gpio.rs:464:45 | 464 | 0..=3 => exti.exticr1.modify(|r, w| unsafe { | ^^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `exticr1` also exists, call it with parentheses | 464 | 0..=3 => exti.exticr1().modify(|r, w| unsafe { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L456
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:456:55 | 456 | let _ = &(*$GPIOX::ptr()).moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 456 | let _ = &(*$GPIOX::ptr()).moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L453
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:453:55 | 453 | let _ = &(*$GPIOX::ptr()).pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 453 | let _ = &(*$GPIOX::ptr()).pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L442
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:442:34 | 442 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 442 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L439
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:439:34 | 439 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 439 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L436
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:436:34 | 436 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 436 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L416
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:416:34 | 416 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 416 | gpio.moder().modify(|r, w| { | ++
field `otyper` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L413
error[E0616]: field `otyper` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:413:34 | 413 | gpio.otyper.modify(|r, w| { | ^^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `otyper` also exists, call it with parentheses | 413 | gpio.otyper().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L410
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:410:34 | 410 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 410 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L390
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:390:34 | 390 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 390 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L387
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:387:34 | 387 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 387 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L375
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:375:34 | 375 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 375 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L372
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:372:34 | 372 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 372 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L360
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:360:34 | 360 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 360 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L357
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:357:34 | 357 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 357 | gpio.pupdr().modify(|r, w| { | ++
field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L345
error[E0616]: field `moder` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:345:34 | 345 | gpio.moder.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `moder` also exists, call it with parentheses | 345 | gpio.moder().modify(|r, w| { | ++
field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L342
error[E0616]: field `pupdr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:342:34 | 342 | gpio.pupdr.modify(|r, w| { | ^^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `pupdr` also exists, call it with parentheses | 342 | gpio.pupdr().modify(|r, w| { | ++
field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L291
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:291:60 | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 291 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L276
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:276:60 | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 276 | let is_low = unsafe { (*$GPIOX::ptr()).idr().read().bits() & (1 << self.i) == 0 }; | ++
field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L258
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:258:64 | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr.read().bits() & (1 << self.i) == 0 }; | ^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 258 | let is_set_low = unsafe { (*$GPIOX::ptr()).odr().read().bits() & (1 << self.i) == 0 }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L245
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:245:47 | 245 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << (self.i + 16))) }; | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 245 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << (self.i + 16))) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L239
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:239:47 | 239 | unsafe { (*$GPIOX::ptr()).bsrr.write(|w| w.bits(1 << self.i)) }; | ^^^^ private field ... 650 | / gpio!(GPIOA, gpioa, PA, 0, [ 651 | | PA0: (pa0, 0), 652 | | PA1: (pa1, 1), 653 | | PA2: (pa2, 2), ... | 666 | | PA15: (pa15, 15), 667 | | ]); | |__- in this macro invocation | = note: this error originates in the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 239 | unsafe { (*$GPIOX::ptr()).bsrr().write(|w| w.bits(1 << self.i)) }; | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L83
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:83:31 | 83 | unsafe { self.bsrr.write(|w| w.bits(1 << (pos + 16))) } | ^^^^ private field ... 90 | gpio_trait!(gpiob); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 83 | unsafe { self.bsrr().write(|w| w.bits(1 << (pos + 16))) } | ++
field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L78
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:78:31 | 78 | unsafe { self.bsrr.write(|w| w.bits(1 << pos)) } | ^^^^ private field ... 90 | gpio_trait!(gpiob); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 78 | unsafe { self.bsrr().write(|w| w.bits(1 << pos)) } | ++
field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L73
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:73:22 | 73 | self.odr.read().bits() & (1 << pos) == 0 | ^^^ private field ... 90 | gpio_trait!(gpiob); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 73 | self.odr().read().bits() & (1 << pos) == 0 | ++
field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private: src/gpio.rs#L68
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpiob::RegisterBlock` is private --> src/gpio.rs:68:22 | 68 | self.idr.read().bits() & (1 << pos) == 0 | ^^^ private field ... 90 | gpio_trait!(gpiob); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 68 | self.idr().read().bits() & (1 << pos) == 0 | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L83
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:83:31 | 83 | unsafe { self.bsrr.write(|w| w.bits(1 << (pos + 16))) } | ^^^^ private field ... 89 | gpio_trait!(gpioa); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 83 | unsafe { self.bsrr().write(|w| w.bits(1 << (pos + 16))) } | ++
field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L78
error[E0616]: field `bsrr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:78:31 | 78 | unsafe { self.bsrr.write(|w| w.bits(1 << pos)) } | ^^^^ private field ... 89 | gpio_trait!(gpioa); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `bsrr` also exists, call it with parentheses | 78 | unsafe { self.bsrr().write(|w| w.bits(1 << pos)) } | ++
field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L73
error[E0616]: field `odr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:73:22 | 73 | self.odr.read().bits() & (1 << pos) == 0 | ^^^ private field ... 89 | gpio_trait!(gpioa); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `odr` also exists, call it with parentheses | 73 | self.odr().read().bits() & (1 << pos) == 0 | ++
field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private: src/gpio.rs#L68
error[E0616]: field `idr` of struct `stm32c0::stm32c011::gpioa::RegisterBlock` is private --> src/gpio.rs:68:22 | 68 | self.idr.read().bits() & (1 << pos) == 0 | ^^^ private field ... 89 | gpio_trait!(gpioa); | ------------------ in this macro invocation | = note: this error originates in the macro `gpio_trait` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `idr` also exists, call it with parentheses | 68 | self.idr().read().bits() & (1 << pos) == 0 | ++
field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L120
error[E0616]: field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:120:18 | 120 | self.fpr1.modify(|_, w| unsafe { w.bits(1 << line) }); | ^^^^ private field | help: a method `fpr1` also exists, call it with parentheses | 120 | self.fpr1().modify(|_, w| unsafe { w.bits(1 << line) }); | ++
field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L119
error[E0616]: field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:119:18 | 119 | self.rpr1.modify(|_, w| unsafe { w.bits(1 << line) }); | ^^^^ private field | help: a method `rpr1` also exists, call it with parentheses | 119 | self.rpr1().modify(|_, w| unsafe { w.bits(1 << line) }); | ++
field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L111
error[E0616]: field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:111:64 | 111 | (self.rpr1.read().bits() & mask != 0) && (self.fpr1.read().bits() & mask != 0) | ^^^^ private field | help: a method `fpr1` also exists, call it with parentheses | 111 | (self.rpr1.read().bits() & mask != 0) && (self.fpr1().read().bits() & mask != 0) | ++
field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L111
error[E0616]: field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:111:23 | 111 | (self.rpr1.read().bits() & mask != 0) && (self.fpr1.read().bits() & mask != 0) | ^^^^ private field | help: a method `rpr1` also exists, call it with parentheses | 111 | (self.rpr1().read().bits() & mask != 0) && (self.fpr1.read().bits() & mask != 0) | ++
field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L109
error[E0616]: field `fpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:109:41 | 109 | SignalEdge::Falling => self.fpr1.read().bits() & mask != 0, | ^^^^ private field | help: a method `fpr1` also exists, call it with parentheses | 109 | SignalEdge::Falling => self.fpr1().read().bits() & mask != 0, | ++
field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L108
error[E0616]: field `rpr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:108:40 | 108 | SignalEdge::Rising => self.rpr1.read().bits() & mask != 0, | ^^^^ private field | help: a method `rpr1` also exists, call it with parentheses | 108 | SignalEdge::Rising => self.rpr1().read().bits() & mask != 0, | ++
field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L97
error[E0616]: field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:97:18 | 97 | self.ftsr1.modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ^^^^^ private field | help: a method `ftsr1` also exists, call it with parentheses | 97 | self.ftsr1().modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ++
field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L96
error[E0616]: field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:96:18 | 96 | self.rtsr1.modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ^^^^^ private field | help: a method `rtsr1` also exists, call it with parentheses | 96 | self.rtsr1().modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ++
field `imr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L94
error[E0616]: field `imr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:94:14 | 94 | self.imr1.modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ^^^^ private field | help: a method `imr1` also exists, call it with parentheses | 94 | self.imr1().modify(|r, w| unsafe { w.bits(r.bits() & mask) }); | ++
field `imr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L85
error[E0616]: field `imr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:85:14 | 85 | self.imr1 | ^^^^ private field | help: a method `imr1` also exists, call it with parentheses | 85 | self.imr1() | ++
field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L78
error[E0616]: field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:78:22 | 78 | self.ftsr1.modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ^^^^^ private field | help: a method `ftsr1` also exists, call it with parentheses | 78 | self.ftsr1().modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ++
field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L77
error[E0616]: field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:77:22 | 77 | self.rtsr1.modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ^^^^^ private field | help: a method `rtsr1` also exists, call it with parentheses | 77 | self.rtsr1().modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ++
field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L74
error[E0616]: field `ftsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:74:22 | 74 | self.ftsr1.modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ^^^^^ private field | help: a method `ftsr1` also exists, call it with parentheses | 74 | self.ftsr1().modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ++
field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private: src/exti.rs#L71
error[E0616]: field `rtsr1` of struct `stm32c0::stm32c011::exti::RegisterBlock` is private --> src/exti.rs:71:22 | 71 | self.rtsr1.modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ^^^^^ private field | help: a method `rtsr1` also exists, call it with parentheses | 71 | self.rtsr1().modify(|r, w| unsafe { w.bits(r.bits() | mask) }); | ++
field `dr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L196
error[E0616]: field `dr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:196:13 | 196 | crc.dr.read().bits() | ^^ private field | help: a method `dr` also exists, call it with parentheses | 196 | crc.dr().read().bits() | ++
field `dr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L174
error[E0616]: field `dr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:174:68 | 174 | ptr::write_volatile(cell::UnsafeCell::raw_get(&crc.dr as *const _ as _), byte) | ^^ private field | help: a method `dr` also exists, call it with parentheses | 174 | ptr::write_volatile(cell::UnsafeCell::raw_get(&crc.dr() as *const _ as _), byte) | ++
field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L165
error[E0616]: field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:165:13 | 165 | crc.cr.modify(|_, w| w.reset().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 165 | crc.cr().modify(|_, w| w.reset().set_bit()); | ++
field `init` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L163
error[E0616]: field `init` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:163:13 | 163 | crc.init | ^^^^ private field | help: a method `init` also exists, call it with parentheses | 163 | crc.init() | ++
field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L152
error[E0616]: field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:152:13 | 152 | crc.cr.modify(|_, w| w.reset().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 152 | crc.cr().modify(|_, w| w.reset().set_bit()); | ++
field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L124
error[E0616]: field `cr` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:124:13 | 124 | crc.cr.write(|w| unsafe { | ^^ private field | help: a method `cr` also exists, call it with parentheses | 124 | crc.cr().write(|w| unsafe { | ++
field `pol` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L123
error[E0616]: field `pol` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:123:13 | 123 | crc.pol.write(|w| unsafe { w.bits(poly) }); | ^^^ private field | help: a method `pol` also exists, call it with parentheses | 123 | crc.pol().write(|w| unsafe { w.bits(poly) }); | ++
field `init` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private: src/crc.rs#L122
error[E0616]: field `init` of struct `stm32c0::stm32c011::crc::RegisterBlock` is private --> src/crc.rs:122:13 | 122 | crc.init.write(|w| unsafe { w.crc_init().bits(init) }); | ^^^^ private field | help: a method `init` also exists, call it with parentheses | 122 | crc.init().write(|w| unsafe { w.crc_init().bits(init) }); | ++
field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L412
error[E0616]: field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:412:28 | 412 | adc.rb.ccr.read().$en().bit_is_set() | ^^^ private field ... 433 | / int_adc! { 434 | | VTemp: (9, tsen), 435 | | VRef: (10, vrefen), 436 | | } | |_- in this macro invocation | = note: this error originates in the macro `int_adc` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccr` also exists, call it with parentheses | 412 | adc.rb.ccr().read().$en().bit_is_set() | ++
field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L408
error[E0616]: field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:408:28 | 408 | adc.rb.ccr.modify(|_, w| w.$en().clear_bit()); | ^^^ private field ... 433 | / int_adc! { 434 | | VTemp: (9, tsen), 435 | | VRef: (10, vrefen), 436 | | } | |_- in this macro invocation | = note: this error originates in the macro `int_adc` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccr` also exists, call it with parentheses | 408 | adc.rb.ccr().modify(|_, w| w.$en().clear_bit()); | ++
field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L404
error[E0616]: field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:404:28 | 404 | adc.rb.ccr.modify(|_, w| w.$en().set_bit()); | ^^^ private field ... 433 | / int_adc! { 434 | | VTemp: (9, tsen), 435 | | VRef: (10, vrefen), 436 | | } | |_- in this macro invocation | = note: this error originates in the macro `int_adc` (in Nightly builds, run with -Z macro-backtrace for more info) help: a method `ccr` also exists, call it with parentheses | 404 | adc.rb.ccr().modify(|_, w| w.$en().set_bit()); | ++
field `dr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L381
error[E0616]: field `dr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:381:27 | 381 | let res = self.rb.dr.read().bits() as u16; | ^^ private field | help: a method `dr` also exists, call it with parentheses | 381 | let res = self.rb.dr().read().bits() as u16; | ++
field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L379
error[E0616]: field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:379:23 | 379 | while self.rb.isr.read().eos().bit_is_clear() {} | ^^^ private field | help: a method `isr` also exists, call it with parentheses | 379 | while self.rb.isr().read().eos().bit_is_clear() {} | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L378
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:378:17 | 378 | self.rb.cr.modify(|_, w| w.adstart().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 378 | self.rb.cr().modify(|_, w| w.adstart().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L377
error[E0616]: field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:377:17 | 377 | self.rb.isr.modify(|_, w| w.eos().set_bit()); | ^^^ private field | help: a method `isr` also exists, call it with parentheses | 377 | self.rb.isr().modify(|_, w| w.eos().set_bit()); | ++
field `smpr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L370
error[E0616]: field `smpr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:370:14 | 370 | .smpr | ^^^^ private field | help: a method `smpr` also exists, call it with parentheses | 370 | .smpr() | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L362
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:362:17 | 362 | self.rb.cfgr1.modify(|_, w| unsafe { | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 362 | self.rb.cfgr1().modify(|_, w| unsafe { | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L348
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:348:21 | 348 | self.rb.cfgr1.modify(|_, w| w.dmacfg().clear_bit()); // disable circular mode | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 348 | self.rb.cfgr1().modify(|_, w| w.dmacfg().clear_bit()); // disable circular mode | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L346
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:346:21 | 346 | self.rb.cfgr1.modify(|_, w| w.dmacfg().set_bit()); // activate circular mode | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 346 | self.rb.cfgr1().modify(|_, w| w.dmacfg().set_bit()); // activate circular mode | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L340
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:340:21 | 340 | self.rb.cfgr1.modify(|_, w| w.dmaen().clear_bit()); // disable dma beeing called | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 340 | self.rb.cfgr1().modify(|_, w| w.dmaen().clear_bit()); // disable dma beeing called | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L338
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:338:21 | 338 | self.rb.cfgr1.modify(|_, w| w.dmaen().set_bit()); // enable dma beeing called | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 338 | self.rb.cfgr1().modify(|_, w| w.dmaen().set_bit()); // enable dma beeing called | ++
field `smpr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L316
error[E0616]: field `smpr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:316:14 | 316 | .smpr // set sampling time set 1 (ADSTART must be 0) | ^^^^ private field | help: a method `smpr` also exists, call it with parentheses | 316 | .smpr() // set sampling time set 1 (ADSTART must be 0) | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L306
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:306:17 | 306 | self.rb.cfgr1.modify(|_, w| unsafe { | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 306 | self.rb.cfgr1().modify(|_, w| unsafe { | ++
field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L303
error[E0616]: field `cfgr1` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:303:14 | 303 | .cfgr1 | ^^^^^ private field | help: a method `cfgr1` also exists, call it with parentheses | 303 | .cfgr1() | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L274
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:274:23 | 274 | while self.rb.cr.read().aden().bit_is_set() {} | ^^ private field | help: a method `cr` also exists, call it with parentheses | 274 | while self.rb.cr().read().aden().bit_is_set() {} | ++
field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L273
error[E0616]: field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:273:17 | 273 | self.rb.isr.modify(|_, w| w.adrdy().set_bit()); | ^^^ private field | help: a method `isr` also exists, call it with parentheses | 273 | self.rb.isr().modify(|_, w| w.adrdy().set_bit()); | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L272
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:272:17 | 272 | self.rb.cr.modify(|_, w| w.addis().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 272 | self.rb.cr().modify(|_, w| w.addis().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L268
error[E0616]: field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:268:23 | 268 | while self.rb.isr.read().adrdy().bit_is_clear() {} | ^^^ private field | help: a method `isr` also exists, call it with parentheses | 268 | while self.rb.isr().read().adrdy().bit_is_clear() {} | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L267
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:267:17 | 267 | self.rb.cr.modify(|_, w| w.aden().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 267 | self.rb.cr().modify(|_, w| w.aden().set_bit()); | ++
field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L266
error[E0616]: field `isr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:266:17 | 266 | self.rb.isr.modify(|_, w| w.adrdy().set_bit()); | ^^^ private field | help: a method `isr` also exists, call it with parentheses | 266 | self.rb.isr().modify(|_, w| w.adrdy().set_bit()); | ++
field `ier` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L228
error[E0616]: field `ier` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:228:17 | 228 | self.rb.ier.modify(|_, w| w.eocie().clear_bit()); // end of sequence interupt disable | ^^^ private field | help: a method `ier` also exists, call it with parentheses | 228 | self.rb.ier().modify(|_, w| w.eocie().clear_bit()); // end of sequence interupt disable | ++
field `ier` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L220
error[E0616]: field `ier` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:220:17 | 220 | self.rb.ier.modify(|_, w| w.eocie().set_bit()); // end of sequence interupt enable | ^^^ private field | help: a method `ier` also exists, call it with parentheses | 220 | self.rb.ier().modify(|_, w| w.eocie().set_bit()); // end of sequence interupt enable | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L217
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:217:17 | 217 | self.rb.cr.modify(|_, w| w.adstart().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 217 | self.rb.cr().modify(|_, w| w.adstart().set_bit()); | ++
field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L213
error[E0616]: field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:213:17 | 213 | self.rb.cfgr2.modify(|_, w| w.ovse().bit(enable)); | ^^^^^ private field | help: a method `cfgr2` also exists, call it with parentheses | 213 | self.rb.cfgr2().modify(|_, w| w.ovse().bit(enable)); | ++
field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L208
error[E0616]: field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:208:14 | 208 | .cfgr2 | ^^^^^ private field | help: a method `cfgr2` also exists, call it with parentheses | 208 | .cfgr2() | ++
field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L201
error[E0616]: field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:201:14 | 201 | .cfgr2 | ^^^^^ private field | help: a method `cfgr2` also exists, call it with parentheses | 201 | .cfgr2() | ++
field `calfact` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L179
error[E0616]: field `calfact` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:179:14 | 179 | .calfact | ^^^^^^^ private field | help: a method `calfact` also exists, call it with parentheses | 179 | .calfact() | ++
field `calfact` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L169
error[E0616]: field `calfact` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:169:35 | 169 | CalibrationFactor(self.rb.calfact.read().calfact().bits()) | ^^^^^^^ private field | help: a method `calfact` also exists, call it with parentheses | 169 | CalibrationFactor(self.rb.calfact().read().calfact().bits()) | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L156
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:156:23 | 156 | while self.rb.cr.read().adcal().bit_is_set() {} | ^^ private field | help: a method `cr` also exists, call it with parentheses | 156 | while self.rb.cr().read().adcal().bit_is_set() {} | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L155
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:155:17 | 155 | self.rb.cr.modify(|_, w| w.adcal().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 155 | self.rb.cr().modify(|_, w| w.adcal().set_bit()); | ++
field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L142
error[E0616]: field `ccr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:142:22 | 142 | .ccr | ^^^ private field | help: a method `ccr` also exists, call it with parentheses | 142 | .ccr() | ++
field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L140
error[E0616]: field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:140:25 | 140 | self.rb.cfgr2.modify(|_, w| unsafe { w.ckmode().bits(0) }); | ^^^^^ private field | help: a method `cfgr2` also exists, call it with parentheses | 140 | self.rb.cfgr2().modify(|_, w| unsafe { w.ckmode().bits(0) }); | ++
field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L137
error[E0616]: field `cfgr2` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:137:18 | 137 | .cfgr2 | ^^^^^ private field | help: a method `cfgr2` also exists, call it with parentheses | 137 | .cfgr2() | ++
field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private: src/analog/adc.rs#L121
error[E0616]: field `cr` of struct `stm32c0::stm32c011::adc::RegisterBlock` is private --> src/analog/adc.rs:121:13 | 121 | adc.cr.modify(|_, w| w.advregen().set_bit()); | ^^ private field | help: a method `cr` also exists, call it with parentheses | 121 | adc.cr().modify(|_, w| w.advregen().set_bit()); | ++
clippy_check (stable, stm32c031)
The job was canceled because "stable_stm32c011" failed.
clippy_check (stable, stm32c031)
Clippy had exited with the 101 exit code
clippy_check (stable, stm32c011)
Clippy had exited with the 101 exit code
clippy_check (stable, stm32c031)
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 (stable, stm32c031)
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 (stable, stm32c031)
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 (stable, stm32c031)
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 (stable, stm32c011)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy_check (stable, stm32c011)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 (stable, stm32c011)
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 (stable, stm32c011)
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 (stable, stm32c011)
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 (stable, stm32c011)
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/