Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
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
u
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
ambiq-apollo5-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Ambiq Micro Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef __APOLLO5_PINCTRL_H__
8
#define __APOLLO5_PINCTRL_H__
9
10
#define APOLLO5_ALT_FUNC_POS 0
11
#define APOLLO5_ALT_FUNC_MASK 0xf
12
13
#define APOLLO5_PIN_NUM_POS 4
14
#define APOLLO5_PIN_NUM_MASK 0xff
15
16
#define APOLLO5_PINMUX(pin_num, alt_func) \
17
(pin_num << APOLLO5_PIN_NUM_POS | \
18
alt_func << APOLLO5_ALT_FUNC_POS)
16
#define APOLLO5_PINMUX(pin_num, alt_func) \
…
19
20
#endif
/* __APOLLO5_PINCTRL_H__ */
zephyr
dt-bindings
pinctrl
ambiq-apollo5-pinctrl.h
Generated on Tue Jun 3 2025 12:05:51 for Zephyr API Documentation by
1.12.0