Zephyr Project API
3.2.0
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
#define NPCX_CLOCK_BUS_FMCLK 10
21
22
/* clock enable/disable references */
23
#define NPCX_PWDWN_CTL1 0
24
#define NPCX_PWDWN_CTL2 1
25
#define NPCX_PWDWN_CTL3 2
26
#define NPCX_PWDWN_CTL4 3
27
#define NPCX_PWDWN_CTL5 4
28
#define NPCX_PWDWN_CTL6 5
29
#define NPCX_PWDWN_CTL7 6
30
#define NPCX_PWDWN_CTL8 7
31
#define NPCX_PWDWN_CTL_COUNT 8
32
33
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */
include
zephyr
dt-bindings
clock
npcx_clock.h
Generated on Tue Feb 28 2023 15:43:18 for Zephyr Project API by
1.9.2