Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
npcx_clock.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_
8
9/* clock bus references */
10#define NPCX_CLOCK_BUS_FREERUN 0
11#define NPCX_CLOCK_BUS_LFCLK 1
12#define NPCX_CLOCK_BUS_OSC 2
13#define NPCX_CLOCK_BUS_FIU 3
14#define NPCX_CLOCK_BUS_CORE 4
15#define NPCX_CLOCK_BUS_APB1 5
16#define NPCX_CLOCK_BUS_APB2 6
17#define NPCX_CLOCK_BUS_APB3 7
18#define NPCX_CLOCK_BUS_APB4 8
19#define NPCX_CLOCK_BUS_AHB6 9
20
21/* clock enable/disable references */
22#define NPCX_PWDWN_CTL1 0
23#define NPCX_PWDWN_CTL2 1
24#define NPCX_PWDWN_CTL3 2
25#define NPCX_PWDWN_CTL4 3
26#define NPCX_PWDWN_CTL5 4
27#define NPCX_PWDWN_CTL6 5
28#define NPCX_PWDWN_CTL7 6
29#define NPCX_PWDWN_CTL8 7
30#define NPCX_PWDWN_CTL_COUNT 8
31
32#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */