Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gd32-clocks-common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Teslabs Engineering S.L.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_GD32_COMMON_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_GD32_COMMON_H_
9
20#define GD32_CLOCK_CONFIG(reg, bit) \
21 (((GD32_ ## reg ## _OFFSET) << 6U) | (bit))
22
23#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_GD32_H_ */