Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpi_pico_clock.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Andrei-Edward Popa
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RPI_PICO_CLOCK_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RPI_PICO_CLOCK_H_
8
9
#define RPI_PICO_PLL_SYS 0
10
#define RPI_PICO_PLL_USB 1
11
#define RPI_PICO_PLL_COUNT 2
12
13
#define RPI_PICO_GPIN_0 0
14
#define RPI_PICO_GPIN_1 1
15
#define RPI_PICO_GPIN_COUNT 2
16
17
#define RPI_PICO_CLKID_CLK_GPOUT0 0
18
#define RPI_PICO_CLKID_CLK_GPOUT1 1
19
#define RPI_PICO_CLKID_CLK_GPOUT2 2
20
#define RPI_PICO_CLKID_CLK_GPOUT3 3
21
#define RPI_PICO_CLKID_CLK_REF 4
22
#define RPI_PICO_CLKID_CLK_SYS 5
23
#define RPI_PICO_CLKID_CLK_PERI 6
24
#define RPI_PICO_CLKID_CLK_USB 7
25
#define RPI_PICO_CLKID_CLK_ADC 8
26
#define RPI_PICO_CLKID_CLK_RTC 9
27
28
#define RPI_PICO_CLKID_PLL_SYS 10
29
#define RPI_PICO_CLKID_PLL_USB 11
30
#define RPI_PICO_CLKID_XOSC 12
31
#define RPI_PICO_CLKID_ROSC 13
32
#define RPI_PICO_CLKID_ROSC_PH 14
33
#define RPI_PICO_CLKID_GPIN0 15
34
#define RPI_PICO_CLKID_GPIN1 16
35
36
#define RPI_PICO_ROSC_RANGE_RESET 0xAA0
37
#define RPI_PICO_ROSC_RANGE_LOW 0xFA4
38
#define RPI_PICO_ROSC_RANGE_MEDIUM 0xFA5
39
#define RPI_PICO_ROSC_RANGE_HIGH 0xFA7
40
#define RPI_PICO_ROSC_RANGE_TOOHIGH 0xFA6
41
42
#define RPI_PICO_CLOCK_COUNT 10
43
44
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RPI_PICO_CLOCK_H_ */
zephyr
dt-bindings
clock
rpi_pico_clock.h
Generated on Sun Nov 24 2024 06:03:15 for Zephyr API Documentation by
1.12.0