Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
kinetis_scg.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Vestas Wind Systems A/S
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SCG_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SCG_H_
9
10/* SCG system oscillator mode */
11#define KINETIS_SCG_SOSC_MODE_EXT 0U
12#define KINETIS_SCG_SOSC_MODE_LOW_POWER 4U
13#define KINETIS_SCG_SOSC_MODE_HIGH_GAIN 12U
14
15/* SCG clock controller clock names */
16#define KINETIS_SCG_CORESYS_CLK 0U
17#define KINETIS_SCG_BUS_CLK 1U
18#define KINETIS_SCG_FLEXBUS_CLK 2U
19#define KINETIS_SCG_FLASH_CLK 3U
20#define KINETIS_SCG_SOSC_CLK 4U
21#define KINETIS_SCG_SIRC_CLK 5U
22#define KINETIS_SCG_FIRC_CLK 6U
23#define KINETIS_SCG_SPLL_CLK 7U
24#define KINETIS_SCG_SOSC_ASYNC_DIV1_CLK 8U
25#define KINETIS_SCG_SOSC_ASYNC_DIV2_CLK 9U
26#define KINETIS_SCG_SIRC_ASYNC_DIV1_CLK 10U
27#define KINETIS_SCG_SIRC_ASYNC_DIV2_CLK 11U
28#define KINETIS_SCG_FIRC_ASYNC_DIV1_CLK 12U
29#define KINETIS_SCG_FIRC_ASYNC_DIV2_CLK 13U
30#define KINETIS_SCG_SPLL_ASYNC_DIV1_CLK 14U
31#define KINETIS_SCG_SPLL_ASYNC_DIV2_CLK 15U
32
33#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SCG_H_ */