Line data Source code
1 0 : /* 2 : * Copyright (c) 2022 Georgij Cernysiov 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_TIMER_STM32_TIMER_H_ 8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_TIMER_STM32_TIMER_H_ 9 : 10 : /* Timer countermode values */ 11 0 : #define STM32_TIM_COUNTERMODE_UP 0x00000000U 12 0 : #define STM32_TIM_COUNTERMODE_DOWN 0x00000010U 13 0 : #define STM32_TIM_COUNTERMODE_CENTER_DOWN 0x00000020U 14 0 : #define STM32_TIM_COUNTERMODE_CENTER_UP 0x00000040U 15 0 : #define STM32_TIM_COUNTERMODE_CENTER_UP_DOWN 0x00000060U 16 : 17 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_TIMER_STM32_TIMER_H_ */