mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
fmt
This commit is contained in:
parent
2655426cd8
commit
7eb605d116
@ -65,19 +65,18 @@
|
|||||||
/// Enums defined for peripheral parameters
|
/// Enums defined for peripheral parameters
|
||||||
pub mod enums;
|
pub mod enums;
|
||||||
|
|
||||||
|
use core::future::poll_fn;
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
|
use core::task::Poll;
|
||||||
|
|
||||||
use embassy_hal_internal::{into_ref, PeripheralRef};
|
use embassy_hal_internal::{into_ref, PeripheralRef};
|
||||||
|
use embassy_sync::waitqueue::AtomicWaker;
|
||||||
pub use enums::*;
|
pub use enums::*;
|
||||||
|
|
||||||
use crate::gpio::{AfType, AnyPin, OutputType, Speed};
|
use crate::gpio::{AfType, AnyPin, OutputType, Speed};
|
||||||
use crate::interrupt;
|
|
||||||
use crate::interrupt::typelevel::Interrupt;
|
use crate::interrupt::typelevel::Interrupt;
|
||||||
use crate::rcc::{self, RccPeripheral};
|
use crate::rcc::{self, RccPeripheral};
|
||||||
use crate::{peripherals, Peripheral};
|
use crate::{interrupt, peripherals, Peripheral};
|
||||||
use core::future::poll_fn;
|
|
||||||
use core::task::Poll;
|
|
||||||
use embassy_sync::waitqueue::AtomicWaker;
|
|
||||||
|
|
||||||
#[cfg(tsc_v1)]
|
#[cfg(tsc_v1)]
|
||||||
const TSC_NUM_GROUPS: u32 = 6;
|
const TSC_NUM_GROUPS: u32 = 6;
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
#![no_main]
|
#![no_main]
|
||||||
|
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
use embassy_stm32::{
|
use embassy_stm32::bind_interrupts;
|
||||||
bind_interrupts,
|
use embassy_stm32::tsc::{self, *};
|
||||||
tsc::{self, *},
|
|
||||||
};
|
|
||||||
use embassy_time::Timer;
|
use embassy_time::Timer;
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user