Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
arm_clock_control.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Linaro Limited.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ARM_CLOCK_CONTROL_H_
14
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ARM_CLOCK_CONTROL_H_
15
16
#include <
zephyr/drivers/clock_control.h
>
17
23
25
enum
arm_bus_type_t
{
26
CMSDK_AHB
= 0,
27
CMSDK_APB
,
28
};
29
31
enum
arm_soc_state_t
{
32
SOC_ACTIVE
= 0,
33
SOC_SLEEP
,
34
SOC_DEEPSLEEP
,
35
};
36
38
struct
arm_clock_control_t
{
39
enum
arm_bus_type_t
bus
;
40
enum
arm_soc_state_t
state
;
41
uint32_t
device
;
42
};
43
45
46
#endif
/* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ARM_CLOCK_CONTROL_H_ */
clock_control.h
Main header file for clock control driver API.
arm_soc_state_t
arm_soc_state_t
CPU power state for which a clock can be configured.
Definition
arm_clock_control.h:31
arm_bus_type_t
arm_bus_type_t
CMSDK peripheral bus type.
Definition
arm_clock_control.h:25
SOC_SLEEP
@ SOC_SLEEP
Sleep state.
Definition
arm_clock_control.h:33
SOC_ACTIVE
@ SOC_ACTIVE
Active (run) state.
Definition
arm_clock_control.h:32
SOC_DEEPSLEEP
@ SOC_DEEPSLEEP
Deep sleep state.
Definition
arm_clock_control.h:34
CMSDK_APB
@ CMSDK_APB
APB peripheral bus.
Definition
arm_clock_control.h:27
CMSDK_AHB
@ CMSDK_AHB
AHB peripheral bus.
Definition
arm_clock_control.h:26
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
arm_clock_control_t
Clock control subsystem descriptor for ARM CMSDK SoCs.
Definition
arm_clock_control.h:38
arm_clock_control_t::state
enum arm_soc_state_t state
CPU state the clock setting applies to.
Definition
arm_clock_control.h:40
arm_clock_control_t::device
uint32_t device
Identifies the device on the bus.
Definition
arm_clock_control.h:41
arm_clock_control_t::bus
enum arm_bus_type_t bus
Peripheral bus the device sits on.
Definition
arm_clock_control.h:39
zephyr
drivers
clock_control
arm_clock_control.h
Generated on
for Zephyr API by
1.17.0