Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
mchp_xec_clock_control.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Microchip Technology Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
14
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
15
16
#include <
zephyr/drivers/clock_control.h
>
17
#include <
zephyr/dt-bindings/clock/mchp_xec_pcr.h
>
18
24
26
27
/*
28
* Set/clear Microchip XEC peripheral sleep enable.
29
* SoC layer contains the chip specific sleep index and positions
30
*/
31
int
z_mchp_xec_pcr_periph_sleep(
uint8_t
slp_idx,
uint8_t
slp_pos,
32
uint8_t
slp_en);
33
34
int
z_mchp_xec_pcr_periph_reset(
uint8_t
slp_idx,
uint8_t
slp_pos);
35
37
38
#if defined(CONFIG_PM)
45
void
mchp_xec_clk_ctrl_sys_sleep_enable(
bool
is_deep);
46
52
void
mchp_xec_clk_ctrl_sys_sleep_disable(
void
);
53
#endif
54
56
57
#endif
/* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_ */
clock_control.h
Main header file for clock control driver API.
mchp_xec_pcr.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
zephyr
drivers
clock_control
mchp_xec_clock_control.h
Generated on
for Zephyr API by
1.17.0