/* * Copyright (c) 2024 Renesas Electronics Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ #define ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ /* PWM SOURCE DIVIDER */ #define RA_PWM_SOURCE_DIV_1 0 #define RA_PWM_SOURCE_DIV_2 1 #define RA_PWM_SOURCE_DIV_4 2 #define RA_PWM_SOURCE_DIV_8 3 #define RA_PWM_SOURCE_DIV_16 4 #define RA_PWM_SOURCE_DIV_32 5 #define RA_PWM_SOURCE_DIV_64 6 #define RA_PWM_SOURCE_DIV_128 7 #define RA_PWM_SOURCE_DIV_256 8 #define RA_PWM_SOURCE_DIV_512 9 #define RA_PWM_SOURCE_DIV_1024 10 /* PWM SOURCE DIVIDER */ #define RA_PWM_CHANNEL_0 0 #define RA_PWM_CHANNEL_1 1 #define RA_PWM_CHANNEL_2 2 #define RA_PWM_CHANNEL_3 3 #define RA_PWM_CHANNEL_4 4 #define RA_PWM_CHANNEL_5 5 #define RA_PWM_CHANNEL_6 6 #define RA_PWM_CHANNEL_7 7 #define RA_PWM_CHANNEL_8 8 #define RA_PWM_CHANNEL_9 9 #define RA_PWM_CHANNEL_10 10 #define RA_PWM_CHANNEL_11 11 #define RA_PWM_CHANNEL_12 12 #define RA_PWM_CHANNEL_13 13 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ */