Line data Source code
1 0 : /* 2 : * Copyright (c) 2024 Renesas Electronics Corporation 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ 8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ 9 : 10 : /* PWM SOURCE DIVIDER */ 11 0 : #define RA_PWM_SOURCE_DIV_1 0 12 0 : #define RA_PWM_SOURCE_DIV_2 1 13 0 : #define RA_PWM_SOURCE_DIV_4 2 14 0 : #define RA_PWM_SOURCE_DIV_8 3 15 0 : #define RA_PWM_SOURCE_DIV_16 4 16 0 : #define RA_PWM_SOURCE_DIV_32 5 17 0 : #define RA_PWM_SOURCE_DIV_64 6 18 0 : #define RA_PWM_SOURCE_DIV_128 7 19 0 : #define RA_PWM_SOURCE_DIV_256 8 20 0 : #define RA_PWM_SOURCE_DIV_512 9 21 0 : #define RA_PWM_SOURCE_DIV_1024 10 22 : 23 : /* PWM SOURCE DIVIDER */ 24 0 : #define RA_PWM_CHANNEL_0 0 25 0 : #define RA_PWM_CHANNEL_1 1 26 0 : #define RA_PWM_CHANNEL_2 2 27 0 : #define RA_PWM_CHANNEL_3 3 28 0 : #define RA_PWM_CHANNEL_4 4 29 0 : #define RA_PWM_CHANNEL_5 5 30 0 : #define RA_PWM_CHANNEL_6 6 31 0 : #define RA_PWM_CHANNEL_7 7 32 0 : #define RA_PWM_CHANNEL_8 8 33 0 : #define RA_PWM_CHANNEL_9 9 34 0 : #define RA_PWM_CHANNEL_10 10 35 0 : #define RA_PWM_CHANNEL_11 11 36 0 : #define RA_PWM_CHANNEL_12 12 37 0 : #define RA_PWM_CHANNEL_13 13 38 : 39 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ */