Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
it8xxx2_pwm.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 ITE Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_
8
9/* PWM prescaler references */
10#define PWM_PRESCALER_C4 1
11#define PWM_PRESCALER_C6 2
12#define PWM_PRESCALER_C7 3
13
14/* PWM channel references */
15#define PWM_CHANNEL_0 0
16#define PWM_CHANNEL_1 1
17#define PWM_CHANNEL_2 2
18#define PWM_CHANNEL_3 3
19#define PWM_CHANNEL_4 4
20#define PWM_CHANNEL_5 5
21#define PWM_CHANNEL_6 6
22#define PWM_CHANNEL_7 7
23
24#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_ */