Zephyr API Documentation
3.6.0
A Scalable Open Source RTOS
3.6.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Modules
►
Data Structures
▼
Files
►
File List
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
#include <
zephyr/dt-bindings/dt-util.h
>
10
11
/* PWM prescaler references */
12
#define PWM_PRESCALER_C4 1
13
#define PWM_PRESCALER_C6 2
14
#define PWM_PRESCALER_C7 3
15
16
/* PWM channel references */
17
#define PWM_CHANNEL_0 0
18
#define PWM_CHANNEL_1 1
19
#define PWM_CHANNEL_2 2
20
#define PWM_CHANNEL_3 3
21
#define PWM_CHANNEL_4 4
22
#define PWM_CHANNEL_5 5
23
#define PWM_CHANNEL_6 6
24
#define PWM_CHANNEL_7 7
25
26
/*
27
* Provides a type to hold PWM configuration flags.
28
*
29
* The upper 8 bits are reserved for SoC specific flags.
30
* Output onpe-drain flag [ 8 ]
31
*/
32
#define PWM_IT8XXX2_OPEN_DRAIN BIT(8)
33
34
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_ */
dt-util.h
zephyr
dt-bindings
pwm
it8xxx2_pwm.h
Generated on Sat Feb 24 2024 03:45:05 for Zephyr API Documentation by
1.9.6