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
mspm0_clock.h
Go to the documentation of this file.
1
/*
2
* Copyright 2025 Texas Instruments Inc.
3
* Copyright 2025 Linumiz
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MSPM0_CLOCK_H
9
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MSPM0_CLOCK_H
10
11
#define MSPM0_CLOCK(clk, bit) ((clk << 8) | bit)
12
13
/* Peripheral clock source selection register mask */
14
#define MSPM0_CLOCK_PERIPH_REG_MASK(X) (X & 0xFF)
15
16
/* Clock references */
17
#define MSPM0_CLOCK_SYSOSC MSPM0_CLOCK(0x0, 0x0)
18
#define MSPM0_CLOCK_LFCLK MSPM0_CLOCK(0x1, 0x2)
19
#define MSPM0_CLOCK_MFCLK MSPM0_CLOCK(0x2, 0x4)
20
#define MSPM0_CLOCK_BUSCLK MSPM0_CLOCK(0x3, 0x8)
21
#define MSPM0_CLOCK_ULPCLK MSPM0_CLOCK(0x4, 0x8)
22
#define MSPM0_CLOCK_MCLK MSPM0_CLOCK(0x5, 0x8)
23
#define MSPM0_CLOCK_MFPCLK MSPM0_CLOCK(0x6, 0x0)
24
#define MSPM0_CLOCK_CANCLK MSPM0_CLOCK(0x7, 0x0)
25
#define MSPM0_CLOCK_CLK_OUT MSPM0_CLOCK(0x8, 0x0)
26
27
#endif
zephyr
dt-bindings
clock
mspm0_clock.h
Generated on Thu Jun 19 2025 18:06:52 for Zephyr API Documentation by
1.12.0