Line data Source code
1 0 : /*
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 0 : #define NO_FILTER 0
10 0 : #define FDIV1_N2 1
11 0 : #define FDIV1_N4 2
12 0 : #define FDIV1_N8 3
13 0 : #define FDIV2_N6 4
14 0 : #define FDIV2_N8 5
15 0 : #define FDIV4_N6 6
16 0 : #define FDIV4_N8 7
17 0 : #define FDIV8_N6 8
18 0 : #define FDIV8_N8 9
19 0 : #define FDIV16_N5 10
20 0 : #define FDIV16_N6 11
21 0 : #define FDIV16_N8 12
22 0 : #define FDIV32_N5 13
23 0 : #define FDIV32_N6 14
24 0 : #define FDIV32_N8 15
25 :
26 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_QDEC_STM32_H_ */
|