Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
qdec_stm32.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 Valerio Setti <vsetti@baylibre.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_QDEC_STM32_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_QDEC_STM32_H_
8
9#define NO_FILTER 0
10#define FDIV1_N2 1
11#define FDIV1_N4 2
12#define FDIV1_N8 3
13#define FDIV2_N6 4
14#define FDIV2_N8 5
15#define FDIV4_N6 6
16#define FDIV4_N8 7
17#define FDIV8_N6 8
18#define FDIV8_N8 9
19#define FDIV16_N5 10
20#define FDIV16_N6 11
21#define FDIV16_N8 12
22#define FDIV32_N5 13
23#define FDIV32_N6 14
24#define FDIV32_N8 15
25
26#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_QDEC_STM32_H_ */