Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ra_pwm.h
Go to the documentation of this file.
1/*
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#define RA_PWM_SOURCE_DIV_1 0
12#define RA_PWM_SOURCE_DIV_2 1
13#define RA_PWM_SOURCE_DIV_4 2
14#define RA_PWM_SOURCE_DIV_8 3
15#define RA_PWM_SOURCE_DIV_16 4
16#define RA_PWM_SOURCE_DIV_32 5
17#define RA_PWM_SOURCE_DIV_64 6
18#define RA_PWM_SOURCE_DIV_128 7
19#define RA_PWM_SOURCE_DIV_256 8
20#define RA_PWM_SOURCE_DIV_512 9
21#define RA_PWM_SOURCE_DIV_1024 10
22
23/* PWM SOURCE DIVIDER */
24#define RA_PWM_CHANNEL_0 0
25#define RA_PWM_CHANNEL_1 1
26#define RA_PWM_CHANNEL_2 2
27#define RA_PWM_CHANNEL_3 3
28#define RA_PWM_CHANNEL_4 4
29#define RA_PWM_CHANNEL_5 5
30#define RA_PWM_CHANNEL_6 6
31#define RA_PWM_CHANNEL_7 7
32#define RA_PWM_CHANNEL_8 8
33#define RA_PWM_CHANNEL_9 9
34#define RA_PWM_CHANNEL_10 10
35#define RA_PWM_CHANNEL_11 11
36#define RA_PWM_CHANNEL_12 12
37#define RA_PWM_CHANNEL_13 13
38
39#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_RA_PWM_H_ */