Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rv32m1-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
3
* Copyright (c) 2022 NXP
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef _ZEPHYR_DT_BINDINGS_PINCTRL_RV32M1_PINCTRL_
8
#define _ZEPHYR_DT_BINDINGS_PINCTRL_RV32M1_PINCTRL_
9
17
#define RV32M1_MUX(port, pin, mux) \
18
(((((port) - 'A') & 0xF) << 28) | \
19
(((pin) & 0x3F) << 22) | \
20
(((mux) & 0x7) << 8))
21
22
#endif
/* _ZEPHYR_DT_BINDINGS_PINCTRL_RV32M1_PINCTRL_ */
zephyr
dt-bindings
pinctrl
rv32m1-pinctrl.h
Generated on Fri Nov 22 2024 21:03:24 for Zephyr API Documentation by
1.12.0