Zephyr Project API 3.7.0
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#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
7#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
8
11
12/*
13 * Set/clear Microchip XEC peripheral sleep enable.
14 * SoC layer contains the chip specific sleep index and positions
15 */
16int z_mchp_xec_pcr_periph_sleep(uint8_t slp_idx, uint8_t slp_pos,
17 uint8_t slp_en);
18
19int z_mchp_xec_pcr_periph_reset(uint8_t slp_idx, uint8_t slp_pos);
20
21#if defined(CONFIG_PM)
22void mchp_xec_clk_ctrl_sys_sleep_enable(bool is_deep);
23void mchp_xec_clk_ctrl_sys_sleep_disable(void);
24#endif
25
26#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_ */
Public Clock Control APIs.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88