Zephyr API Documentation
4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bee-pinctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026, Realtek Semiconductor Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_BEE_PINCTRL_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_BEE_PINCTRL_H_
9
14
16
#define BEE_FUN_POS 16U
18
#define BEE_FUN_MSK 0xFFFFU
20
#define BEE_PIN_POS 0U
22
#define BEE_PIN_MSK 0x7FFU
23
34
#define BEE_PSEL(fun, pin) \
35
(((((pin) & BEE_PIN_MSK) << BEE_PIN_POS) | (((BEE_##fun) & BEE_FUN_MSK) << BEE_FUN_POS)))
36
43
#define BEE_PSEL_DISCONNECTED(fun) \
44
(BEE_PIN_DISCONNECTED << BEE_PIN_POS | ((BEE_##fun & BEE_FUN_MSK) << BEE_FUN_POS))
45
46
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_BEE_PINCTRL_H_ */
zephyr
dt-bindings
pinctrl
bee-pinctrl.h
Generated on
for Zephyr API Documentation by
1.15.0