We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182b5db commit a86d466Copy full SHA for a86d466
src/lib.rs
@@ -154,7 +154,7 @@ pub mod qspi;
154
#[cfg(any(feature = "stm32f765", feature = "stm32f767", feature = "stm32f769"))]
155
pub mod adc;
156
157
-#[cfg(any(feature = "stm32f765", feature = "stm32f767", feature = "stm32f769"))]
+#[cfg(any(feature = "stm32f767", feature = "stm32f769"))]
158
pub mod qei;
159
160
#[cfg(feature = "ltdc")]
src/qei.rs
@@ -1,8 +1,12 @@
1
//! Quadrature Encoder Interface API
2
3
use crate::rcc::APB1;
4
+#[cfg(feature = "stm32f767")]
5
use stm32f7::stm32f7x7::{TIM2, TIM3, TIM4, TIM5};
6
7
+#[cfg(feature = "stm32f769")]
8
+use stm32f7::stm32f7x9::{TIM2, TIM3, TIM4, TIM5};
9
+
10
#[derive(Debug)]
11
pub enum Direction {
12
Upcounting,
0 commit comments