[INFO] fetching crate stm32-hal2 1.4.2... [INFO] testing stm32-hal2-1.4.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stm32-hal2 1.4.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate stm32-hal2 1.4.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stm32-hal2 1.4.2 [INFO] finished tweaking crates.io crate stm32-hal2 1.4.2 [INFO] tweaked toml for crates.io crate stm32-hal2 1.4.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate stm32-hal2 1.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ca2d19de1b65e56448cadafcf7278f5ed8e9211bea6de9bbe2a6ac01d9dfa06 [INFO] running `Command { std: "docker" "start" "-a" "8ca2d19de1b65e56448cadafcf7278f5ed8e9211bea6de9bbe2a6ac01d9dfa06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ca2d19de1b65e56448cadafcf7278f5ed8e9211bea6de9bbe2a6ac01d9dfa06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca2d19de1b65e56448cadafcf7278f5ed8e9211bea6de9bbe2a6ac01d9dfa06", kill_on_drop: false }` [INFO] [stdout] 8ca2d19de1b65e56448cadafcf7278f5ed8e9211bea6de9bbe2a6ac01d9dfa06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6101ed4f11f82c18a673bdfb422d8fb0d275513e4afe7506bd1063dd432d76c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6101ed4f11f82c18a673bdfb422d8fb0d275513e4afe7506bd1063dd432d76c3", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling stm32-hal2 v1.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: This crate requires an MCU-specifying feature to be enabled. eg `l552`. [INFO] [stdout] --> src/lib.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | compile_error!("This crate requires an MCU-specifying feature to be enabled. eg `l552`."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/adc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 12 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/crc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::pac::{crc, CRC, RCC}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/dac.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/dfsdm.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{clocks::Clocks, pac::RCC, rcc_en_reset}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^ could not find `pac` in the crate root [INFO] [stdout] | | [INFO] [stdout] | no `Clocks` in `clocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/dfsdm.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::pac::dfsdm as dfsdm_p; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/dma.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/dma.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::pac::dma1 as dma; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/flash.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::pac::FLASH; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/gpio.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pac::{self, EXTI, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/gpio.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::pac::SYSCFG; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/i2c.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 15 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/low_power.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 6 | pac::{PWR, RCC}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/qspi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 6 | pac::{QUADSPI, RCC}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/rng.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pac::{RCC, RNG}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/rtc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::pac::{EXTI, PWR, RCC, RTC}; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/sai.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 10 | pac::RCC, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/sai.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::sai1 as sai; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::pac`, `crate::pac` [INFO] [stdout] --> src/spi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/timer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 24 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac`, `crate::pac` [INFO] [stdout] --> src/usart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 12 | pac::{self, RCC}, [INFO] [stdout] | ^^^ ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `pac` in the crate root [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pac::{self, rcc::RegisterBlock}, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::clocks::Clocks`, `crate::pac` [INFO] [stdout] --> src/util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | clocks::Clocks, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Clocks` in `clocks` [INFO] [stdout] 7 | pac::{self, rcc::RegisterBlock}, [INFO] [stdout] | --- ^^^^ no `pac` in the root [INFO] [stdout] | | [INFO] [stdout] | help: a similar name exists in the module: `dac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/util.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::pac::DMA1; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/dac.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::pac::dac as dac_p; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/util.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::pac::DAC as DAC1; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pac` [INFO] [stdout] --> src/util.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::pac::ADC1; [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/dac.rs:324:27 [INFO] [stdout] | [INFO] [stdout] 324 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/dfsdm.rs:716:27 [INFO] [stdout] | [INFO] [stdout] 716 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1023:27 [INFO] [stdout] | [INFO] [stdout] 1023 | Port::A => crate::pac::GPIOA::ptr(), [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1024:27 [INFO] [stdout] | [INFO] [stdout] 1024 | Port::B => crate::pac::GPIOB::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1026:27 [INFO] [stdout] | [INFO] [stdout] 1026 | Port::C => crate::pac::GPIOC::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1028:27 [INFO] [stdout] | [INFO] [stdout] 1028 | Port::D => crate::pac::GPIOD::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1037:27 [INFO] [stdout] | [INFO] [stdout] 1037 | Port::E => crate::pac::GPIOE::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1049:27 [INFO] [stdout] | [INFO] [stdout] 1049 | Port::F => crate::pac::GPIOF::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1063:27 [INFO] [stdout] | [INFO] [stdout] 1063 | Port::G => crate::pac::GPIOG::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pac` in the crate root [INFO] [stdout] --> src/gpio.rs:1075:27 [INFO] [stdout] | [INFO] [stdout] 1075 | Port::H => crate::pac::GPIOH::ptr() as _, [INFO] [stdout] | ^^^ could not find `pac` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/i2c.rs:557:27 [INFO] [stdout] | [INFO] [stdout] 557 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/i2c.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/sai.rs:995:27 [INFO] [stdout] | [INFO] [stdout] 995 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/sai.rs:1084:27 [INFO] [stdout] | [INFO] [stdout] 1084 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:573:27 [INFO] [stdout] | [INFO] [stdout] 573 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/spi.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 673 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/usart.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dma_p` [INFO] [stdout] --> src/usart.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | D: Deref, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `dma_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:580:34 [INFO] [stdout] | [INFO] [stdout] 580 | let dbgmcu = unsafe { &(*pac::DBGMCU::ptr()) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:601:31 [INFO] [stdout] | [INFO] [stdout] 601 | let rcc = unsafe { &(*pac::RCC::ptr()) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 601 | let rcc = unsafe { &(*dac::RCC::ptr()) }; [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | fn en_reset(rcc: &RegisterBlock); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:372:23 [INFO] [stdout] | [INFO] [stdout] 372 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:379:23 [INFO] [stdout] | [INFO] [stdout] 379 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegisterBlock` in this scope [INFO] [stdout] --> src/util.rs:480:31 [INFO] [stdout] | [INFO] [stdout] 480 | fn en_reset(rcc: &RegisterBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cbp::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::cpuid::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dcb::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::peripheral::dwt::RegisterBlock; [INFO] [stdout] | [INFO] [stdout] and 9 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm`, `interrupt::free` [INFO] [stdout] --> src/adc.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_m::{asm, interrupt::free}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref`, `ptr` [INFO] [stdout] --> src/adc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{ops::Deref, ptr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcc_en_reset` [INFO] [stdout] --> src/adc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/adc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelCfg`, `DmaChannel`, `Dma`, `self` [INFO] [stdout] --> src/adc.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::dma::{self, ChannelCfg, Dma, DmaChannel}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hal` [INFO] [stdout] --> src/adc.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | macro_rules! hal { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `peripheral::SCB` [INFO] [stdout] --> src/low_power.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use cortex_m::{asm::wfi, peripheral::SCB, Peripherals}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/low_power.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/qspi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DmaPeriph`, `rcc_en_reset` [INFO] [stdout] --> src/sai.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | rcc_en_reset, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | util::{DmaPeriph, RccPeriph}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> src/sai.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Deref` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DmaChannel`, `DmaInput`, `Dma`, `self` [INFO] [stdout] --> src/util.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::dma::{self, Dma, DmaChannel, DmaInput}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1504 | make_timer!(TIM1, tim1, 2, u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | / pub fn _enable_pwm_input( [INFO] [stdout] 920 | | &mut self, [INFO] [stdout] 921 | | channel: TimChannel, [INFO] [stdout] 922 | | compare: OutputCompare, [INFO] [stdout] 923 | | dir: CountDir, [INFO] [stdout] 924 | | duty: f32, [INFO] [stdout] 925 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1086:13 [INFO] [stdout] | [INFO] [stdout] 1086 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 1114 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1507 | cc_2_channels!(TIM1, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_2_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1516 | make_timer!(TIM2, tim2, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1517 | cc_4_channels!(TIM2, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1532 | make_timer!(TIM3, tim3, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_alignment` [INFO] [stdout] --> src/timer.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | pub fn set_alignment(&mut self, alignment: Alignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_alignment` [INFO] [stdout] | other definition for `set_alignment` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1533 | cc_4_channels!(TIM3, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1552 | make_timer!(TIM4, tim4, 1, u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | fn set_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | --------------------- other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn _enable_pwm_input( [INFO] [stdout] 631 | | &mut self, [INFO] [stdout] 632 | | channel: TimChannel, [INFO] [stdout] 633 | | compare: OutputCompare, [INFO] [stdout] 634 | | dir: CountDir, [INFO] [stdout] 635 | | duty: f32, [INFO] [stdout] 636 | | ) { [INFO] [stdout] | |_____________^ duplicate definitions for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | |_____________- other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ------------------------------------------------------------------------------ other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | --------------------------------------------------- other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ----------------------------------------------------------- other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ----------------------------------------------------------------------- other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ------------------------------------------------------------------------------------- other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | -------------------------------------------------------------- other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ------------------------------------------------------------- other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | -------------------------------------------------------------------------------- other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | --------------------------------------------------------------- other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1553 | cc_4_channels!(TIM4, u32); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_4_channels` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1597 | make_timer!(TIM15, tim15, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:1139:13 [INFO] [stdout] | [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1231:13 [INFO] [stdout] | [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1273:13 [INFO] [stdout] | [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1281:13 [INFO] [stdout] | [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1313:13 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:1139:13 [INFO] [stdout] | [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1231:13 [INFO] [stdout] | [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1273:13 [INFO] [stdout] | [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1281:13 [INFO] [stdout] | [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1313:13 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1599 | cc_1_channel!(TIM15, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_interrupt` [INFO] [stdout] --> src/timer.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn enable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_interrupt` [INFO] [stdout] | other definition for `enable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_interrupt` [INFO] [stdout] --> src/timer.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn disable_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_interrupt` [INFO] [stdout] | other definition for `disable_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `clear_interrupt` [INFO] [stdout] --> src/timer.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn clear_interrupt(&mut self, interrupt: TimerInterrupt) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `clear_interrupt` [INFO] [stdout] | other definition for `clear_interrupt` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable` [INFO] [stdout] --> src/timer.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn enable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable` [INFO] [stdout] | other definition for `enable` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable` [INFO] [stdout] --> src/timer.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable` [INFO] [stdout] | other definition for `disable` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `is_enabled` [INFO] [stdout] --> src/timer.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `is_enabled` [INFO] [stdout] | other definition for `is_enabled` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_freq` [INFO] [stdout] --> src/timer.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn set_freq(&mut self, mut freq: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_freq` [INFO] [stdout] | other definition for `set_freq` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_period` [INFO] [stdout] --> src/timer.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn set_period(&mut self, period: f32) -> Result<(), ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_period` [INFO] [stdout] | other definition for `set_period` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_auto_reload` [INFO] [stdout] --> src/timer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn set_auto_reload(&mut self, arr: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_auto_reload` [INFO] [stdout] | other definition for `set_auto_reload` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_prescaler` [INFO] [stdout] --> src/timer.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_prescaler(&mut self, psc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_prescaler` [INFO] [stdout] | other definition for `set_prescaler` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reset_countdown` [INFO] [stdout] --> src/timer.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn reset_countdown(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reset_countdown` [INFO] [stdout] | other definition for `reset_countdown` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `reinitialize` [INFO] [stdout] --> src/timer.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn reinitialize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `reinitialize` [INFO] [stdout] | other definition for `reinitialize` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `read_count` [INFO] [stdout] --> src/timer.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn read_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `read_count` [INFO] [stdout] | other definition for `read_count` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_pwm_output` [INFO] [stdout] --> src/timer.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | / pub fn enable_pwm_output( [INFO] [stdout] 510 | | &mut self, [INFO] [stdout] 511 | | channel: TimChannel, [INFO] [stdout] 512 | | compare: OutputCompare, [INFO] [stdout] 513 | | duty: f32, [INFO] [stdout] 514 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `enable_pwm_output` [INFO] [stdout] | other definition for `enable_pwm_output` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_max_duty` [INFO] [stdout] --> src/timer.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn get_max_duty(&self) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_max_duty` [INFO] [stdout] | other definition for `get_max_duty` [INFO] [stdout] ... [INFO] [stdout] 1604 | make_timer!(TIM16, tim16, 2, u16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_dir` [INFO] [stdout] --> src/timer.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | fn set_dir(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_dir` [INFO] [stdout] | other definition for `set_dir` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `_enable_pwm_input` [INFO] [stdout] --> src/timer.rs:1139:13 [INFO] [stdout] | [INFO] [stdout] 1139 | / pub fn _enable_pwm_input( [INFO] [stdout] 1140 | | &mut self, [INFO] [stdout] 1141 | | channel: TimChannel, [INFO] [stdout] 1142 | | compare: OutputCompare, [INFO] [stdout] 1143 | | dir: CountDir, [INFO] [stdout] 1144 | | duty: f32, [INFO] [stdout] 1145 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________duplicate definitions for `_enable_pwm_input` [INFO] [stdout] | other definition for `_enable_pwm_input` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_output_compare` [INFO] [stdout] --> src/timer.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | pub fn set_output_compare(&mut self, channel: TimChannel, mode: OutputCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_output_compare` [INFO] [stdout] | other definition for `set_output_compare` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_duty` [INFO] [stdout] --> src/timer.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | pub fn get_duty(&self, channel: TimChannel) -> $res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `get_duty` [INFO] [stdout] | other definition for `get_duty` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_duty` [INFO] [stdout] --> src/timer.rs:1231:13 [INFO] [stdout] | [INFO] [stdout] 1231 | pub fn set_duty(&mut self, channel: TimChannel, duty: $res) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_duty` [INFO] [stdout] | other definition for `set_duty` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_polarity` [INFO] [stdout] --> src/timer.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | pub fn set_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_polarity` [INFO] [stdout] | other definition for `set_polarity` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_complementary_polarity` [INFO] [stdout] --> src/timer.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | pub fn set_complementary_polarity(&mut self, channel: TimChannel, polarity: Polarity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_complementary_polarity` [INFO] [stdout] | other definition for `set_complementary_polarity` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `disable_capture_compare` [INFO] [stdout] --> src/timer.rs:1273:13 [INFO] [stdout] | [INFO] [stdout] 1273 | pub fn disable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `disable_capture_compare` [INFO] [stdout] | other definition for `disable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `enable_capture_compare` [INFO] [stdout] --> src/timer.rs:1281:13 [INFO] [stdout] | [INFO] [stdout] 1281 | pub fn enable_capture_compare(&mut self, channel: TimChannel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `enable_capture_compare` [INFO] [stdout] | other definition for `enable_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_capture_compare` [INFO] [stdout] --> src/timer.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | pub fn set_capture_compare(&mut self, channel: TimChannel, mode: CaptureCompare) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_capture_compare` [INFO] [stdout] | other definition for `set_capture_compare` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_preload` [INFO] [stdout] --> src/timer.rs:1313:13 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn set_preload(&mut self, channel: TimChannel, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | duplicate definitions for `set_preload` [INFO] [stdout] | other definition for `set_preload` [INFO] [stdout] ... [INFO] [stdout] 1606 | cc_1_channel!(TIM16, u16); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cc_1_channel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 610 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32-hal2` due to 611 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6101ed4f11f82c18a673bdfb422d8fb0d275513e4afe7506bd1063dd432d76c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6101ed4f11f82c18a673bdfb422d8fb0d275513e4afe7506bd1063dd432d76c3", kill_on_drop: false }` [INFO] [stdout] 6101ed4f11f82c18a673bdfb422d8fb0d275513e4afe7506bd1063dd432d76c3