Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
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
18
24
26
27/*
28 * Set/clear Microchip XEC peripheral sleep enable.
29 * SoC layer contains the chip specific sleep index and positions
30 */
31int z_mchp_xec_pcr_periph_sleep(uint8_t slp_idx, uint8_t slp_pos,
32 uint8_t slp_en);
33
34int z_mchp_xec_pcr_periph_reset(uint8_t slp_idx, uint8_t slp_pos);
35
37
38#if defined(CONFIG_PM)
45void mchp_xec_clk_ctrl_sys_sleep_enable(bool is_deep);
46
52void mchp_xec_clk_ctrl_sys_sleep_disable(void);
53#endif
54
56
57#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_ */
Main header file for clock control driver API.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88