Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpi-pico-rp2040-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, Yonatan Schachter
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RPI_PICO_RP2040_PINCTRL_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RPI_PICO_RP2040_PINCTRL_H_
9
10
#define RP2_PINCTRL_GPIO_FUNC_XIP 0
11
#define RP2_PINCTRL_GPIO_FUNC_GPCK 8
12
#define RP2_PINCTRL_GPIO_FUNC_USB 9
13
#define RP2_PINCTRL_GPIO_FUNC_NULL 0xf
14
15
#include "
rpi-pico-pinctrl-common.h
"
16
17
#define ADC_CH0_P26 RP2XXX_PINMUX(26, RP2_PINCTRL_GPIO_FUNC_NULL)
18
#define ADC_CH1_P27 RP2XXX_PINMUX(27, RP2_PINCTRL_GPIO_FUNC_NULL)
19
#define ADC_CH2_P28 RP2XXX_PINMUX(28, RP2_PINCTRL_GPIO_FUNC_NULL)
20
#define ADC_CH3_P29 RP2XXX_PINMUX(29, RP2_PINCTRL_GPIO_FUNC_NULL)
21
22
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_RPI_PICO_RP2040_PINCTRL_H_ */
rpi-pico-pinctrl-common.h
zephyr
dt-bindings
pinctrl
rpi-pico-rp2040-pinctrl.h
Generated on Sun Dec 29 2024 09:02:38 for Zephyr API Documentation by
1.12.0