Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
3.5.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
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
stm32-pinctrl-common.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 Linaro Limited
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_STM32_PINCTRL_COMMON_H_
8
#define ZEPHYR_STM32_PINCTRL_COMMON_H_
9
14
#define STM32_PORTA 0
/* IO port A */
15
#define STM32_PORTB 1
/* .. */
16
#define STM32_PORTC 2
17
#define STM32_PORTD 3
18
#define STM32_PORTE 4
19
#define STM32_PORTF 5
20
#define STM32_PORTG 6
21
#define STM32_PORTH 7
22
#define STM32_PORTI 8
23
#define STM32_PORTJ 9
24
#define STM32_PORTK 10
/* IO port K */
25
26
#ifndef STM32_PORTS_MAX
27
#define STM32_PORTS_MAX (STM32_PORTK + 1)
28
#endif
29
33
#define STM32PIN(_port, _pin) \
34
(_port << 4 | _pin)
35
36
#endif
/* ZEPHYR_STM32_PINCTRL_COMMON_H_ */
zephyr
dt-bindings
pinctrl
stm32-pinctrl-common.h
Generated on Fri Oct 20 2023 10:27:12 for Zephyr API Documentation by
1.9.6